Book chapter abstract
Machine Learning Algorithmic Model for pairs trading
Research Areas Currently no objects available |
Publication Details Author list: Sivasamy Ramasamy, Sharma, D. K., Sediakgotla Keorapetse, & Mokgweetsi, Boikanyo Publisher: Springer Place: Singapore Publication year: 2024 ISBN: 978-981-97-1899-3 eISBN: 978-981-97-1900-6 |
This chapter uses a regression modeling approach and machine learning algorithms to investigate two correlated stocks, Pepsi, and Coca-Cola, during the same trading session. We divided the observed data into training (75%) and testing (25%). We follow the simple linear evolution of the response variable Y (=Pepsi prices) with the predictor X (=Coke prices) in the training data using both the ordinary least squares (OLS) method and the neural network. The goal is to obtain appropriate estimates of the fitted model. After determining the stationary property of the residuals determined by the “Augmented Dickey-Fuller” (ADF) test of this fit, we get forecast values of Y. We then develop a trading strategy to examine the joint performance of Y and X processes for future trading using two different co-integrated stationary processes (i) the spread = (Y − ) and (ii) the ratio = (/X). An error correction model (ECM) with a lag of 1 is also included to compare its performance with that of the spread and ratio models. Real data sets are used for demonstration, and optimal performance is determined for each case.
Projects
Currently no objects available
Currently no objects available |
Documents
Currently no objects available