AI4Finance-Foundation / AI4Finance-Foundation/FinRL

TypeError: DRLAgent.DRL_prediction() missing 1 required positional argument: 'env_args'

Đang mở
#1,196 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
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ả

When I tested with this finrl, I encountered a problem with missing parameters. Can the test cases in Frinl still be used? Do you need improvement?

` if options.mode =="test":
from finrl import test
from finrl import train

env = StockTradingEnv

#ELEgantrl
kwargs={'method': 'GET', 'url': 'https://apidojo-yahoo-finance-v1.p.rapidapi.com/auto-complete', 'params': { 'q': 'tesla', 'region': 'US' }, 'headers': { 'X-RapidAPI-Key': 'c74c8437ffmshd98594af221767dp1b31ebjsnfbf6d6a8b695', 'X-RapidAPI-Host': 'apidojo-yahoo-finance-v1.p.rapidapi.com' }}

account_value_erl = test(start_date=TEST_START_DATE,
end_date=TEST_END_DATE,
ticker_list=DOW_30_TICKER,
data_source="yahoofinance",
time_interval="1D",
technical_indicator_list=INDICATORS,
drl_lib="elegantrl",
env=env,
model_name="ppo",
cwd="./test_ppo",
net_dimension=512,
kwargs=kwargs)`

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.