Pairs Trading Using a Novel Graphical Matching Approach (2403.07998v1)
Abstract: Pairs trading, a strategy that capitalizes on price movements of asset pairs driven by similar factors, has gained significant popularity among traders. Common practice involves selecting highly cointegrated pairs to form a portfolio, which often leads to the inclusion of multiple pairs sharing common assets. This approach, while intuitive, inadvertently elevates portfolio variance and diminishes risk-adjusted returns by concentrating on a small number of highly cointegrated assets. Our study introduces an innovative pair selection method employing graphical matchings designed to tackle this challenge. We model all assets and their cointegration levels with a weighted graph, where edges signify pairs and their weights indicate the extent of cointegration. A portfolio of pairs is a subgraph of this graph. We construct a portfolio which is a maximum weighted matching of this graph to select pairs which have strong cointegration while simultaneously ensuring that there are no shared assets within any pair of pairs. This approach ensures each asset is included in just one pair, leading to a significantly lower variance in the matching-based portfolio compared to a baseline approach that selects pairs purely based on cointegration. Theoretical analysis and empirical testing using data from the S&P 500 between 2017 and 2023, affirm the efficacy of our method. Notably, our matching-based strategy showcases a marked improvement in risk-adjusted performance, evidenced by a gross Sharpe ratio of 1.23, a significant enhancement over the baseline value of 0.48 and market value of 0.59. Additionally, our approach demonstrates reduced trading costs attributable to lower turnover, alongside minimized single asset risk due to a more diversified asset base.
- Lee J.H. Avellaneda M. Statistical arbitrage in the us equities market. Journal of Derivatives and Hedge Funds, 2010.
- Béla Bollobás. Random Graphs. Cambridge University Press, Cambridge, 2 edition, 2001.
- et. al. Botha. Trading strategies with copulas. Quantitative Finance, 2013.
- Jaehyung Choi. Maximum drawdown, recovery, and momentum. Journal of Risk and Financial Management, 14(11):542, 2021.
- Bucca A. Cummins M. Quantitative spread trading on crude oil and refined products markets. Quantitative Finance, 2012.
- Are pairs trading profits robust to trading costs? Journal of Financial Research, 35(2):261–287, 2012.
- Jack Edmonds. Paths, trees, and flowers. Canadian Journal of mathematics, 17:449–467, 1965.
- et al. Elliott R.J. Pairs trading. Quantitative Finance, 5:271–276, 2004.
- W. Enders. Cointegration and error-correction models. Wiley, 2004.
- Z. Galil. Efficient algorithms for finding maximum matching in graphs. ACM Computing Surveys, 1986.
- Rouwenhorst K.G. Gatev E., Goetzmann W.N. Pairs trading: Performance of a relative value arbitrage rule. The Review of Financial Studies, 2006.
- Qureshi GitHub. Github. https://github.com/kai-trading-bot/pair/, 2023. Accessed: 2023-04-30.
- Santa Clara P. Goyal A. Idiosyncratic risk matters! Journal of Finance, 2003.
- Kahn R.N. Grinold R. Active Portfolio Management. McGraw-Hill, 2000.
- Huck. Pairs selection and outranking: An application to the s and p 100 index. European Journal of Operational Research, 2009.
- Afawubo K. Huck N. Pairs trading and selection methods: is cointegration superior? Applied Economics, 2015.
- P. Jaccard. Étude comparative de la distribution florale dans une portion des alpes et des jura. Bulletin de la Société vaudoise des sciences naturelles, 37, 1901.
- Yang H. Jurek J. Dynamic portfolio selection in arbitrage. EFA 2006 Meetings Paper, 2007.
- Liew. Pairs trading: A copula approach. Journal of Derivatives and Hedge Funds, 2013.
- Timmermann A. Liu J. Optimal convergence trade strategies. Review of Financial Studies, 2012.
- SEC. How fees and expenses affect your investment portfolio, 2019. URL https://www.sec.gov/oiea/investor-alerts-bulletins/ib-fees-expenses.
- William F Sharpe. The sharpe ratio, the journal of portfolio management. Stanfold University, Fall, 1994.
- Performance measurement in a downside risk framework. the Journal of Investing, 3(3):59–64, 1994.
- SPGlobal. Spglobal. https://www.spglobal.com/en/, 2020. Accessed: 2023-04-30.
- G. Vidyamurthy. Pairs Trading, Quantitative Methods and Analysis. Wiley, 2004.
- Yahoo. Yahoo finance. https://finance.yahoo.com/, 2023. Accessed: 2023-04-30.