dmackenz / Keras-Neuro-Evolution-Trading-Bot-Skeleton

A skeleton for creating a neuro-evolution reinforcement learning trading bot with a Keras neural network.
98 stars 34 forks source link

Can you integrate a backtesting framework such as zipline or backtrader to simulate the trading? #6

Open djoffrey opened 6 years ago

dmackenz commented 6 years ago

You most likely could, all of the "backtesting" in terms of how much profit the bot is making is established via the wallet class. You could look through the code and see everywhere that the wallet class is referenced and replace it with a backtesting framework. You will also need to derive the reinforcement learning reward from your backtesting framework (currently this is % profit per season).