Notebook

Quality Companies in an Uptrend (original by Chris Cane) Leverage

In [3]:
cum_returns = ep.cum_returns(returns)
ax = cum_returns.plot(figsize=(14,5))
ax.set(title='Cumulative Returns', ylabel='returns', xlabel='date');
In [8]:
ax = bt.recorded_vars.plot(figsize=(14,5))
ax.set(title='Leverage', xlabel='date');
In [ ]: