Repository logo
  • English
  • 中文
Log In
Have you forgotten your password?
  1. Home
  2. College of Engineering / 工學院
  3. Engineering Science and Ocean Engineering / 工程科學及海洋工程學系
  4. LSTM with Short-Term Bias Compensation to Determine Trading Strategy under Black Swan Events of Taiwan ETF50 Stock
 
  • Details

LSTM with Short-Term Bias Compensation to Determine Trading Strategy under Black Swan Events of Taiwan ETF50 Stock

Journal
Applied Sciences (Switzerland)
Journal Volume
14
Journal Issue
18
Start Page
8576
ISSN
2076-3417
Date Issued
2024-09-23
Author(s)
RAY-I CHANG  
Chia-Hui Wang
Lien-Chen Wei
Ya-Fang Lu
DOI
10.3390/app14188576
DOI
10.3390/app14188576
URI
https://www.scopus.com/record/display.uri?eid=2-s2.0-85205319731&origin=resultslist
https://scholars.lib.ntu.edu.tw/handle/123456789/722225
Abstract
This paper uses Long Short-Term Memory (LSTM) networks to predict the stock prices of the Yuanta Taiwan Top 50 ETF (ETF50). To improve the accuracy of the model’s predictions, a calibration procedure called “Short-Term Bias Compensation” (STBC) is proposed to adjust the predicted stock prices. In STBC, the daily prediction error is calculated to estimate the short-term bias (STB) in prediction. Then, the predicted price of its next day will be corrected if this STB has exceeded a certain threshold. In this paper, we apply Genetic Algorithms (GAs) to optimize the parameters used in STBC for providing more confidence in its estimation. Based on these predicted stock prices, we propose a Genetic Fuzzy System (GFS) to determine the trading strategy, with trading points for buying and selling stocks. In GFS, various technical indicators are used to establish the fuzzy rules of the trading strategy, and GAs are used to evolve the best parameters for these fuzzy rules. Our experiments cover over 17 years of data (from 2003 to 2020) for ETF50 to consider black swan events such as the 2020 COVID-19 pandemic, the 2018 US–China trade war, and the 2011 US debt crisis. The first 90% of the data is used as training data, and the last 10% is used as testing data. We use 12 technical indicators of these data as the input of LSTM. The predicted values of LSTM are corrected using STBC and compared to the uncorrected prices. We use Mean Square Error (MSE) to evaluate the prediction accuracy. The results show that STBC can nearly reduce 90% of the prediction error (where MSE drops from 11.5758 to 1.2687). By using GFS with STBC to determine trading points, we achieve a return rate of 32.0%.
Subjects
calibration procedure
ETF50
fuzzy systems
genetic algorithms
LSTM
technical indicators
trading strategy
Publisher
MDPI AG
Type
journal article

臺大位居世界頂尖大學之列,為永久珍藏及向國際展現本校豐碩的研究成果及學術能量,圖書館整合機構典藏(NTUR)與學術庫(AH)不同功能平台,成為臺大學術典藏NTU scholars。期能整合研究能量、促進交流合作、保存學術產出、推廣研究成果。

To permanently archive and promote researcher profiles and scholarly works, Library integrates the services of “NTU Repository” with “Academic Hub” to form NTU Scholars.

總館學科館員 (Main Library)
醫學圖書館學科館員 (Medical Library)
社會科學院辜振甫紀念圖書館學科館員 (Social Sciences Library)

開放取用是從使用者角度提升資訊取用性的社會運動,應用在學術研究上是透過將研究著作公開供使用者自由取閱,以促進學術傳播及因應期刊訂購費用逐年攀升。同時可加速研究發展、提升研究影響力,NTU Scholars即為本校的開放取用典藏(OA Archive)平台。(點選深入了解OA)

  • 請確認所上傳的全文是原創的內容,若該文件包含部分內容的版權非匯入者所有,或由第三方贊助與合作完成,請確認該版權所有者及第三方同意提供此授權。
    Please represent that the submission is your original work, and that you have the right to grant the rights to upload.
  • 若欲上傳已出版的全文電子檔,可使用Open policy finder網站查詢,以確認出版單位之版權政策。
    Please use Open policy finder to find a summary of permissions that are normally given as part of each publisher's copyright transfer agreement.
  • 網站簡介 (Quickstart Guide)
  • 使用手冊 (Instruction Manual)
  • 線上預約服務 (Booking Service)
  • 方案一:臺灣大學計算機中心帳號登入
    (With C&INC Email Account)
  • 方案二:ORCID帳號登入 (With ORCID)
  • 方案一:定期更新ORCID者,以ID匯入 (Search for identifier (ORCID))
  • 方案二:自行建檔 (Default mode Submission)
  • 方案三:學科館員協助匯入 (Email worklist to subject librarians)

Built with DSpace-CRIS software - Extension maintained and optimized by 4Science