Final year project at HKUST. We tested 3 main approaches for performing Pairs Trading:
- distance method
- cointegration method (rolling OLS, Kalman Filter)
- reinforcement learning agent (proposed)
FYP members: myself, Gordon, Brendan
- Run
./setup.sh
to install all dependencies
- In our experiments, we used financial data taken from the Interactive Brokers platform, which is not free. Due to their regulations, we cannot release the financial data used in our experiments to the public. Feel free to use your own price data to perform experiments.
- The strategies we implemented have not been proven to be profitable in a live trading account
- The reported returns are purely from backtesting procedures, and they may be susceptible to lookahead bias that we are not aware of
- We're no longer developing this, check out Yuri's findings regarding the RL agent