Skip to content

We tested 3 approaches for Pair Trading: distance, cointegration and reinforcement learning approach.

License

Notifications You must be signed in to change notification settings

fengster123/pairstrade-fyp-2019

 
 

Repository files navigation

pairstrade-fyp-2019

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)

Final report can be found here. Presentation slides can be found here.

FYP members: myself, Gordon, Brendan

How to get started?

  • Run ./setup.sh to install all dependencies

Note

  • 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.

Disclaimer

  • 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

About

We tested 3 approaches for Pair Trading: distance, cointegration and reinforcement learning approach.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%