An Advanced Optimization Approach for Long-Short Pairs Trading Strategy Based on Correlation Coefficients and Bollinger Bands
In the financial market, commodity prices change over time, yielding profit opportunities. Various trading strategies have been proposed to yield good earnings. Pairs trading is one such critical, widely-used strategy with good effect. Given two highly correlated paired target stocks, the strategy s...
Main Authors: | , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2022-01-01
|
Series: | Applied Sciences |
Subjects: | |
Online Access: | https://www.mdpi.com/2076-3417/12/3/1052 |
_version_ | 1827661771549179904 |
---|---|
author | Chun-Hao Chen Wei-Hsun Lai Shih-Ting Hung Tzung-Pei Hong |
author_facet | Chun-Hao Chen Wei-Hsun Lai Shih-Ting Hung Tzung-Pei Hong |
author_sort | Chun-Hao Chen |
collection | DOAJ |
description | In the financial market, commodity prices change over time, yielding profit opportunities. Various trading strategies have been proposed to yield good earnings. Pairs trading is one such critical, widely-used strategy with good effect. Given two highly correlated paired target stocks, the strategy suggests buying one when its price falls behind, selling it when its stock price converges, and operating the other stock inversely. In the existing approach, the genetic Bollinger Bands and correlation-coefficient-based pairs trading strategy (GBCPT) utilizes optimization technology to determine the parameters for correlation-based candidate pairs and discover Bollinger Bands-based trading signals. The correlation coefficients are used to calculate the relationship between two stocks through their historical stock prices, and the Bollinger Bands are indicators composed of the moving averages and standard deviations of the stocks. In this paper, to achieve more robust and reliable trading performance, AGBCPT, an advanced GBCPT algorithm, is proposed to take into account volatility and more critical parameters that influence profitability. It encodes six critical parameters into a chromosome. To evaluate the fitness of a chromosome, the encoded parameters are utilized to observe the trading pairs and their trading signals generated from Bollinger Bands. The fitness value is then calculated by the average return and volatility of the long and short trading pairs. The genetic process is repeated to find suitable parameters until the termination condition is met. Experiments on 44 stocks selected from the Taiwan 50 Index are conducted, showing the merits and effectiveness of the proposed approach. |
first_indexed | 2024-03-10T00:15:51Z |
format | Article |
id | doaj.art-4e7bc85005ae4ccd8b1790b40510b944 |
institution | Directory Open Access Journal |
issn | 2076-3417 |
language | English |
last_indexed | 2024-03-10T00:15:51Z |
publishDate | 2022-01-01 |
publisher | MDPI AG |
record_format | Article |
series | Applied Sciences |
spelling | doaj.art-4e7bc85005ae4ccd8b1790b40510b9442023-11-23T15:51:04ZengMDPI AGApplied Sciences2076-34172022-01-01123105210.3390/app12031052An Advanced Optimization Approach for Long-Short Pairs Trading Strategy Based on Correlation Coefficients and Bollinger BandsChun-Hao Chen0Wei-Hsun Lai1Shih-Ting Hung2Tzung-Pei Hong3Department of Information and Finance Management, National Taipei University of Technology, Taipei 106, TaiwanDepartment of Computer Science and Engineering, National Sun Yat-sen University, Kaohsiung 804, TaiwanDepartment of Information and Finance Management, National Taipei University of Technology, Taipei 106, TaiwanDepartment of Computer Science and Engineering, National Sun Yat-sen University, Kaohsiung 804, TaiwanIn the financial market, commodity prices change over time, yielding profit opportunities. Various trading strategies have been proposed to yield good earnings. Pairs trading is one such critical, widely-used strategy with good effect. Given two highly correlated paired target stocks, the strategy suggests buying one when its price falls behind, selling it when its stock price converges, and operating the other stock inversely. In the existing approach, the genetic Bollinger Bands and correlation-coefficient-based pairs trading strategy (GBCPT) utilizes optimization technology to determine the parameters for correlation-based candidate pairs and discover Bollinger Bands-based trading signals. The correlation coefficients are used to calculate the relationship between two stocks through their historical stock prices, and the Bollinger Bands are indicators composed of the moving averages and standard deviations of the stocks. In this paper, to achieve more robust and reliable trading performance, AGBCPT, an advanced GBCPT algorithm, is proposed to take into account volatility and more critical parameters that influence profitability. It encodes six critical parameters into a chromosome. To evaluate the fitness of a chromosome, the encoded parameters are utilized to observe the trading pairs and their trading signals generated from Bollinger Bands. The fitness value is then calculated by the average return and volatility of the long and short trading pairs. The genetic process is repeated to find suitable parameters until the termination condition is met. Experiments on 44 stocks selected from the Taiwan 50 Index are conducted, showing the merits and effectiveness of the proposed approach.https://www.mdpi.com/2076-3417/12/3/1052Bollinger Bandscorrelation coefficientgenetic algorithmpairs trading strategytrading strategy optimization |
spellingShingle | Chun-Hao Chen Wei-Hsun Lai Shih-Ting Hung Tzung-Pei Hong An Advanced Optimization Approach for Long-Short Pairs Trading Strategy Based on Correlation Coefficients and Bollinger Bands Applied Sciences Bollinger Bands correlation coefficient genetic algorithm pairs trading strategy trading strategy optimization |
title | An Advanced Optimization Approach for Long-Short Pairs Trading Strategy Based on Correlation Coefficients and Bollinger Bands |
title_full | An Advanced Optimization Approach for Long-Short Pairs Trading Strategy Based on Correlation Coefficients and Bollinger Bands |
title_fullStr | An Advanced Optimization Approach for Long-Short Pairs Trading Strategy Based on Correlation Coefficients and Bollinger Bands |
title_full_unstemmed | An Advanced Optimization Approach for Long-Short Pairs Trading Strategy Based on Correlation Coefficients and Bollinger Bands |
title_short | An Advanced Optimization Approach for Long-Short Pairs Trading Strategy Based on Correlation Coefficients and Bollinger Bands |
title_sort | advanced optimization approach for long short pairs trading strategy based on correlation coefficients and bollinger bands |
topic | Bollinger Bands correlation coefficient genetic algorithm pairs trading strategy trading strategy optimization |
url | https://www.mdpi.com/2076-3417/12/3/1052 |
work_keys_str_mv | AT chunhaochen anadvancedoptimizationapproachforlongshortpairstradingstrategybasedoncorrelationcoefficientsandbollingerbands AT weihsunlai anadvancedoptimizationapproachforlongshortpairstradingstrategybasedoncorrelationcoefficientsandbollingerbands AT shihtinghung anadvancedoptimizationapproachforlongshortpairstradingstrategybasedoncorrelationcoefficientsandbollingerbands AT tzungpeihong anadvancedoptimizationapproachforlongshortpairstradingstrategybasedoncorrelationcoefficientsandbollingerbands AT chunhaochen advancedoptimizationapproachforlongshortpairstradingstrategybasedoncorrelationcoefficientsandbollingerbands AT weihsunlai advancedoptimizationapproachforlongshortpairstradingstrategybasedoncorrelationcoefficientsandbollingerbands AT shihtinghung advancedoptimizationapproachforlongshortpairstradingstrategybasedoncorrelationcoefficientsandbollingerbands AT tzungpeihong advancedoptimizationapproachforlongshortpairstradingstrategybasedoncorrelationcoefficientsandbollingerbands |