In [6]:
import pandas as pd
import matplotlib.pyplot as plt
%matplotlib inline
In [10]:
perf = pd.read_pickle('./results.pickle') # read in perf DataFrame
perf.head()
Out[10]:
In [11]:
ax1 = plt.subplot(211)
perf.portfolio_value.plot(ax=ax1)
ax1.set_ylabel('portfolio value')
ax2 = plt.subplot(212, sharex=ax1)
perf.ETH.plot(ax=ax2)
ax2.set_ylabel('ETH stock price')
Out[11]:
In [ ]: