Skip to content

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

@m0at

Description

@m0at

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions