Skip to main content

2018 | OriginalPaper | Buchkapitel

Stock Price Prediction with Fluctuation Patterns Using Indexing Dynamic Time Warping and \(k^*\)-Nearest Neighbors

verfasst von : Kei Nakagawa, Mitsuyoshi Imamura, Kenichi Yoshida

Erschienen in: New Frontiers in Artificial Intelligence

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Various methods to predict stock prices have been studied. A typical method is based on time-series analysis; other methods are based on machine-learning techniques using cross-sectional data as feature values. In the field of empirical finance, feature values for prediction include “momentum”. The momentum strategy is simply based on past prices. Following the nearest trend, we buy current performers. From the different viewpoint from momentum, We’d like to challenge EMH. Our proposed method is following the similar trend. In other word, we look for past pattern similar to the current and predict from that. When predicting stock prices, investors sometimes refer to past markets that are similar to the current market. In this research, we propose a method to predict future stock prices with the past fluctuations similar to the current. As the levels of stock prices differ depending on the measured period, we develop a scaling method to compensate for the difference of price levels and the proposed new method; specifically, we propose indexing dynamic time warping (IDTW) to evaluate the similarities between time-series data. We apply the \(k^*\)-nearest neighbor algorithm with IDTW to predict stock prices for major stock indices and to assist users in making informed investment decisions. To demonstrate the advantages of the proposed method, we analyze its performance using major world indices. Experimental results show that the proposed method is more effective for predicting monthly stock price changes than other methods proposed by previous studies (Based on the comments received in Ai-Biz 2017, we clarified the differences from previous studies. And we added economic discussions about our proposed method such as differences from “momentum”, a challenge to Efficient Market Hypothesis and meanings as investment behavior).

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
1
Volatility clustering is a phenomenon by which a period of high (low) volatility continues for some time after the volatility rises (decreases) [19].
 
2
The ticker codes are TPX Index, SPX Index, UKX Index, DAX Index, and CAC Index, respectively.
 
3
The parameter k ranged from 1 to 10 and parameter \(L/C\in \{0.001,0.005,0.01,0.05,0.1,0.5,1,5,10 \}\). These are the same setting as Anava and Levy [1].
 
