AI4Finance-Foundation / AI4Finance-Foundation/FinRL

run_ensemble_strategy: DRL_prediction() got unexpected keyword argument

Đang mở
#198 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Jupyter Notebook
Star
16.3k
Fork
3.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hello Everybody,
thank you for your amazing work and contributions.
May I ask for your humble assistance with following challenge:

When running the notebook: FINRL_ensemble_strock_trading_ICAIF_2020, i get following error:

![image](https://user-images.githubusercontent.com/47542531/112725432-80556800-8f18-11eb-8de9-cb0b3a90bc99.png)

When checking the method in the repo, it appears RL_prediction accepts 2 arguments, "model" and "environement":

![image](https://user-images.githubusercontent.com/47542531/112725506-f2c64800-8f18-11eb-9532-5d75c2a3a4ee.png)

While it is called at the end of the method run_ensemble_strategy with following parameters (I omitted the name variable in the screenshot above in an first attempt of bugfixing):

![image](https://user-images.githubusercontent.com/47542531/112725601-56507580-8f19-11eb-866d-2d67f9440256.png)

Is there something I am missing here, or any adaptions I should make in the code in order to get it to run?
Please kindly assist in finding a solution, thanks and best

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.