DOI QR코드

DOI QR Code

VKOSPI Forecasting and Option Trading Application Using SVM

SVM을 이용한 VKOSPI 일 중 변화 예측과 실제 옵션 매매에의 적용

  • 라윤선 (국민대학교 비즈니스IT전문대학원) ;
  • 최흥식 (국민대학교 비즈니스IT전문대학원) ;
  • 김선웅 (국민대학교 비즈니스IT전문대학원)
  • Received : 2016.11.01
  • Accepted : 2016.12.16
  • Published : 2016.12.31

Abstract

Machine learning is a field of artificial intelligence. It refers to an area of computer science related to providing machines the ability to perform their own data analysis, decision making and forecasting. For example, one of the representative machine learning models is artificial neural network, which is a statistical learning algorithm inspired by the neural network structure of biology. In addition, there are other machine learning models such as decision tree model, naive bayes model and SVM(support vector machine) model. Among the machine learning models, we use SVM model in this study because it is mainly used for classification and regression analysis that fits well to our study. The core principle of SVM is to find a reasonable hyperplane that distinguishes different group in the data space. Given information about the data in any two groups, the SVM model judges to which group the new data belongs based on the hyperplane obtained from the given data set. Thus, the more the amount of meaningful data, the better the machine learning ability. In recent years, many financial experts have focused on machine learning, seeing the possibility of combining with machine learning and the financial field where vast amounts of financial data exist. Machine learning techniques have been proved to be powerful in describing the non-stationary and chaotic stock price dynamics. A lot of researches have been successfully conducted on forecasting of stock prices using machine learning algorithms. Recently, financial companies have begun to provide Robo-Advisor service, a compound word of Robot and Advisor, which can perform various financial tasks through advanced algorithms using rapidly changing huge amount of data. Robo-Adviser's main task is to advise the investors about the investor's personal investment propensity and to provide the service to manage the portfolio automatically. In this study, we propose a method of forecasting the Korean volatility index, VKOSPI, using the SVM model, which is one of the machine learning methods, and applying it to real option trading to increase the trading performance. VKOSPI is a measure of the future volatility of the KOSPI 200 index based on KOSPI 200 index option prices. VKOSPI is similar to the VIX index, which is based on S&P 500 option price in the United States. The Korea Exchange(KRX) calculates and announce the real-time VKOSPI index. VKOSPI is the same as the usual volatility and affects the option prices. The direction of VKOSPI and option prices show positive relation regardless of the option type (call and put options with various striking prices). If the volatility increases, all of the call and put option premium increases because the probability of the option's exercise possibility increases. The investor can know the rising value of the option price with respect to the volatility rising value in real time through Vega, a Black-Scholes's measurement index of an option's sensitivity to changes in the volatility. Therefore, accurate forecasting of VKOSPI movements is one of the important factors that can generate profit in option trading. In this study, we verified through real option data that the accurate forecast of VKOSPI is able to make a big profit in real option trading. To the best of our knowledge, there have been no studies on the idea of predicting the direction of VKOSPI based on machine learning and introducing the idea of applying it to actual option trading. In this study predicted daily VKOSPI changes through SVM model and then made intraday option strangle position, which gives profit as option prices reduce, only when VKOSPI is expected to decline during daytime. We analyzed the results and tested whether it is applicable to real option trading based on SVM's prediction. The results showed the prediction accuracy of VKOSPI was 57.83% on average, and the number of position entry times was 43.2 times, which is less than half of the benchmark (100 times). A small number of trading is an indicator of trading efficiency. In addition, the experiment proved that the trading performance was significantly higher than the benchmark.

기계학습(Machine Learning)은 인공 지능의 한 분야로, 데이터를 이용하여 기계를 학습시켜 기계 스스로가 데이터 분석 및 예측을 하게 만드는 것과 관련한 컴퓨터 과학의 한 영역을 일컫는다. 그중에서 SVM(Support Vector Machines)은 주로 분류와 회귀 분석을 목적으로 사용되는 모델이다. 어느 두 집단에 속한 데이터들에 대한 정보를 얻었을 때, SVM 모델은 주어진 데이터 집합을 바탕으로 하여 새로운 데이터가 어느 집단에 속할지를 판단해준다. 최근 들어서 많은 금융전문가는 기계학습과 막대한 데이터가 존재하는 금융 분야와의 접목 가능성을 보며 기계학습에 집중하고 있다. 그러면서 각 금융사는 고도화된 알고리즘과 빅데이터를 통해 여러 금융업무 수행이 가능한 로봇(Robot)과 투자전문가(Advisor)의 합성어인 로보어드바이저(Robo-Advisor) 서비스를 발 빠르게 제공하기 시작했다. 따라서 현재의 금융 동향을 고려하여 본 연구에서는 기계학습 방법의 하나인 SVM을 활용하여 매매성과를 올리는 방법에 대해 제안하고자 한다. SVM을 통한 예측대상은 한국형 변동성지수인 VKOSPI이다. VKOSPI는 금융파생상품의 한 종류인 옵션의 가격에 영향을 미친다. VKOSPI는 흔히 말하는 변동성과 같고 VKOSPI 값은 옵션의 종류와 관계없이 옵션 가격과 정비례하는 특성이 있다. 그러므로 VKOSPI의 정확한 예측은 옵션 매매에서의 수익을 낼 수 있는 중요한 요소 중 하나이다. 지금까지 기계학습을 기반으로 한 VKOSPI의 예측을 다룬 연구는 없었다. 본 연구에서는 SVM을 통해 일 중의 VKOSPI를 예측하였고, 예측 내용을 바탕으로 옵션 매매에 대한 적용 가능 여부를 실험하였으며 실제로 향상된 매매 성과가 나타남을 증명하였다.

