Open lcavalie opened 1 year ago
A new version of the paper trading notebook was added. Please check it out.
I still have to test this but it is very likely to fix the problem. The code of this notebook was completely off and significantly different from the similarly named notebook in FinRL-meta. Now the 2 are aligned similar. I found a bug in the FinRl-meta notebook that is corrected in this newly updated notebook in FinRL. I will report it in FinRL-meta later on after more testing. Thanks for the update.
When using FinRL_PaperTrading_Demo on a brand new installation (Python 3.9.13) the notebook crashes at the training step.
the following error happens
This happens without changing any parameter, just the plain notebook as downloaded from the site. Not sure if the error is in ElegantRL or int he parameters passed to train the agent. update_times is at 0 because buffer_size=32 self.repeat_times=1 and self.batch_size=2048 when the error happens
This can be reproduced by just running the notebook. Same thing happens on Mac M1 and on ubuntu (aarch64)
After further investigation the same issue is also present in other notebooks, for example FinRL_Compare_ElegantRL_RLlib_Stablebaseline3 exhibit the exact same error message, so I suspect it's related to ElegantRL somehow)