hugocen / freqtrade-gym

A customized gym environment for developing and comparing reinforcement learning algorithms in crypto trading.
GNU General Public License v3.0
220 stars 46 forks source link

Adding Trade Information to the observation space #16

Open Hsgngr opened 3 years ago

Hsgngr commented 3 years ago

Hi I saw that you created the trading_status however you didnt add that to the observation list. Is there a way to add that on to the observation list ?

hugocen commented 3 years ago

Good idea. I think the easiest way is to add them into _next_observation function. Into the obs object here

evo11x commented 2 years ago

The trade status also needs to be added to backtesting which needs a callback function