notadamking/RLTrader

Allow user-defined prediction models to replace SARIMAX with LSTM, FB Prophet, etc.

Open

#15 opened on Jun 7, 2019

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Python (535 forks)batch import
enhancementgood first issuehelp wantedquestion

Repository metrics

Stars
 (1,592 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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?).

Contributor guide