TradingGym icon indicating copy to clipboard operation
TradingGym copied to clipboard

AttributeError: 'trading_env' object has no attribute 'backtest_done'

Open irvineAlgotrading opened this issue 6 years ago • 0 comments

Hey! Great project, really excited about it but having a small problem.

Can't run the agent, env.backtest is causing a problem, so in the trading_env.make function I added the parameter backtest=1, and now the backtest_done is popping up as having to attribute.

This seems to be a problem with threading, from what I can read online.

Has anyone had success beyond the point of this error? Is it a package version I can downgrade?

Attached my notebook. trading-gym-andy.zip

no matter what I add to trading_env.make, including backtest_done=0 or 1, it fails to see it as an attribute... wtf!

irvineAlgotrading avatar Jul 15 '19 02:07 irvineAlgotrading