Notebook

Quality Companies in an Uptrend order_optimal_portfolio() Levarage

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 [6]:
ax = bt.recorded_vars.plot(figsize=(14,5))
ax.set(title='Levarage', xlabel='date');
In [ ]: