This project is built on the top of https://github.com/happynoom/DeepTrade_keras/, thanks to @happynoom for his code and help.
Some of the added features are:
- In the feature extraction part, the features are not stored using many loops, but instead storing them into .npy files, which is much faster.
- Added the part to automatically test all the stock indices data.
- Added the script to do some basic backtesting by using
ffn
module, e.g., plot the cumulative return lines, calculating performance data and save them to local files. - Fetch in more data from
tushare
module to backtest the more recent dataset. - Added the code to compare the signals generated by using the market data 3 minutes before close time with the market data just after close time, because you can't actually trade with the close price after the market closed, and you have to count in the time it spent to generate signals.
Not all files are uploaded yet, some features files that I have extracted are just too large to upload( larger than 25M), thus you have to extract the features by yourself.