# https://www.quantopian.com/posts/long-short-pipeline-multi-factor
backtest = get_backtest('5627b09e3dfd591120ebdc71')
import pyfolio as pf
pf.plotting.plot_drawdown_periods(backtest.daily_performance.returns)
pf.plotting.plot_drawdown_underwater(backtest.daily_performance.returns)