Hi! Is there any example or usage direction for cryptocurrency trading? #490
Replies: 4 comments 11 replies
-
https://github.com/AI4Finance-Foundation/FinRL-Meta/blob/master/Demo_MultiCrypto_Trading.ipynb |
Beta Was this translation helpful? Give feedback.
-
Corresponding YT video (also produced by us) |
Beta Was this translation helpful? Give feedback.
-
Thanks for all the replies! However, this notebook doesn't seem to work on my colab. It seems these two lines don't work:
leading to failure here:
where it says: Is there any other way to make this work as a library instead of cloning these two repos and change corresponding imports? |
Beta Was this translation helpful? Give feedback.
-
Hey I struggled with this for a bit as well and the new functions are in a subfolder called train on ElegantRL (follow this link and see the structure): https://github.com/AI4Finance-Foundation/ElegantRL/tree/master/elegantrl First clone ElegantRL in your FinRL-Meta workspace:
They used to be in a folder above so what you have to do in the Python file:
Change the following lines:
into:
Ok, now we get a new error, which indicates that 'SharePPO' is not present in the 'elegantrl.agents.net', which is true. Therefore, I removed those imports which do not exist.
Finally, for some reason two packages are missing after that, so to the installation cell I added:
And then it worked! Should merge this into a pull request soon. Thank you |
Beta Was this translation helpful? Give feedback.
-
As title, thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions