Machine learning has become an essential tool in modern finance, transforming the way financial institutions and investors approach data analysis and decision-making. In areas such as portfolio management, algorithmic trading, credit scoring, and fraud detection, machine learning enables more accurate predictions, faster processing of information, and the automation of tasks that previously required manual effort. Additionally, machine learning models can adapt and improve over time, learning from new data to enhance their performance.
Reference [1] explored the use of machine learning in pairs trading. Specifically, the authors developed an algorithm to trade the classic Pepsi/Cola pair using three predictive methods: (i) fitting a linear model to real datasets of Pepsi and Coca-Cola stocks, (ii) employing a neural network approach to fit non-linear models, and (iii) utilizing an error correction model (ECM). They pointed out,
Using the NN method, a non-linear model between TextY and TextX was fitted and then the prediction corresponding to testX series was computed. For the spread series, both opening and closing positions were identified in Fig. 5.4. Profit for each pair of opening and closing positions was found and the total profit was also computed.
Comparing the $1.05102 total profit of the lm() method with the $1.049395 profit of the NN model, we can conclude that the NN performs the same as the ’lm() method. Here, NN can perform better than some other methods only if the optimal number of neurons is used in the hidden layers.
In short, the neural network performs similarly to the linear model method but can be improved by optimizing the number of neurons.
Let us know what you think in the comments below or in the discussion forum.
References
[1] R. Sivasamy, Dinesh K. Sharma, Sediakgotla, and B. Mokgweetsi, Machine Learning Algorithmic Model for Pairs Trading, in Machine Learning for Real World Applications, Springer 2024.
Further questions
What's your question? Ask it in the discussion forum
Have an answer to the questions below? Post it here or in the forum
"It Ends with Us" star Blake Lively filed a legal complaint against her costar, Justin Baldoni, for sexual harassment and for conspiring to damage her reputation.
She taught them how stocks and savings bonds work and encouraged them to be self-reliant, skills that have help them reach their own milestones.