| Literature DB >> 26339236 |
Chien-Feng Huang1, Chi-Jen Hsu1, Chi-Chung Chen2, Bao Rong Chang1, Chen-An Li1.
Abstract
Pairs trading is an important and challenging research area in computational finance, in which pairs of stocks are bought and sold in pair combinations for arbitrage opportunities. Traditional methods that solve this set of problems mostly rely on statistical methods such as regression. In contrast to the statistical approaches, recent advances in computational intelligence (CI) are leading to promising opportunities for solving problems in the financial applications more effectively. In this paper, we present a novel methodology for pairs trading using genetic algorithms (GA). Our results showed that the GA-based models are able to significantly outperform the benchmark and our proposed method is capable of generating robust models to tackle the dynamic characteristics in the financial application studied. Based upon the promising results obtained, we expect this GA-based method to advance the research in computational intelligence for finance and provide an effective solution to pairs trading for investment in practice.Entities:
Mesh:
Year: 2015 PMID: 26339236 PMCID: PMC4538771 DOI: 10.1155/2015/939606
Source DB: PubMed Journal: Comput Intell Neurosci
Figure 1Chromosome encoding.
Figure 2Flow chart of the GA-based arbitrage system.
The 10 semiconductor stocks used in this study.
| Ticker | Name (Chinese) | Name (English) |
|---|---|---|
| 2325 | 矽品 | Siliconware Precision Industries Co, Ltd. |
| 2330 | 臺積電 | Taiwan Semiconductor Manufacturing |
| 2303 | 聯電 | United Microelectronics Corp. |
| 2311 | 日月光 | Advanced Semiconductor Engineering, Inc. |
| 2337 | 旺宏 | Macronix International Company, Ltd. |
| 2301 | 光寶科 | Lite-On Technology Corp. |
| 2308 | 台達電 | Delta Electronics, Inc. |
| 2409 | 友達 | AU Optronics Corporation |
| 2451 | 創見 | Transcend Information, Inc. |
| 2454 | 聯發科 | MediaTek Inc. |
Figure 3An illustration for the best-so-far curve by the GA.
Figure 4Accumulated return of the benchmark versus the GA-based model for the 10 semiconductor stocks from years 2003 to 2012.
Figure 5Temporal validation.
Comparisons of the annualized returns of the GA-based model and the benchmark for the 10 semiconductor stocks from years 2003 to 2012.
| TV | Training period | Annualized benchmark return | Mean of annualized model return | Standard deviation | Testing period | Annualized benchmark return | Mean of annualized model return | Standard deviation |
|---|---|---|---|---|---|---|---|---|
| 1 | 2003Q1 | −27.23% | 157.55% | 0.0494 | 2003Q2–2012Q4 | 3.60% | 0.01% | 0.5125 |
| 2 | 2003Q1–2003Q2 | 36.06% | 137.35% | 0.1117 | 2003Q3–2012Q4 | 0.80% | −4.42% | 0.5494 |
| 3 | 2003Q1–2003Q3 | 39.79% | 119.60% | 0.1119 | 2003Q4–2012Q4 | 0.21% | 3.49% | 0.5392 |
| 4 | 2003Q1–2003Q4 | 20.67% | 85.98% | 0.1498 | 2004Q1–2012Q4 | 0.59% | 2.05% | 0.4707 |
| 5 | 2003Q1–2004Q1 | 24.25% | 72.06% | 0.1553 | 2004Q2–2012Q4 | −0.19% | 2.55% | 0.4833 |
| 6 | 2003Q1–2004Q2 | 5.26% | 59.23% | 0.1626 | 2004Q3–2012Q4 | 2.22% | 5.14% | 0.7364 |
| 7 | 2003Q1–2004Q3 | −2.64% | 55.70% | 0.3206 | 2004Q4–2012Q4 | 3.80% | 4.49% | 0.6824 |
| 8 | 2003Q1–2004Q4 | −1.33% | 53.64% | 0.3889 | 2005Q1–2012Q4 | 3.83% | 5.17% | 0.8286 |
| 9 | 2003Q1–2005Q1 | 0.03% | 45.19% | 0.3904 | 2005Q2–2012Q4 | 3.20% | 2.58% | 0.6446 |
| 10 | 2003Q1–2005Q2 | 4.49% | 42.85% | 0.4555 | 2005Q3–2012Q4 | 1.88% | 3.24% | 0.6986 |
| 11 | 2003Q1–2005Q3 | 5.36% | 42.02% | 0.4171 | 2005Q4–2012Q4 | 1.48% | 1.58% | 0.4788 |
| 12 | 2003Q1–2005Q4 | 11.17% | 34.85% | 0.3509 | 2006Q1–2012Q4 | −0.77% | 4.70% | 0.5345 |
| 13 | 2003Q1–2006Q1 | 9.63% | 34.61% | 0.2917 | 2006Q2–2012Q4 | −0.57% | 5.29% | 0.5652 |
| 14 | 2003Q1–2006Q2 | 6.65% | 32.14% | 0.2780 | 2006Q3–2012Q4 | 0.71% | 5.92% | 0.5332 |
| 15 | 2003Q1–2006Q3 | 7.54% | 31.70% | 0.3518 | 2006Q4–2012Q4 | −0.22% | 4.58% | 0.4451 |
| 16 | 2003Q1–2006Q4 | 9.38% | 30.56% | 0.3527 | 2007Q1–2012Q4 | −2.03% | 4.16% | 0.3340 |
| 17 | 2003Q1–2007Q1 | 11.74% | 30.21% | 0.4362 | 2007Q2–2012Q4 | −3.41% | 5.25% | 0.3628 |
| 18 | 2003Q1–2007Q2 | 15.86% | 27.98% | 0.5660 | 2007Q3–2012Q4 | −7.02% | 8.11% | 0.6571 |
| 19 | 2003Q1–2007Q3 | 16.65% | 31.03% | 0.7558 | 2007Q4–2012Q4 | −8.30% | 7.48% | 0.4423 |
| 20 | 2003Q1–2007Q4 | 10.80% | 32.33% | 0.7995 | 2008Q1–2012Q4 | −4.31% | 7.86% | 0.5680 |
| 21 | 2003Q1–2008Q1 | 7.98% | 31.33% | 1.0381 | 2008Q2–2012Q4 | −2.88% | 8.24% | 0.3712 |
| 22 | 2003Q1–2008Q2 | 5.50% | 35.78% | 1.4992 | 2008Q3–2012Q4 | −0.23% | 7.87% | 0.3083 |
| 23 | 2003Q1–2008Q3 | 2.35% | 34.33% | 1.9692 | 2008Q4–2012Q4 | 3.05% | 6.84% | 0.2409 |
| 24 | 2003Q1–2008Q4 | −2.29% | 34.66% | 1.9921 | 2009Q1–2012Q4 | 9.29% | 8.63% | 0.2430 |
| 25 | 2003Q1–2009Q1 | 1.88% | 31.07% | 1.7270 | 2009Q2–2012Q4 | 3.90% | 9.78% | 0.2099 |
| 26 | 2003Q1–2009Q2 | 4.43% | 29.88% | 1.6957 | 2009Q3–2012Q4 | −0.90% | 10.43% | 0.2683 |
| 27 | 2003Q1–2009Q3 | 8.62% | 31.06% | 2.1604 | 2009Q4–2012Q4 | −8.58% | 8.68% | 0.2157 |
| 28 | 2003Q1–2009Q4 | 9.09% | 31.06% | 2.3144 | 2010Q1–2012Q4 | −11.09% | 6.66% | 0.1684 |
| 29 | 2003Q1–2010Q1 | 8.39% | 31.53% | 2.3984 | 2010Q2–2012Q4 | −11.47% | 5.74% | 0.2323 |
| 30 | 2003Q1–2010Q2 | 5.83% | 30.06% | 2.5543 | 2010Q3–2012Q4 | −5.19% | 5.89% | 0.1809 |
| 31 | 2003Q1–2010Q3 | 5.83% | 27.71% | 2.2193 | 2010Q4–2012Q4 | −7.93% | 6.05% | 0.1847 |
| 32 | 2003Q1–2010Q4 | 5.80% | 27.26% | 2.7974 | 2011Q1–2012Q4 | −8.53% | 5.48% | 0.1443 |
| 33 | 2003Q1–2011Q1 | 3.86% | 29.38% | 2.8889 | 2011Q2–2012Q4 | −3.09% | 1.32% | 0.1056 |
| 34 | 2003Q1–2011Q2 | 3.11% | 28.69% | 3.3213 | 2011Q3–2012Q4 | 0.29% | 0.20% | 0.1043 |
| 35 | 2003Q1–2011Q3 | 1.82% | 27.14% | 2.7034 | 2011Q4–2012Q4 | 11.66% | 5.24% | 0.0842 |
| 36 | 2003Q1–2011Q4 | 1.22% | 27.73% | 3.7890 | 2003Q1–2012Q4 | 18.89% | 11.33% | 0.0745 |
| 37 | 2003Q1–2012Q1 | 2.03% | 25.98% | 3.3508 | 2003Q1–2012Q4 | 13.27% | 12.24% | 0.0604 |
| 38 | 2003Q1–2012Q2 | 1.58% | 25.08% | 3.2671 | 2003Q1–2012Q4 | 26.57% | 11.28% | 0.0582 |
| 39 | 2003Q1–2012Q3 | 2.50% | 25.38% | 3.6955 | 2012Q4 | 10.91% | 12.68% | 0.0414 |
Figure 6Averaged annualized return of the top 50 GA-based models versus the benchmark (in each TV of the testing phase) for the 10 semiconductor stocks from years 2003 to 2012.
The 10 largest market cap stocks used in this study.
| Ticker | Name (Chinese) | Name (English) |
|---|---|---|
| 2330 | 臺積電 | Taiwan Semiconductor Manufacturing |
| 2317 | 鴻海 | Hon Hai Precision |
| 2454 | 聯發科 | MediaTek Inc. |
| 1301 | 臺塑 | Formosa Plastics |
| 1303 | 南亞 | Nan Ya Plastics |
| 1326 | 台化 | Formosa Chemicals |
| 2412 | 中華電 | Chunghwa Telecom |
| 2882 | 國泰金 | Cathay Financial Holding |
| 2308 | 台達電 | Delta Electronics, Inc. |
| 2008 | 高興昌 | Kao Hsing Chang Iron |
Figure 7Accumulated return of the benchmark versus the GA-based model for the 10 largest market cap stocks from years 2003 to 2012.
Comparisons of the annualized returns of the GA-based model and the benchmark for the 10 largest market cap stocks from years 2003 to 2012.
| TV | Training period | Annualized benchmark return | Mean of annualized model return | Standard deviation | Testing period | Annualized benchmark return | Mean of annualized model return | Standard deviation |
|---|---|---|---|---|---|---|---|---|
| 1 | 2003Q1 | −9.13% | 133.86% | 0.3965 | 2003Q2–2012Q4 | 33.58% | 1.03% | 0.0472 |
| 2 | 2003Q1–2003Q2 | 18.81% | 109.67% | 0.1066 | 2003Q3–2012Q4 | 18.51% | −3.06% | 0.0348 |
| 3 | 2003Q1–2003Q3 | 33.87% | 86.87% | 0.1665 | 2003Q4–2012Q4 | −0.69% | 4.74% | 0.0571 |
| 4 | 2003Q1–2003Q4 | 26.40% | 54.91% | 0.0853 | 2004Q1–2012Q4 | 6.10% | −2.38% | 0.0344 |
| 5 | 2003Q1–2004Q1 | 31.57% | 52.05% | 0.0939 | 2004Q2–2012Q4 | −13.55% | −2.43% | 0.0558 |
| 6 | 2003Q1–2004Q2 | 16.71% | 60.24% | 0.1204 | 2004Q3–2012Q4 | 1.99% | −6.57% | 0.0407 |
| 7 | 2003Q1–2004Q3 | 11.80% | 62.13% | 0.0971 | 2004Q4–2012Q4 | 9.94% | −8.50% | 0.0273 |
| 8 | 2003Q1–2004Q4 | 15.29% | 55.99% | 0.1029 | 2005Q1–2012Q4 | 3.50% | −8.68% | 0.0305 |
| 9 | 2003Q1–2005Q1 | 12.64% | 49.95% | 0.0850 | 2005Q2–2012Q4 | 4.91% | −9.07% | 0.0449 |
| 10 | 2003Q1–2005Q2 | 15.71% | 40.65% | 0.0636 | 2005Q3–2012Q4 | −7.39% | −9.01% | 0.0498 |
| 11 | 2003Q1–2005Q3 | 6.79% | 37.80% | 0.0596 | 2005Q4–2012Q4 | 5.58% | 4.94% | 0.0401 |
| 12 | 2003Q1–2005Q4 | 12.54% | 35.57% | 0.0478 | 2006Q1–2012Q4 | 9.46% | 5.46% | 0.0724 |
| 13 | 2003Q1–2006Q1 | 29.21% | 30.42% | 0.0591 | 2006Q2–2012Q4 | −42.67% | 3.09% | 0.0614 |
| 14 | 2003Q1–2006Q2 | 32.17% | 39.09% | 0.0536 | 2006Q3–2012Q4 | −42.45% | 0.26% | 0.0623 |
| 15 | 2003Q1–2006Q3 | 23.30% | 32.03% | 0.0724 | 2006Q4–2012Q4 | −39.08% | 3.91% | 0.0655 |
| 16 | 2003Q1–2006Q4 | 9.71% | 28.78% | 0.0284 | 2007Q1–2012Q4 | −18.77% | 7.38% | 0.0341 |
| 17 | 2003Q1–2007Q1 | 10.42% | 28.97% | 0.0271 | 2007Q2–2012Q4 | −19.82% | 7.71% | 0.0382 |
| 18 | 2003Q1–2007Q2 | 15.69% | 27.25% | 0.0357 | 2007Q3–2012Q4 | −33.97% | 6.24% | 0.0324 |
| 19 | 2003Q1–2007Q3 | 16.14% | 29.75% | 0.0323 | 2007Q4–2012Q4 | −37.09% | 3.59% | 0.0397 |
| 20 | 2003Q1–2007Q4 | 11.22% | 31.29% | 0.0383 | 2008Q1–2012Q4 | −22.89% | −0.22% | 0.0292 |
| 21 | 2003Q1–2008Q1 | 9.96% | 33.59% | 0.0436 | 2008Q2–2012Q4 | −21.45% | −1.16% | 0.0466 |
| 22 | 2003Q1–2008Q2 | 13.56% | 28.81% | 0.0756 | 2008Q3–2012Q4 | −31.51% | 0.29% | 0.0438 |
| 23 | 2003Q1–2008Q3 | 8.29% | 27.84% | 0.0506 | 2008Q4–2012Q4 | −12.44% | 0.18% | 0.0357 |
| 24 | 2003Q1–2008Q4 | 1.30% | 24.99% | 0.0535 | 2009Q1–2012Q4 | 26.95% | 0.81% | 0.0501 |
| 25 | 2003Q1–2009Q1 | 5.04% | 23.92% | 0.0516 | 2009Q2–2012Q4 | 0.86% | 1.23% | 0.0725 |
| 26 | 2003Q1–2009Q2 | 7.37% | 25.11% | 0.0395 | 2009Q3–2012Q4 | −12.45% | −2.67% | 0.0802 |
| 27 | 2003Q1–2009Q3 | 6.73% | 24.79% | 0.0252 | 2009Q4–2012Q4 | −16.92% | 5.16% | 0.0357 |
| 28 | 2003Q1–2009Q4 | 7.63% | 25.15% | 0.0215 | 2010Q1–2012Q4 | −24.31% | 2.24% | 0.0326 |
| 29 | 2003Q1–2010Q1 | 7.14% | 25.32% | 0.0201 | 2010Q2–2012Q4 | −23.97% | 2.14% | 0.0378 |
| 30 | 2003Q1–2010Q2 | 7.28% | 23.47% | 0.0337 | 2010Q3–2012Q4 | −14.58% | 0.59% | 0.0753 |
| 31 | 2003Q1–2010Q3 | 9.81% | 21.78% | 0.0373 | 2010Q4–2012Q4 | −31.17% | 1.08% | 0.0947 |
| 32 | 2003Q1–2010Q4 | 11.29% | 20.65% | 0.0395 | 2011Q1–2012Q4 | −39.94% | −0.85% | 0.0970 |
| 33 | 2003Q1–2011Q1 | 12.29% | 21.09% | 0.0343 | 2011Q2–2012Q4 | −45.11% | 1.84% | 0.0532 |
| 34 | 2003Q1–2011Q2 | 13.44% | 20.05% | 0.0388 | 2011Q3–2012Q4 | −47.78% | 0.58% | 0.0600 |
| 35 | 2003Q1–2011Q3 | 7.56% | 21.41% | 0.0359 | 2011Q4–2012Q4 | −22.33% | 0.75% | 0.1054 |
| 36 | 2003Q1–2011Q4 | 8.08% | 18.04% | 0.0389 | 2003Q1–2012Q4 | −13.53% | 11.13% | 0.0909 |
| 37 | 2003Q1–2012Q1 | 6.51% | 19.60% | 0.0388 | 2003Q1–2012Q4 | −19.06% | 8.32% | 0.0801 |
| 38 | 2003Q1–2012Q2 | 4.77% | 19.41% | 0.0253 | 2003Q1–2012Q4 | −1.38% | 6.64% | 0.1144 |
| 39 | 2003Q1–2012Q3 | 3.43% | 19.58% | 0.0171 | 2012Q4 | 0.91% | 10.26% | 0.1145 |
Figure 8Averaged annualized return of the top 50 GA-based models versus the benchmark (in each TV of the testing phase) for the 10 largest market cap stocks from years 2003 to 2012.
Precision for the 10 semiconductor and largest market cap stocks.
| 10 semiconductor stocks | 10 largest market cap stocks | |
|---|---|---|
| Precision | 0.7692 | 0.7180 |