AI4Finance-Foundation / AI4Finance-Foundation/FinRL-Meta

TypeError: 'CryptoEnv' object is not callable

オープン
#216 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug good first issue
主要言語
Python
スター
1.9k
フォーク
751
PR マージ指標
30日以内にマージされた PR はありません

説明

I tried a re-implementation of the multicrypto trading notebook and got TypeError: 'CryptoEnv' object is not callable, as was the case in the notebook.

Are there any workarounds/solutions yet?

Environment: Google colab.

Below is my output:

```

binance successfully connected
Using cached file ./cache/BTCUSDT_ETHUSDT_XRPUSDT_ADAUSDT_binance_2021-09-01_2021-09-02_5m.pickle
tech_indicator_list: ['macd', 'rsi', 'cci', 'dx']
indicator: macd
indicator: rsi
indicator: cci
indicator: dx
Succesfully add technical indicators
Successfully transformed into array
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
[](https://localhost:8080/#) in
36 break_step=5e4,
37 startingCapital = 1e4,
---> 38 if_vix = False
39 )
40

1 frames
[/FinRL-Meta/agents/elegantrl_models.py](https://localhost:8080/#) in get_model(self, model_name, model_kwargs)
51 "if_train": True,
52 }
---> 53 env = self.env(config=env_config)
54 env.env_num = 1
55 agent = MODELS[model_name]

TypeError: 'CryptoTradingEnv' object is not callable
```

Please let me know if you need any additional information

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。