Skip to content

suryasashankgundepudi/Pairs_Trading

Repository files navigation

Pairs Trading

image

About the Project

Statistical Arbitrage or StatArb “is a class of short-term financial trading strategies that employ mean reversion models involving broadly diversified portfolios of securities (hundreds to thousands) held for short periods of time (generally seconds to days). A pairs trade is a trading strategy that involves matching a long position with a short position in two stocks with a high correlation.

Within this project I explored the financial sector for any pairs available in the US market. I then created trading signals and the backtested the code to find the CAGR of the trades.

Methodology Followed

image

Notebooks

  1. Extracting Data
  2. Correllated and Cointegrated Pairs
  3. Performing OLS and Checking for Stationarity on Spread
  4. Creating Trading Signals on Price Ratio
  5. Backtesting results

Further Developments

  1. Though we do have the CAGR I would like to explore and create some plots for the benchmark and cummilative returns and also look at some underwater plots.

About

Pairs Trading Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published