Keywords

References

  1. Bae, M. K., "Profitability of Intra-day Short Volatility Strategy using Volatility Risk Premium," Master's dissertations, The Graduate School of Business IT, Kookmin University, 2011.
  2. Boser, B. E. and I. M. Guyon and V. N. Vapnik, A Training Algorithm for Optimal Margin Classifiers, COLT '92 Proceedings of the fifth annual workshop on Computational learning theory, 1992. Available at http://dl.acm.org/citation.cfm?doid=130385.130401 (Accessed 8 September, 2016).
  3. Cho, D., "Implied Volatilities of the KOSPI 200 Index Option Market," Korean Journal of Futures and Options, Vol.23, No.4(2015), 517-541.
  4. Choi, Y. S. and H. J. Lee, "Forecasting KOSPI 200 Volatility by Volatility Measurements," Communications of the Korean Statistical Society, Vol.17, No.2(2010), 293-308.
  5. Choi, H. S. and S. W. Kim and S. C. Park, "Analysis of Trading Performance on Intelligent Trading System for Directional Trading," Journal of Intelligence and Information Systems, Vol.17, No.3(2011), 187-201.
  6. Dimpfl, T. and S., Jank, "Can Internet Search Queries Help to Predict Stock Market Volatility?," European Financial Management, Vol.22, No.2(2016), 171-192. https://doi.org/10.1111/eufm.12058
  7. Flach, P., Machine Learning: The Art and Science of Algorithms that Make Sense of Data, Cambridge University Press, 2012.
  8. Ghysels, E. and B., Sohn, "Which power variation predicts volatility well?," Journal of Empirical Finance. Vol.16, No.4(2009), 686-700. https://doi.org/10.1016/j.jempfin.2009.03.002
  9. Jeong, J. H. and J. O. Lim and S. Y. Jei, "Comparative Study of the Spill-over in the Conditional Volatility and Dynamic Conditional Correlation of Various Stock Markets," The Korean Journal of Financial Engineering, Vol.11, No.1(2012), 1-16.
  10. Jeong, Y. G. and Y. S. Yun, "A Study on the Predictability of Stock Price Using Artificial Neural Network Model," The Korean Journal of Finance Management, Vol.15, No.2(1998), 369-399.
  11. Kim, S. W., "A Study on Developing a VKOSPI Forecasting Model via GARCH Class Models for Intelligent Volatility Trading Systems," Journal of Intelligence and Information Systems , Vol.16, No.2(2010), 19-32.
  12. Kim, S. W. and H. C. Ahn, "Development of an Intelligent Trading System using Support Vector Machines and Genetic Algorithms," Journal of Intelligence and Information Systems, Vol.16, No.1(2010), 71-92.
  13. Lantz, B., Machine Learning with R. Packt, Birmingham, UK, 2013.
  14. Li, X. and D. Lord and Y. Zhang and Y. Xie, "Predicting motor vehicle crashes using Support Vector Machine models," Accident Analysis & Prevention, Vol.40, No.4(2008), 1611-1618. https://doi.org/10.1016/j.aap.2008.04.010
  15. Lim, H. C. and Y. S. Choi, "Knock-In and Stocks Market Effect Due to ELS Issuance and Hedging," Korean Journal of Futures and Options, Vol.23, No.2(2015), 289-321.
  16. Moon, J. B., "A Study on VKOSPI Volatility Trading Strategy using VIX Index," Master's dissertations, The Graduate School of Business IT, Kookmin University, 2016.
  17. Oh, I. S., Pattern Recognition, Kyobobook, 2008.
  18. Park, S. C. and S. W. Kim and H. S. Choi, "Selection Model of System Trading Strategies using SVM," Journal of Intelligence and Information Systems, Vol.20, No.2(2014), 59-71.
  19. Park, S. H. and B. Hansen, "Prediction of Protein-Protein Interaction Sites Based on 3D Surface Patches Using SVM," Korea Information Processing Society, Vol.19, No.1(2012), 21-28
  20. Rajhans, R. K. and A. Jain, "Volatility Spillover," Paradigm, Vol.19, No.2(2015), 137-151. https://doi.org/10.1177/0971890715609846
  21. Sharma, R. K., "Developing Models to Predict the Stock Prices of Indian Automobile Giant Tata Motors Company Limited: An Empirical Analysis," Finance India, Vol.30, No.1(2016), 153-172.
  22. Siddiqui, T. A. and Y. Abdullah, "Developing a Nonlinear Model to Predict Stock Prices in India: An Artificial Neural Network Approach," IUP Journal of Applied Finance, Vol.21, No.1(2015), 36-49.
  23. Tay, F. E. H. and L. J. Cao, "Modified support vector machines in financial time series forecasting," Neurocomputing, Vol.48, No.1-4(2002), 847-861. https://doi.org/10.1016/S0925-2312(01)00676-2

Cited by

  1. Support Vector Regression을 이용한 GARCH 모형의 추정과 투자전략의 성과분석 vol.23, pp.2, 2016, https://doi.org/10.13088/jiis.2017.23.2.107
  2. 기계학습을 활용한 상품자산 투자모델에 관한 연구 vol.23, pp.4, 2016, https://doi.org/10.13088/jiis.2017.23.4.127
  3. 입력변수 및 학습사례 선정을 동시에 최적화하는 GA-MSVM 기반 주가지수 추세 예측 모형에 관한 연구 vol.23, pp.4, 2016, https://doi.org/10.13088/jiis.2017.23.4.147