pyfolio
pyfolio copied to clipboard
underwater function not checking whether there actually is a recovery from a drawdown
(moved over From quantnotebooks)
E.g. expression to reproduce:
df_rets, df_pos, df_txn = get_and_analyze_algo('54c90d32896ec780f20003b5', contest='MEGARUN_1',plot_risk_factors=False, plot_volatility_betas=False)

@justinlent Can you check whether that fixes the problem?