使用類神經網路評價臺指選擇權價格
Gated Neural Network for TXO Option Pricing
摘要
隨著AlphaGo開始引領的機器學習風潮,機器學習瞬間變成家喻戶曉的名詞,隨之而來有許多領域也開始使用機器學習來研究各種熱門的題材。Yang et al.(2017) [6]將選擇權避險因子推導納入類神經網路的結構設計及虛擬訓練資料產生,並用在S&P500選擇權評價回測,說明評價結果優於傳統財務工程的BS model、Variance Gamma與exponential jump diffusion選擇權定價模型。結合財務知識應用到機器學習模型的研究也有進展。本文使用相關技術來研究臺指選擇權的評價。
實驗使用台灣期貨交易所提供所有交易人下載的公開數據,從分析每日交易的成交價將下載資料產生兩個研究的資料集,1、沒有經過任何資料清理的原始資料與2、依據選擇權越深價內的買權,選擇權價格越高的規則做資料清理,移除不合理選擇權價格的序列。資料訓練模型使用Yang et al.(2017)提出的類神經網路架構訓練資料,產生最後選擇權訂價結果。實驗數據顯示此類神經網路架構使用在美國S&P500的選擇權訂價會有不錯的表現,但應用在臺指選擇權的表現卻不如傳統財務工程的BS model、Variance Gamma與exponential jump diffusion選擇權定價模型。若僅使用沒有經過任何處理的資料集訓練此模型,因為資料集存在流動性不佳使得較遠月履約的交易序列出現不合理的價格,進而影響Yang et al.(2017)的模型評價價格誤差擴大。透過資料清洗方法,將不合理的選擇權交易序列移除、調整Yang et al.(2017)模型中C5(本文3.1節)控制條件,將選擇權到期日當天買權可以立刻執行履約的輔助訓練資料,由履約價為零到價平的輔助訓練序列調整為履約價從跌停價至價平的輔助訓練序列,減少輔助資料造成類神經網路訓練的誤差,可以提升此類神經網路的預測,但實驗結果仍以傳統財務工程模型有較好的結果。依實驗結果分析可能原因,發現若訓練的日期出現較大的行情波動或是國際間有較大的事件發生那些日期,使用類神經網路的結果會出現較大的估價誤差而採用財工模型也會出現誤差變大,但誤差仍以財工模型估算較小。
實驗使用台灣期貨交易所提供所有交易人下載的公開數據,從分析每日交易的成交價將下載資料產生兩個研究的資料集,1、沒有經過任何資料清理的原始資料與2、依據選擇權越深價內的買權,選擇權價格越高的規則做資料清理,移除不合理選擇權價格的序列。資料訓練模型使用Yang et al.(2017)提出的類神經網路架構訓練資料,產生最後選擇權訂價結果。實驗數據顯示此類神經網路架構使用在美國S&P500的選擇權訂價會有不錯的表現,但應用在臺指選擇權的表現卻不如傳統財務工程的BS model、Variance Gamma與exponential jump diffusion選擇權定價模型。若僅使用沒有經過任何處理的資料集訓練此模型,因為資料集存在流動性不佳使得較遠月履約的交易序列出現不合理的價格,進而影響Yang et al.(2017)的模型評價價格誤差擴大。透過資料清洗方法,將不合理的選擇權交易序列移除、調整Yang et al.(2017)模型中C5(本文3.1節)控制條件,將選擇權到期日當天買權可以立刻執行履約的輔助訓練資料,由履約價為零到價平的輔助訓練序列調整為履約價從跌停價至價平的輔助訓練序列,減少輔助資料造成類神經網路訓練的誤差,可以提升此類神經網路的預測,但實驗結果仍以傳統財務工程模型有較好的結果。依實驗結果分析可能原因,發現若訓練的日期出現較大的行情波動或是國際間有較大的事件發生那些日期,使用類神經網路的結果會出現較大的估價誤差而採用財工模型也會出現誤差變大,但誤差仍以財工模型估算較小。
From the "AlphaGo" that defeated the world's number one Go player Ke Jie, Artificial intelligence became more and more popular. Since then, more scholars and professors have used AI, machine learning, and neural network to do their research.
Yang et al. (2017) [6] incorporated option hedging factors into the design of a neural network and generated synthetic training data. They applied this approach to backtest S&P 500 option pricing, demonstrating that their valuation results outperformed traditional financial engineering models such as the Black-Scholes model, Variance Gamma, and exponential jump diffusion option pricing models. There have also been advancements in integrating financial knowledge into machine learning models. In this paper, we employ similar techniques to study the valuation of Taiwan Stock Exchange (TAIEX) options.
The experiment utilized publicly available data downloaded from the Taiwan Futures Exchange, starting with the analysis of daily close prices. The downloaded data was then used to create two research datasets—one dataset consists complete raw data without any data cleaning, while the other involves the removal of unreasonable option prices.". Finally, Yang et al.'s (2017) neural network architecture was employed to train the data and generate the ultimate option pricing results.
The experimental data indicated that this neural network architecture performed well for option pricing in the U.S. S&P 500 market. However, when applied to Taiwan Stock Exchange (TAIEX) options, its performance was inferior to traditional financial engineering models such as the Black-Scholes model, Variance Gamma, and exponential jump diffusion option pricing models.
The reason for the underperformance in TAIEX options lies in the low liquidity of the dataset, leading to unreasonable prices for options with far expiration dates. As a consequence, this affected Yang et al.(2017) model, resulting in an amplification of pricing errors. To improve the neural network's performance, data cleaning methods were employed to remove unreasonable option trading sequences. Additionally, adjustments were made to the auxiliary training data in Yang et al.(2017) model, particularly for the C5 condition. These steps helped enhance the neural network's predictive capabilities; however, the experimental results still favored traditional financial engineering models.
In summary, the study demonstrates that applying the neural network model to TAIEX options requires careful data processing to address the liquidity issue and achieve better prediction results. Despite these adjustments, the traditional financial engineering models outperformed the neural network model.
Yang et al. (2017) [6] incorporated option hedging factors into the design of a neural network and generated synthetic training data. They applied this approach to backtest S&P 500 option pricing, demonstrating that their valuation results outperformed traditional financial engineering models such as the Black-Scholes model, Variance Gamma, and exponential jump diffusion option pricing models. There have also been advancements in integrating financial knowledge into machine learning models. In this paper, we employ similar techniques to study the valuation of Taiwan Stock Exchange (TAIEX) options.
The experiment utilized publicly available data downloaded from the Taiwan Futures Exchange, starting with the analysis of daily close prices. The downloaded data was then used to create two research datasets—one dataset consists complete raw data without any data cleaning, while the other involves the removal of unreasonable option prices.". Finally, Yang et al.'s (2017) neural network architecture was employed to train the data and generate the ultimate option pricing results.
The experimental data indicated that this neural network architecture performed well for option pricing in the U.S. S&P 500 market. However, when applied to Taiwan Stock Exchange (TAIEX) options, its performance was inferior to traditional financial engineering models such as the Black-Scholes model, Variance Gamma, and exponential jump diffusion option pricing models.
The reason for the underperformance in TAIEX options lies in the low liquidity of the dataset, leading to unreasonable prices for options with far expiration dates. As a consequence, this affected Yang et al.(2017) model, resulting in an amplification of pricing errors. To improve the neural network's performance, data cleaning methods were employed to remove unreasonable option trading sequences. Additionally, adjustments were made to the auxiliary training data in Yang et al.(2017) model, particularly for the C5 condition. These steps helped enhance the neural network's predictive capabilities; however, the experimental results still favored traditional financial engineering models.
In summary, the study demonstrates that applying the neural network model to TAIEX options requires careful data processing to address the liquidity issue and achieve better prediction results. Despite these adjustments, the traditional financial engineering models outperformed the neural network model.