AminHP / gym-anytrading

The most simple, flexible, and comprehensive OpenAI Gym trading environment (Approved by OpenAI Gym)
MIT License
2.09k stars 459 forks source link

State and total profit #67

Closed DaniilKardava closed 2 years ago

DaniilKardava commented 2 years ago

Apparently passing state when making predictions takes into account the total profit. If i change the function for total profit when evaluating ill get different results. How is this happening, I don't see any reference to state in the source code. - Thanks. edit: its actually a variable i added that was changing the trade in the env.