In [2]:
import pyfolio as pf
%matplotlib inline
# silence warnings
import warnings
warnings.filterwarnings('ignore')
In [3]:
stock_rets = pf.utils.get_symbol_rets('FB')
In [4]:
pf.create_returns_tear_sheet(stock_rets, live_start_date='2015-12-1')
In [ ]: