We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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)`
The text was updated successfully, but these errors were encountered:
i meet the same issue, may i know any update for this?
File "xxx/FinRL/finrl/test.py", line 53, in test episode_total_assets = DRLAgent_erl.DRL_prediction( TypeError: DRLAgent.DRL_prediction() missing 1 required positional argument: 'env_args'
Sorry, something went wrong.
Problem found: mising one parameter just add env_args = env_config to
env_args = env_config
DRLAgent_erl.DRL_prediction( model_name=model_name, cwd=cwd, net_dimension=net_dimension, environment=env_instance, env_args = env_config )
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: