notadamking/RLTrader
在 GitHub 查看Allow user-defined prediction models to replace SARIMAX with LSTM, FB Prophet, etc.
Open
#15 建立於 2019年6月7日
enhancementgood first issuehelp wantedquestion
倉庫指標
- Star
- (1,592 star)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
Instead of using the SARIMAX model's predictions to be fed as a feature / observation into the agent at every time step, maybe using the predictions of a separately trained LSTM may perform better. I've found that LSTM's trained on stationary time series usually perform ok, in that their prediction "direction" (up or down) is generally correct. Also, the slope (change in log returns with respect to time) of the LSTM prediction can be used as an additional input feature as an indicator for the severity of the predicted change (will the price jump up or down suddenly?).