Closed XJTLUmedia closed 1 month ago
Describe the bug A clear and concise description of what the bug is.
from finrl.plot import backtest_stats, backtest_plot, get_daily_return, get_baseline print("==============Compare to DJIA===========") %matplotlib inline # S&P 500: ^GSPC # Dow Jones Index: ^DJI # NASDAQ 100: ^NDX backtest_plot(df_account_value, baseline_ticker = '^DJI', baseline_start = df_account_value.loc[0,'date'], baseline_end = df_account_value.loc[len(df_account_value)-1,'date'])
To Reproduce Steps to reproduce the behavior:
the backtest_plot got error when running on google colab
Expected behavior No error should be happened, it should not conflict with pandas version
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.
I saw it get fixed. Sorry for bothering. Nvm
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
the backtest_plot got error when running on google colab
Expected behavior No error should be happened, it should not conflict with pandas version
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.