AI4Finance-Foundation/ElegantRL

none of your example works...

Opened this issue · 1 comments

Traceback (most recent call last):
File "C:*\marco\Desktop\Stock_invester\model_trainer.py", line 14, in
from finrl.agents.elegantrl.models import DRLAgent as DRLAgent_erl
File "C:\Users*
\AppData\Local\miniconda3\envs\Stock_invester\lib\site-packages\finrl\agents\elegantrl\models.py", line 11, in
from elegantrl.train.config import Arguments
ImportError: cannot import name 'Arguments' from 'elegantrl.train.config' (C:\Users***\AppData\Local\miniconda3\envs\Stock_invester\lib\site-packages\elegantrl\train\config.py)

ImportError: cannot import name 'Arguments' from 'elegantrl.train.config'

Change Arguments to Config can fix this error.

form elegantrl.train.config import Arguments
args = Arguemtns(...)

form elegantrl.train.config import Config
args = Config(...)