Please use this identifier to cite or link to this item: https://ah.lib.nccu.edu.tw/handle/140.119/136846
DC FieldValueLanguage
dc.contributor.advisor姜國輝zh_TW
dc.contributor.advisorChiang, Kuo-Huieen_US
dc.contributor.author蔡政融zh_TW
dc.contributor.authorTsai, Cheng-Jungen_US
dc.creator蔡政融zh_TW
dc.creatorTsai, Cheng-Jungen_US
dc.date2021en_US
dc.date.accessioned2021-09-02T07:54:38Z-
dc.date.available2021-09-02T07:54:38Z-
dc.date.issued2021-09-02T07:54:38Z-
dc.identifierG0108356023en_US
dc.identifier.urihttp://nccur.lib.nccu.edu.tw/handle/140.119/136846-
dc.description碩士zh_TW
dc.description國立政治大學zh_TW
dc.description資訊管理學系zh_TW
dc.description108356023zh_TW
dc.description.abstract在本研究中,我們想對金融商品進行預測,並且透過投資報酬率來探討兩種深度學習的方法孰優孰劣,同時我們也認為除了股票價格和交易量之外,技術指標和新聞情緒都是影響股票走勢的重要因素之一,因此,在最後的結果中我們也會與大盤ETF (Exchange Traded Funds) GSPC(追蹤S&P 500) 和 QQQ(追蹤內斯達克指數)進行比較,用以衡量模型。\n首先我們從CNBC爬取五間公司(Facebook, Amazon, Apple, Netflix, Google)的新聞資料以及從yahoo股市中獲取2013年到2020年的股市資訊,再來使用BERT衡量新聞情緒,這裡將它定義為三種情緒(負面、中立、正面),並透過加權平均獲得一天的情緒指標,為了有更多的特徵資料量,實驗中也加入技術指標如MACD ( Moving Average Directional Index ), RSI ( Relative Strength Index )等。接著,比較深度學習模型LSTM (Short Term Memory Networks)、GRU (Gated Recurrent Unit Network)和PPO (Proximal Policy Optimization)深度強化學習模型,在這五支股票中的表現。\n從本實驗中實證分析,可以得到以下結果 :\n從2018年6月25日到2020年12月31日期間,若直接投資S&P 500 指數,平均年化報酬率為15.56%,若是直接投資Dow Jones 指數,平均年化報酬率為9.39%,若是直接投資Nasdaq 指數,平均年化報酬率為27.94%,而透過直接持有FAANG,平均年化報酬率為24.39%。\n透過強化學習策略對上述四個標的投資平均年化報酬率為投資S&P 500 指數平均年化報酬率為28.05%,投資Dow Jones 平均年化報酬率為13.49%,投資Nasdaq 指數 平均年化報酬率為32.36%,投資FAANG 平均年化報酬率為25.57%。zh_TW
dc.description.tableofcontents摘要 2\n圖次 4\n第一章 緒論 6\n1.1 研究動機 6\n1.2 研究目的 6\n第二章 文獻探討 7\n2.1 背景介紹 7\n2.2 技術分析 7\n2.3 量化交易 7\n2.4 深度學習 12\n2.4.1 Transformer 12\n2.4.2 BERT 14\n2.4.3 情感分析 15\n2.4.4 模組FinBert與情感分數算法 15\n2.4.5 LSTM 16\n2.4.6 GRU 17\n2.5 強化學習 18\n2.5.1 概念介紹 18\n2.5.2 Value-based learning v.s Policy-based learning 18\n2.5.3 PPO 19\n2.5.4 關於FinRL 20\n2.6 風險預估 23\n2.6.1 夏普比率 (Sharp ratio) 23\n2.6.2 卡瑪比率 (Calmar ratio) 23\n第三章 系統設計 24\n3.1 實驗資料集 24\n3.1.1 深度學習預測股價 24\n3.1.2 強化學習模擬交易 25\n3.2 資料前處理 26\n3.2.1 深度學習預測股價 26\n3.2.2 強化學習模擬交易 26\n3.3 預測模型設計 26\n3.3.1 深度學習模型設計 26\n3.3.2 強化學習模型設計 27\n3.4 超參數的優化 27\n第四章 實驗結果與分析 28\n4.1 情感分數及超參數結果: 28\n4.2 深度學習預測股價結果: 29\n1. Amazon 30\n2. Facebook 32\n3. Netflix 34\n4. Google 36\n5. Apple 38\n4.2.1 深度學習預測股價分析: 40\n4.3 強化學習模擬交易結果: 41\n1. 同樣成分股跟投資道瓊工業指數ETF (DIA)比較 41\n2. 同樣成分股跟投資S&P500 ETF (SPY)比較 41\n3. 同樣成分股跟投資納斯達克指數 ETF (QQQ)比較 42\n4. FAANG跟投資納斯達克ETF(QQQ)比較 43\n4.3.1 強化學習模擬交易分析: 44\n第五章 研究結論與建議 46\n5.1 結論與貢獻 46\n5.2 未來研究建議 46\nReferences 47zh_TW
dc.format.extent4727308 bytes-
dc.format.mimetypeapplication/pdf-
dc.source.urihttp://thesis.lib.nccu.edu.tw/record/#G0108356023en_US
dc.subject深度學習zh_TW
dc.subject強化學習zh_TW
dc.subject股票預測zh_TW
dc.subjectFAANGen_US
dc.subjectBERTen_US
dc.title基於深度學習+BERT與強化學習進行FAANG股價預測zh_TW
dc.titleFAANG stock prediction based on Deep learning +BERT and Reinforcement learningen_US
dc.typethesisen_US
dc.relation.referenceReferences\n1. the economics of big tech (2019) Wikipedia. Available at: https://zh.wikipedia.org/wiki/Bigtech\n2. the quantitative trading (2014) baike.baidu. Available at: https://baike.baidu.com/item/quantitativetrading/5266581\n3. the original of FinBert(2020)Available at: https://zhuanlan.zhihu.com/p/368795160\n4. William F. Sharpe (1994) : The Sharpe Ratio\n5. Filippo Petroni, Giulia Rotundo : Effectiveness of measures of performance during speculative bubbles (2007)\n6. Hadi S. Jomaa1, Josif Grabocka1, and Lars Schmidt-Thieme1 Hyp-RL : Hyperparameter Optimization by Reinforcement Learning (2019)\n7. Bergstra,J.,Bengio,Y.:Random search for hyper parameter optimization. Journal of Machine Learning Research 13(Feb), 281–305 (2012)\n8. Shahriari, B., Swersky, K., Wang, Z., Adams, R.P., De Freitas, N.: Taking the human out of the loop: A review of bayesian optimization. Proceedings of the IEEE 104(1), 148–175 (2016)\n9. Xu, Z., van Hasselt, H.P., Silver, D.: Meta-gradient reinforcement learning. In: Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, 3-8 December 2018, Montr ́eal, Canada. pp. 2402–2413 (2018)\n10. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, Illia Polosukhin: Attention Is All You Need (2017)\n11. Jacob Devlin, Ming-Wei Chang, Kenton Lee, Kristina Toutanova: BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding (2018)\n12. Zhuoran Xiong, Xiao-Yang Liu, Shan Zhong, Hongyang Yang, Anwar Walid: Practical Deep Reinforcement Learning Approach for Stock Trading(2018)zh_TW
dc.identifier.doi10.6814/NCCU202101247en_US
item.fulltextWith Fulltext-
item.openairecristypehttp://purl.org/coar/resource_type/c_46ec-
item.grantfulltextrestricted-
item.openairetypethesis-
item.cerifentitytypePublications-
Appears in Collections:學位論文
Files in This Item:
File Description SizeFormat
602301.pdf4.62 MBAdobe PDF2View/Open
Show simple item record

Google ScholarTM

Check

Altmetric

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.