應用資料探勘技術於股票投資-以台達電為例
Applications of Data Mining Techniques for Stock Investment – A Case Study of Delta Electronics, Inc.
摘要
本論文是Hung et al. (2021)的延伸性研究,該研究是運用資料探勘技術進行股票投資,其主要限制是必須利用人工方式挑選投資週期(Np)、買點標籤參數(Bα)、賣點標籤參數(Sβ)、委員會門檻(λθ)、決策方法(Dκ) 等五個超參數和單一訓練資料集(Ds),設計出交易決策;不同的超參數組合便是一種交易決策,其投資報酬率(ROI)可能不同,因此以人工選超參數其ROI機遇成分很高。本論文擬探討自動選擇超參數和加入多組訓練資料集的效果,假設一個超參數空間有384(3×4×4×4×2)種組合,本研究透過全數搜尋法和情境階段穩健搜尋法,分別找出績效最好、穩健性最高之超參數組合形成交易方法,稱為TM1、TM2。我們以TM1、TM2選定之超參數組合為基準,進而搭配多組資料集(Dm, m=1,…,d)重新訓練分類器,發展出另外兩種交易方法,稱為TMX1、TMX2。上述四種交易方法,我們以台達電(TW.2308)為標的,測試其於2017至2019的投資表現。實驗顯示,TMX2的三年投資報酬率為51.43%,優於其他三種交易方法,也優於買進持有與技術分析等另外六種標竿方法;TMX2這個交易方法應用於台達電個股投資似乎相當看好。
This research is an extension of a recent study (Hung et al. 2021) that applies data mining techniques to stock investment, which requires manual selection of five hyper-parameters (Np,Bα,Sβ,λθ,Dκ) and one training dataset (Ds). Different manual selections may lead to substantial differences in obtained return of investment (ROI). Therefore, this research aims to investigate the effects of automatic selection of hyper-parameters and that of applying multiple training datasets. Consider a hyper-parameter space of 384 (3×4×4×4×2) alternatives. We first use exhaustive search to obtain an appealing hyper-parameter alternative, the so obtained trading method is called TM1. Then, we use a method called scenario-stage-robustness search and develop another trading method TM2. Herein, the classifiers of TM1 and TM2 are trained by a particular training dataset (Ds). To increase the robustness of ROI, we develop two other trading methods TMX1 and TMX2 by retraining classifiers using multiple datasets (Dm,m= 1,…,d), where TMXi adopts the same hyper-parameters of TMi. The four proposed trading methods are empirically justified by using a listed stock (Delta Electronics, 2308.TW). Taking ROI of 3 years (2017-2019) as the performance metric, TMX2 (ROI = 51.43%) substantially outperforms the other three proposed methods and six other benchmark methods. The experiment outcomes indicate that TMX2 is quite promising in trading the stock 2308.TW.