AI4Finance-Foundation / FinRL-Meta

FinRL­-Meta: Dynamic datasets and market environments for FinRL.
https://ai4finance.org
MIT License
1.17k stars 556 forks source link

FinRL_MultiCrypto_Trading example not working due to import error on from agents.elegantrl_models import DRLAgent as DRLAgent_erl #291

Open roboalex2 opened 1 year ago

roboalex2 commented 1 year ago

Hi, i am completely new to the world of FinRL and basically just started playing around.

I just tried to run the FinRL-Tutorial Notebook of FinRL_MultiCrypto_Trading. There i run into an import error caused by from agents.elegantrl_models import DRLAgent as DRLAgent_erl

In FinRL-Meta/agents/elegantrl_models.py i saw that you try to import from elegantrl.train.config import Arguments

Arguments was sadly removed from ElegantRL in the commit: 003572d9

Some Pics: image image

Then i tried to resolve this by using commit 03db5bdda409d0b4ce2705340dd5e9be3fd090ee of ElegantRL (before the change). Just to run into a similar issue with rllib... (I just removed that one from the example though. ) image