You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i got an error, TypeError: tuple indices must be integers or slices, not tuple, it seems happen in
agent.states = env.reset()[np.newaxis, :]
i want to know why
The text was updated successfully, but these errors were encountered:
when i run /Paper Trading/Automated_Paper_Trading.ipynb
train(start_date = '2022-08-30',
end_date = '2022-09-08',
ticker_list = ticker_list,
data_source = 'alpaca',
time_interval= '1Min',
technical_indicator_list= INDICATORS,
drl_lib='elegantrl',
env=env,
model_name='ppo',
API_KEY = API_KEY,
API_SECRET = API_SECRET,
API_BASE_URL = API_BASE_URL,
erl_params=ERL_PARAMS,
cwd='./papertrading_erl', #current_working_dir
break_step=2e5)
i got an error, TypeError: tuple indices must be integers or slices, not tuple, it seems happen in
agent.states = env.reset()[np.newaxis, :]
i want to know why
The text was updated successfully, but these errors were encountered: