pythonlessons / RL-Bitcoin-trading-bot

Trying to create Reinforcement Learning powered Bitcoin trading bot
MIT License
383 stars 204 forks source link

buy and sell placed on same day when visualizing #20

Closed HoaxParagon closed 2 years ago

HoaxParagon commented 2 years ago

not sure if it's a graphical error or not but the red and green buy/sell markers end up being placed on the same candlestick for me. I've been through the code and it doesn't seem like that should be possible.

HoaxParagon commented 2 years ago

Found out that it was an issue where the model would buy with 0 quantity.