Literatur
1.
Zurück zum Zitat Anava, O., Levy, K.: \(k^*\)-nearest neighbors: from global to local. In: Advances in Neural Information Processing Systems, pp. 4916–4924 (2016) Anava, O., Levy, K.: \(k^*\)-nearest neighbors: from global to local. In: Advances in Neural Information Processing Systems, pp. 4916–4924 (2016)
2.
Zurück zum Zitat Andrade, S.C., Chhaochharia, V., Fuerst, M.E.: “Sell in may and go away” just won’t go away. Finan. Anal. J. 69(4), 94 (2013)CrossRef Andrade, S.C., Chhaochharia, V., Fuerst, M.E.: “Sell in may and go away” just won’t go away. Finan. Anal. J. 69(4), 94 (2013)CrossRef
3.
Zurück zum Zitat Asness, C.S., Moskowitz, T.J., Pedersen, L.H.: Value and momentum everywhere. J. Finan. 68(3), 929–985 (2013)CrossRef Asness, C.S., Moskowitz, T.J., Pedersen, L.H.: Value and momentum everywhere. J. Finan. 68(3), 929–985 (2013)CrossRef
4.
Zurück zum Zitat Bergmeir, C., Benítez, J.M.: On the use of cross-validation for time series predictor evaluation. Inf. Sci. 191, 192–213 (2012)CrossRef Bergmeir, C., Benítez, J.M.: On the use of cross-validation for time series predictor evaluation. Inf. Sci. 191, 192–213 (2012)CrossRef
5.
Zurück zum Zitat Bollerslev, T.: Generalized autoregressive conditional heteroskedasticity. J. Econom. 31(3), 307–327 (1986)MathSciNetCrossRef Bollerslev, T.: Generalized autoregressive conditional heteroskedasticity. J. Econom. 31(3), 307–327 (1986)MathSciNetCrossRef
6.
Zurück zum Zitat Bouman, S., Jacobsen, B.: The halloween indicator, “sell in may and go away”: another puzzle. Am. Econ. Rev. 92(5), 1618–1635 (2002)CrossRef Bouman, S., Jacobsen, B.: The halloween indicator, “sell in may and go away”: another puzzle. Am. Econ. Rev. 92(5), 1618–1635 (2002)CrossRef
7.
Zurück zum Zitat Box, G.E., Jenkins, G.M., Reinsel, G.C., Ljung, G.M.: Time Series Analysis: Forecasting and Control. Wiley, Hoboken (2015)MATH Box, G.E., Jenkins, G.M., Reinsel, G.C., Ljung, G.M.: Time Series Analysis: Forecasting and Control. Wiley, Hoboken (2015)MATH
8.
Zurück zum Zitat Cavalcante, R.C., Brasileiro, R.C., Souza, V.L., Nobrega, J.P., Oliveira, A.L.: Computational intelligence and financial markets: a survey and future directions. Expert Syst. Appl. 55, 194–211 (2016)CrossRef Cavalcante, R.C., Brasileiro, R.C., Souza, V.L., Nobrega, J.P., Oliveira, A.L.: Computational intelligence and financial markets: a survey and future directions. Expert Syst. Appl. 55, 194–211 (2016)CrossRef
9.
Zurück zum Zitat Coelho, M.S.: Patterns in financial markets: dynamic time warping. Ph.D. thesis, NSBE-UNL (2012) Coelho, M.S.: Patterns in financial markets: dynamic time warping. Ph.D. thesis, NSBE-UNL (2012)
10.
Zurück zum Zitat Fama, E.F.: Efficient capital markets: a review of theory and empirical work. J. Finan. 25(2), 383–417 (1970)CrossRef Fama, E.F.: Efficient capital markets: a review of theory and empirical work. J. Finan. 25(2), 383–417 (1970)CrossRef
11.
Zurück zum Zitat Fama, E.F., French, K.R.: The cross-section of expected stock returns. J. Finan. 47(2), 427–465 (1992)CrossRef Fama, E.F., French, K.R.: The cross-section of expected stock returns. J. Finan. 47(2), 427–465 (1992)CrossRef
12.
Zurück zum Zitat Fama, E.F., French, K.R.: Common risk factors in the returns on stocks and bonds. J. Financ. Econ. 33(1), 3–56 (1993)CrossRef Fama, E.F., French, K.R.: Common risk factors in the returns on stocks and bonds. J. Financ. Econ. 33(1), 3–56 (1993)CrossRef
13.
Zurück zum Zitat Hamilton, J.D.: Time Series Analysis, vol. 2. Princeton University Press, Princeton (1994)CrossRef Hamilton, J.D.: Time Series Analysis, vol. 2. Princeton University Press, Princeton (1994)CrossRef
14.
Zurück zum Zitat Imamura, M., Nakagawa, K., Yoshida, K.: Evaluation of financial market forecasting with using similarity of asset price fluctuation patterns (in Japanese). In: The 31st Annual Conference of the Japanese Society for Artificial Intelligence, p. 2D1-2 (2017) Imamura, M., Nakagawa, K., Yoshida, K.: Evaluation of financial market forecasting with using similarity of asset price fluctuation patterns (in Japanese). In: The 31st Annual Conference of the Japanese Society for Artificial Intelligence, p. 2D1-2 (2017)
15.
Zurück zum Zitat Itakura, F.: Minimum prediction residual principle applied to speech recognition. IEEE Trans. Acoust. Speech Sig. Process. 23(1), 67–72 (1975)CrossRef Itakura, F.: Minimum prediction residual principle applied to speech recognition. IEEE Trans. Acoust. Speech Sig. Process. 23(1), 67–72 (1975)CrossRef
16.
Zurück zum Zitat Jegadeesh, N., Titman, S.: Returns to buying winners and selling losers: implications for stock market efficiency. J. Finan. 48(1), 65–91 (1993)CrossRef Jegadeesh, N., Titman, S.: Returns to buying winners and selling losers: implications for stock market efficiency. J. Finan. 48(1), 65–91 (1993)CrossRef
17.
Zurück zum Zitat Keogh, E.J., Pazzani, M.J.: Scaling up dynamic time warping for datamining applications. In: Proceedings of the Sixth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 285–289. ACM (2000) Keogh, E.J., Pazzani, M.J.: Scaling up dynamic time warping for datamining applications. In: Proceedings of the Sixth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 285–289. ACM (2000)
18.
Zurück zum Zitat Kuramoto, T., Izumi, K., Yoshimura, S., Ishida, T., Nakashima, A., Matsui, T., Yoshida, M., Nakagawa, H.: Analysis of long-term market trend by text-mining of news articles (in Janapnese). Trans. Jpn. Soc. Artif. Intell. 28(3), 291–296 (2013)CrossRef Kuramoto, T., Izumi, K., Yoshimura, S., Ishida, T., Nakashima, A., Matsui, T., Yoshida, M., Nakagawa, H.: Analysis of long-term market trend by text-mining of news articles (in Janapnese). Trans. Jpn. Soc. Artif. Intell. 28(3), 291–296 (2013)CrossRef
19.
Zurück zum Zitat Mandelbrot, B.: The variation of certain speculative prices. J. Bus. 36(4), 394–419 (1963)CrossRef Mandelbrot, B.: The variation of certain speculative prices. J. Bus. 36(4), 394–419 (1963)CrossRef
20.
Zurück zum Zitat Nakagawa, K., Imamura, M., Yoshida, K.: Stock price prediction using similarity of stock price fluctuation patterns (in Japanese). In: The 31st Annual Conference of the Japanese Society for Artificial Intelligence, p. 2D1-1 (2017) Nakagawa, K., Imamura, M., Yoshida, K.: Stock price prediction using similarity of stock price fluctuation patterns (in Japanese). In: The 31st Annual Conference of the Japanese Society for Artificial Intelligence, p. 2D1-1 (2017)
21.
Zurück zum Zitat Stone, M.: Cross-validatory choice and assessment of statistical predictions. J. R. Stat. Soc. Ser. B (Methodol.) 36, 111–147 (1974)MathSciNetMATH Stone, M.: Cross-validatory choice and assessment of statistical predictions. J. R. Stat. Soc. Ser. B (Methodol.) 36, 111–147 (1974)MathSciNetMATH
Metadaten
Titel
Stock Price Prediction with Fluctuation Patterns Using Indexing Dynamic Time Warping and -Nearest Neighbors
verfasst von
Kei Nakagawa
Mitsuyoshi Imamura
Kenichi Yoshida
Copyright-Jahr
2018
DOI
https://doi.org/10.1007/978-3-319-93794-6_7