AI4Finance-Foundation / AI4Finance-Foundation/FinRL

FinRL_PaperTrading_Demo packages out of sync with ElegantRL

Offen
#679 10 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug good first issue
Vorherrschende Sprache
Jupyter Notebook
Sterne
16.3k
Forks
3.5k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Description**
When running train fn in FinRL_PaperTrading_Demo, ElegantRL Train function is called, but it gets an error:

> [/usr/local/lib/python3.7/dist-packages/finrl/agents/elegantrl/models.py](https://solhv4aagc-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20220713-060046-RC00_460676560#) in get_model(self, model_name, model_kwargs)
61 if model_name not in MODELS:
62 raise NotImplementedError("NotImplementedError")
---> 63 model = Arguments(agent=agent, env=env)
64 model.if_off_policy = model_name in OFF_POLICY_MODELS
65 if model_kwargs is not None:

`TypeError: __init__() got an unexpected keyword argument 'agent'`.

When this issue was patched locally, other issues arose. This seems to be due to some package misalignments with newer commits.

Is there a way to use the older version of ElegantRL to rerun the notebook without issues?

**To Reproduce**
Steps to reproduce the behavior:
1. Run FinRL_PaperTrading_Demo in Colab

Thanks !!

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.