Macro analysis of the Bitcoin blockchain
August 2017

The number of unconfirmed transactions on the Bitcoin blockchain spiked in May 2017. Attempting to identify why led to an analysis of several key performance metrics for the network

In [1]:
from IPython.display import HTML
function code_toggle() {
 if (code_show){
 } else {
 code_show =! code_show
$( document ).ready(code_toggle);

<font> This analysis was made using Python. If you'd like to see the code used, click <a href="javascript:code_toggle()">here</a>.</font>
This analysis was made using Python. If you’d like to see the code used, click here.
In [2]:
## Steup - libraries
import quandl
import matplotlib.pyplot as plt
import pandas as pd
import datetime as dt
import numpy as np
import credentials # keep my quandl and api keys private

import plotly.plotly as py
import plotly
#from plotly.graph_objs import Scatter, Layout
import plotly.graph_objs as go
#from plotly.graph_objs import *
In [3]:
## Setup - appearance
# get rid of the annoying 'SettingWithCopy' warning
pd.options.mode.chained_assignment = None # default='warn'

# more than one print of an unassigned variable
from IPython.core.interactiveshell import InteractiveShell;
InteractiveShell.ast_node_interactivity = "all";

# offline plotly

color1 = '#137a28' # dark green
color2 = '#b3d1b9' # light transparent green