EconPapers    
Economics at your fingertips  
 

Machine Learning-Enhanced Pairs Trading

Eli Hadad, Sohail Hodarkar, Beakal Lemeneh and Dennis Shasha ()
Additional contact information
Eli Hadad: Centro de Ciências Sociais Aplicadas, Universidade Presbiteriana Mackenzie, Rua da Consolação 930, Sao Paulo 01302-907, SP, Brazil
Sohail Hodarkar: Courant Institute of Mathematical Sciences, New York University, 251 Mercer Street, New York, NY 10012, USA
Beakal Lemeneh: University of Rochester, 500 Joseph C. Wilson Blvd, Rochester, NY 14627, USA
Dennis Shasha: Courant Institute of Mathematical Sciences, New York University, 251 Mercer Street, New York, NY 10012, USA

Forecasting, 2024, vol. 6, issue 2, 1-22

Abstract: Forecasting returns in financial markets is notoriously challenging due to the resemblance of price changes to white noise. In this paper, we propose novel methods to address this challenge. Employing high-frequency Brazilian stock market data at one-minute granularity over a full year, we apply various statistical and machine learning algorithms, including Bidirectional Long Short-Term Memory (BiLSTM) with attention, Transformers, N-BEATS, N-HiTS, Convolutional Neural Networks (CNNs), and Temporal Convolutional Networks (TCNs) to predict changes in the price ratio of closely related stock pairs. Our findings indicate that a combination of reversion and machine learning-based forecasting methods yields the highest profit-per-trade. Additionally, by allowing the model to abstain from trading when the predicted magnitude of change is small, profits per trade can be further increased. Our proposed forecasting approach, utilizing a blend of methods, demonstrates superior accuracy compared to individual methods for high-frequency data.

Keywords: high-frequency data; pairs trading; forecasting; transformers; N-BEATS; N-HiTS; ARIMA; BiLSTM (search for similar items in EconPapers)
JEL-codes: A1 B4 C0 C1 C2 C3 C4 C5 C8 M0 Q2 Q3 Q4 (search for similar items in EconPapers)
Date: 2024
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
https://www.mdpi.com/2571-9394/6/2/24/pdf (application/pdf)
https://www.mdpi.com/2571-9394/6/2/24/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jforec:v:6:y:2024:i:2:p:24-455:d:1412363

Access Statistics for this article

Forecasting is currently edited by Ms. Joss Chen

More articles in Forecasting from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-03-19
Handle: RePEc:gam:jforec:v:6:y:2024:i:2:p:24-455:d:1412363