| Literature DB >> 30140278 |
Ping-Feng Pai1, Ling-Chuang Hong1, Kuo-Ping Lin2,3.
Abstract
Historical trading data, which are inevitably associated with the framework of causality both financially and theoretically, were widely used to predict stock market values. With the popularity of social networking and Internet search tools, information collection ways have been diversified. Instead of only theoretical causality in forecasting, the importance of data relations has raised. Thus, the aim of this study was to investigate performances of forecasting stock markets by data from Google Trends, historical trading data (HTD), and hybrid data. The keywords employed for Google Trends are collected from three different ways including users' definitions (GTU), trending searches of Google Trends (GTTS), and tweets (GTT) correspondingly. The hybrid data include Internet search trends from Google Trends and historical trading data. In addition, the correlation-based feature selection (CFS) technique is used to select independent variables, and one-step ahead policy is adopted by the least squares support vector regression (LSSVR) for predicting stock markets. Numerical experiments indicate that using hybrid data can provide more accurate forecasting results than using single historical trading data or data from Google Trends. Thus, using hybrid data of Internet search trends and historical trading data by LSSVR models is a promising alternative for forecasting stock markets.Entities:
Mesh:
Year: 2018 PMID: 30140278 PMCID: PMC6081535 DOI: 10.1155/2018/6305246
Source DB: PubMed Journal: Comput Intell Neurosci
Figure 1The proposed stock market-forecasting framework.
Three hybrid data sets.
| Hybrid data types | Components |
|---|---|
| Hybrid data I | GTU data and HTD |
| Hybrid data II | GTTS data and HTD |
| Hybrid data III | GTT data and HTD |
Google Trends search keywords determined by users.
| Stock markets/corporations | Keywords |
|---|---|
| DJIA | dow jones, dow jones average, dow jones industrial |
| RUT | russell 2000, russell index, russell index 2000 |
| S&P 500 | s&p 500, s&p 500 index, standard & poor's 500 |
| VIX | vix, vix index, vix s&p 500 |
| IXIC | nasdaq, nasdaq stock, nasdaq-stock exchange |
| APPL | aapl, apple stock, aapl stock |
| GOOGL | alphabet, alphabet stock, google stock |
| MSFT | msft, microsoft stock, msft stock |
Google Trends search keywords determined by trending searches.
| Stock markets/corporations | Keywords |
|---|---|
| DJIA | dow jones industrial average, dow jones industrial average today, dow jones industrial average stocks, apple stock, euro to dollar, spdr dow jones industrial average etf, aapl, lowes stock, ftse 100, us dollar to mexican peso exchange rate, tenneco stock |
|
| |
| RUT | russell 2000 index, etf russell 2000, russell 2000 stock, russell 2000 index fund, russell 2000 futures, s&p 500, vanguard russell 2000, russell 2000 value, ishares russell 2000, s&p 500 index, russell 2000 stock price, russell 2000 today, russell 2000 growth index, russell 2000 components, s&p 400 |
|
| |
| S&P 500 | s&p 500 index, s&p 500 stock, etf s&p 500, etf, s&p 500 futures, s&p 500 index fund, vanguard s&p 500, vanguard, dow, s&p 500 returns, s&p 500 funds, stocks, s&p 500 stocks, s&p 500 price, stock market s&p 500, stock market, dow jones, what is s&p 500, s&p 500 chart, s&p 500 index funds, index funds, nasdaq, spdr s&p 500, spdr, s&p 500 companies |
|
| |
| VIX | vix,volatility, vix futures, volatility index, vix index, vix options, vix volatility, cboe, vix stock, s&p 500, vix trading, cboe vix, s&p 500 vix, vix chart, vix etf, vxx, cboe volatility index, india vix, vix future, spx, volatility s&p 500 |
|
| |
| IXIC | nasdaq composite, stock, nasdaq stock, stocks nasdaq, stocks, nasdaq market, nasdaq stock market, stock market, nasdaq index, dow, nasdaq futures, dow jones, what is nasdaq, nasdaq omx, oil nasdaq, nasdaq 100, nasdaq today, nasdaq etf, nasdaq stock price, nyse, s&p 500, oil price, nasdaq oil price, nasdaq chart, penny stocks nasdaq, nasdaq stock exchange |
|
| |
| APPL | stock aapl, aapl stock price, aapl stock price today, aapl stocks, dow, tsla stock, aapl options, aapl futures, aapl dividend, qqq, aapl nbc, amd stock, aapl chart, aapl ticker, spy stock, aapl stock news, aapl dividend date, amazon stock, aapl options chain, aapl option chain, aapl stock quote, aapl outstanding shares, twlo stock, aa stock, nyse aapl, aapl |
|
| |
| GOOGL | stock googl, googl stock price, amzn stock, amzn, amazon stock, aapl, facebook stock, googl stock price today, aapl stock, amzn stock price today, alphabet |
| MSFT | stock msft, msft stock price, msft dividend, msft stock price today, msft stocks, amazon stock, msft ex dividend date, googl stock, djia dow jones industrial average, MSFT |
Google Trends search keywords determined by tweets.
| Stock markets/corporations | Keywords |
|---|---|
| DJIA | dow jones industrial average, industrial average, dow jones, dow jones industrial, dow jones industrial average futures, dow jones industrial average today, spdr dow jones industrial average etf, close of trade, djia dow jones industrial average, u.s. stocks, record high, dow jones industrial average index, wall street, us stocks, jones industrial average, news dow jones industrial average, the dow jones industrial average, new york, stock market, industrial average today, high close, money morning, djia dow jones, dow stocks, dow jones industrial average etf |
|
| |
| RUT | russell 2000 index, ishares russell, russell 2000, index etf, short interest, index fund, wave life sciences, union bankshares, small-cap russell, options trade short russell, index trading, unusual options activity, savings institute bank, recent interest, tpi composites, small caps, new study, delta apparel, one chart, index stock, small stocks, index performance, planet payment, jon najarian, trump administration, argos therapeutics, small-cap stocks, index companies, etf trade, small cap russell, index funds, small cap stocks, aqua metals, russell indexes, options new, great dividend stocks, index shares, mbt financial corp, index rise, short term view, index move, index constituents |
|
| |
| S&P 500 | dow jones, wall street, stock market, bull market, stock market update, e-mini s&p 500, spdr s&p 500, index fund, s&p global, s&p 500, united states, stock market index, market extra, dow jones industrial average, indice s&p 500, us markets, us stocks, trading outlook, technical outlook, u.s. stocks, spy s&p 500, trump rally, dow futures, technical analysis, record highs, record high, market close, bank of America, trading days, futures s&p 500, swing long, stock index, volatility s&p 500, wall st., dish network, market snapshot, dow jones futures, new highs, market correction, el dow jones, straight weeks, top earners, trump's speech, u.s. stock futures, index funds, futures vs, new post, the treasury market, warren buffett, us stock market, new record |
|
| |
| VIX | low volatility, volatility index, election volatility, market volatility, implied volatility, cboe volatility index, realized volatility, brexit volatility, low volatility etf, stocks volatility, daily volatility, spy volatility, high volatility, trading video, long volatility, call option, high beta, low volatility index, historical volatility, trading days, vix volatility index, volatility etf, vix index, vix futures, index options, minimum volatility, united states, volatility index etf, stock market, sector etfs, strategy video, volatility etfs, annualized volatility |
|
| |
| IXIC | nasdaq composite, nasdaq composite index, composite index, dow jones, record high, wall street, nasdaq index, record close, close report, new York, nasdaq composite stock index, of Nasdaq, stock market update, dow jones industrial average, dow jones industrial, record highs, new record high, ytd dow jones, all-time high, new record, wall st., composite stock index, u.s. stocks, us stocks, new highs |
|
| |
| APPL | apple inc., apple iphone, apple watch, apple stock, apple tv, new iphone apple music, apple ios, aapl stock, aapl apple, tim cook, new macbook, apple stock price, apple aapl, apple macbook, iphone sales, apple shares, apple store, apple watch series, apple earnings, apple ceo, new post, apple airpods, apple the iphone, aapl iphone, aapl, next iphone, apple car, aapl earnings, apple tim cook, apple news, apple app store, apple watch sales, aapl shares, new apple watch, apple releases, apple iphone sales, apple new iphone, apple new macbook, next week, iphone 6s, apple ipad, apple new, iphone, apple support, macos sierra, aapl watch, aapl price, touch bar, apple tax, apple event, aapl chart, apple next iphone, apple will, apple patent, apple tv app, apple history, shares of apple, headphone jack, black iphone, apple sales, aapl stock market, apple analyst, new iphones, apple tax ruling, apple stores, apple maps, next apple watch, apple products, steve jobs |
|
| |
| GOOGL | alphabet inc., googl google, googl stock, googl shares, googl earnings, google inc., new post, google home, google maps, google googl, google pixel, google stock, google fiber, apple inc., google play, amazon, apple, alphabet stock, tech stocks, alphabet earnings, google earnings, facebook inc., google assistant, alphabet inc. stock, business google, fang stocks, googl search, alphabet googl, google cloud, googl pixel, google parent alphabet, google news, google search, twitter inc., wall street, google stock market |
|
| |
| MSFT | microsoft corporation, microsoft windows, microsoft, msft stock, msft, microsoft corp, microsoft surface, microsoft xbox, msft microsoft, microsoft azure, microsoft office, microsoft stock, new xbox, microsoft band, new windows, apple, microsoft edge, microsoft releases, microsoft health, microsoft teams, microsoft cloud, microsoft hololens, microsoft earnings, microsoft store, new Microsoft, new post, tech stocks, windows phone, msft azure, microsoft msft, bill gates, microsoft dynamics, cloud business, microsoft ceo, nokia, surface book, surface, microsoft surface studio, microsoft surface book, windows store, microsoft twitter, Microsoft employees, microsoft shares, new surface, surface studio, msft earnings, anniversary update, microsoft deal, last earnings, satya nadella, stock update, microsoft surface phone, microsoft lumia, microsoft software, cloud services, surfacebook, msft surface, surface phone, business microsoft, microsoft corporation stock, microsoft co, microsoft partners, microsoft cortana, xbox ones, microsoft partner, new features |
Selected keywords obtained from trending searches by using CFS.
| Stock markets/corporations | Keywords |
|---|---|
| DJIA | dow jones industrial average stocks, lowes stock, ftse 100, tenneco stock, dow jones industrial average |
| RUT | russell 2000 index, etf russell 2000, russell 2000 stock, russell 2000 futures, vanguard russell 2000, s&p 500 index, russell 2000 today |
| S&P 500 | vanguard, s&p 500 returns, s&p 500 price |
| VIX | volatility, volatility index, s&p 500 vix, vxx |
| IXIC | stocks, oil nasdaq, oil price, penny stocks Nasdaq |
| APPL | aapl dividend, amd stock, aapl stock news, amazon stock, aapl option chain, twlo stock, aa stock |
| GOOGL | amazon stock, amzn stock price today, alphabet |
| MSFT | amazon stock, msft ex dividend date, dow jones industrial average |
Selected keywords obtained from tweets by using CFS.
| Stock markets/corporations | Keywords |
|---|---|
| DJIA | dow jones industrial average futures, dowjones industrial average, jones industrial average, dow stocks |
| RUT | russell 2000, short interest, index trading, small caps, small stocks, trump administration |
| S&P 500 | bull market, index fund, dow jones industrial average, technical outlook, record highs, bank of america, market correction, index funds, new post, warren buffett |
| VIX | volatility index, market volatility, brexit volatility, united states, volatility etfs |
| IXIC | record close, dow jones industrial average, record highs, all-time high, new record, composite stock index |
| APPL | apple inc., apple stock, apple watch series, apple earnings, apple app store, iphone 6s, apple support, touch bar, apple tax, aapl chart, apple history |
| GOOGL | googl earnings, google inc., google pixel, amazon, apple, alphabet earnings, business google, googl search, alphabet googl, google news, google search |
| MSFT | microsoft, microsoft office, new windows, microsoft teams, microsoft store, tech stocks, msft azure, bill gates, nokia, surface book, windows store, microsoft twitter, last earnings, surface phone, business microsoft |
Selected keywords and historical data attributes obtained from hybrid data I by using CFS.
| Stock markets/corporations | Keywords |
|---|---|
| DJIA | dow jones, closing values, trading volume |
| RUT | russell 2000, closing values |
| S&P 500 | S&P 500 index, closing values |
| VIX | minimum values, closing values |
| IXIC | maximum values, minimum values, closing values |
| APPL | apple stock, closing values |
| GOOGL | minimum values, closing values, trading volume |
| MSFT | microsoft stock, opening values, closing values |
Selected keywords and historical data attributes obtained from hybrid data II by using CFS.
| Stock markets/corporations | Keywords |
|---|---|
| DJIA | spdr dow jones industrial average etf, us dollar to mexican peso exchange rate, tenneco stock, closing values, trading volume |
| RUT | etf russell 2000, vanguard russell 2000, russell 2000 stock price, russell 2000 today, closing values |
| S&P 500 | s&p 500 index fund, spdr, s&p 500 companies, closing values |
| VIX | vix chart, volatility s&p 500, minimum values, closing values |
| IXIC | penny stocks nasdaq, maximum values, minimum values, closing values |
| APPL | amd stock, aapl dividend date, amazon stock, twlo stock, aa stock, closing values |
| GOOGL | minimum values, closing values, trading volume |
| MSFT | msft ex dividend date, googl stock, dow jones industrial average, opening values, closing values |
Selected keywords and historical data attributes obtained from hybrid data III by using CFS.
| Stock markets/corporations | Keywords |
|---|---|
| DJIA | u.s. stocks, record high, new york, closing values, trading volume |
| RUT | russell 2000 index, small-cap Russell, index trading, tpi composites, trump administration, options new, closing values |
| S&P 500 | bull market, index fund, technical outlook, record highs, bank of america, closing values |
| VIX | long volatility, minimum volatility, sector etfs, minimum values, closing values |
| IXIC | composite index, stock market update, all-time high, new record, closing values |
| APPL | apple inc., apple earnings, apple app store, iphone 6s, touch bar, apple history, closing values |
| GOOGL | amazon, alphabet earnings, business google, minimum values, closing values, trading volume |
| MSFT | microsoft, microsoft teams, new pos, tmsft azure, windows store, last earnings, surface phone, opening values, closing values |
Values of forecasting indices and LSSVR parameters of DJIA.
| Data types |
|
| MAPE | MAE |
|---|---|---|---|---|
| GTU | 286.7519 | 1.0311 | 5.7590 | 1185.752 |
| Hybrid data I | 11.8648 | 254.2168 | 0.9355 | 193.511 |
| Hybrid data I with CFS | 31.6798 | 179.0302 | 0.8123 | 167.9605 |
| GTTS | 299.8416 | 148.7305 | 8.6149 | 1774.018 |
| GTTS with CFS | 299.8510 | 121.4957 | 6.3921 | 1317.742 |
| Hybrid data II | 69.1964 | 216.8693 | 1.5655 | 323.6668 |
| Hybrid data II with CFS | 263.8273 | 299.9348 | 0.7848 | 161.9244 |
| GTT | 299.8481 | 188.0274 | 4.4101 | 912.5717 |
| GTT with CFS | 156.0704 | 213.6443 | 4.1227 | 851.3273 |
| Hybrid data III | 239.8938 | 299.8602 | 0.8263 | 170.6021 |
| Hybrid data III with CFS | 41.3638 | 162.1620 | 0.7903 | 163.2619 |
| Historical data | 8.9820 | 212.0598 | 0.9360 | 193.6717 |
Values of forecasting indices and LSSVR parameters of RUT.
| Data types |
|
| MAPE | MAE |
|---|---|---|---|---|
| GTU | 28.7932 | 1.0322 | 4.1351 | 57.26787 |
| Hybrid data I | 47.1233 | 280.9206 | 0.6887 | 9.558448 |
| Hybrid data I with CFS | 187.6684 | 299.9894 | 0.6446 | 8.944846 |
| GTTS | 299.6459 | 58.3971 | 3.8909 | 54.00228 |
| GTTS with CFS | 288.4127 | 1.6575 | 4.7660 | 66.03728 |
| Hybrid data II | 299.8630 | 298.7397 | 0.8047 | 11.17783 |
| Hybrid data II with CFS | 242.8707 | 258.5781 | 0.5860 | 8.132567 |
| GTT | 142.0803 | 299.9982 | 6.0535 | 83.95828 |
| GTT with CFS | 299.2949 | 36.2646 | 4.5243 | 62.78645 |
| Hybrid data III | 275.9271 | 299.9795 | 4.4557 | 61.93947 |
| Hybrid data III with CFS | 290.5348 | 299.9864 | 0.6833 | 9.474567 |
| Historical data | 15.9065 | 212.8006 | 0.6543 | 9.062642 |
Values of forecasting indices and LSSVR parameters of S&P 500.
| Data types |
|
| MAPE | MAE |
|---|---|---|---|---|
| GTU | 286.0031 | 1.3630 | 5.2607 | 123.5923 |
| Hybrid data I | 296.4163 | 21.8955 | 2.4812 | 58.47516 |
| Hybrid data I with CFS | 299.9114 | 299.7517 | 0.3227 | 7.563877 |
| GTTS | 299.9900 | 178.2046 | 2.5083 | 58.97946 |
| GTTS with CFS | 299.1337 | 53.7133 | 3.0600 | 71.94199 |
| Hybrid data II | 81.3331 | 299.3654 | 0.7000 | 16.47316 |
| Hybrid data II with CFS | 299.8863 | 42.0948 | 0.4111 | 9.662183 |
| GTT | 295.725783 | 299.853066 | 3.5048 | 82.56633 |
| GTT with CFS | 299.736734 | 28.149033 | 4.3884 | 103.0099 |
| Hybrid data III | 294.392728 | 299.987257 | 2.4173 | 57.06461 |
| Hybrid data III with CFS | 299.833343 | 217.828272 | 1.0020 | 23.61675 |
| Historical data | 276.3041 | 117.9110 | 0.7883 | 18.59049 |
Values of forecasting indices and LSSVR parameters of VIX.
| Data types |
|
| MAPE | MAE |
|---|---|---|---|---|
| GTU | 13.3603 | 1.1941 | 14.1340 | 1.6245 |
| Hybrid data I | 158.7245 | 299.7233 | 3.8714 | 0.4455 |
| Hybrid data I with CFS | 299.9185 | 164.9604 | 3.6115 | 0.4164 |
| GTTS | 2.4697 | 36.8100 | 16.2766 | 1.8678 |
| GTTS with CFS | 299.9363 | 163.1365 | 15.3256 | 1.7562 |
| Hybrid data II | 94.8736 | 299.7342 | 4.3329 | 0.5021 |
| Hybrid data II with CFS | 164.3688 | 299.2222 | 3.9557 | 0.4553 |
| GTT | 17.6774 | 299.8496 | 17.4122 | 1.9839 |
| GTT with CFS | 47.4322 | 7.8556 | 17.9481 | 2.0552 |
| Hybrid data III | 25.4548 | 299.5653 | 4.3524 | 0.5017 |
| Hybrid data III with CFS | 299.4207 | 204.1631 | 3.4112 | 0.3945 |
| Historical data | 299.8795 | 265.0368 | 3.9465 | 0.4540 |
Values of forecasting indices and LSSVR parameters of IXIC.
| Data types |
|
| MAPE | MAE |
|---|---|---|---|---|
| GTU | 299.3550 | 2.5105 | 6.6582 | 386.1416 |
| Hybrid data I | 272.0069 | 299.9858 | 0.3309 | 19.1456 |
| Hybrid data I with CFS | 298.6805 | 299.9605 | 0.3755 | 21.7364 |
| GTTS | 299.6967 | 40.4296 | 4.3866 | 254.6377 |
| GTTS with CFS | 299.9400 | 14.9974 | 1.7051 | 99.0539 |
| Hybrid data II | 215.4590 | 299.9670 | 0.6410 | 37.0282 |
| Hybrid data II with CFS | 299.8119 | 299.9796 | 0.3200 | 18.5165 |
| GTT | 278.2689 | 171.0348 | 6.3860 | 370.6502 |
| GTT with CFS | 297.1919 | 12.0165 | 7.4833 | 433.7651 |
| Hybrid data III | 242.2756 | 299.9197 | 0.6113 | 35.2682 |
| Hybrid data III with CFS | 299.8552 | 113.7700 | 0.7048 | 40.7125 |
| Historical data | 297.5621 | 299.8541 | 0.3524 | 20.3881 |
Values of forecasting indices and LSSVR parameters of the Apple corporation.
| Data types |
|
| MAPE | MAE |
|---|---|---|---|---|
| GTU | 299.654 | 2.026 | 16.549 | 22.304 |
| Hybrid data I | 299.868 | 58.567 | 6.432 | 8.744 |
| Hybrid data I with CFS | 296.624 | 3.189 | 14.037 | 19.054 |
| GTTS | 299.393 | 80.071 | 15.437 | 20.895 |
| GTTS with CFS | 299.623 | 284.702 | 14.015 | 18.947 |
| Hybrid data II | 299.934 | 299.323 | 7.197 | 9.786 |
| Hybrid data II with CFS | 299.994 | 185.826 | 2.739 | 3.712 |
| GTT | 289.855 | 4.202 | 15.845 | 21.417 |
| GTT with CFS | 151.192 | 8.150 | 14.463 | 19.556 |
| Hybrid data III | 290.552 | 299.978 | 13.824 | 18.680 |
| Hybrid data III with CFS | 297.215 | 299.939 | 2.371 | 3.147 |
| Historical data | 298.335 | 14.179 | 10.233 | 13.967 |
Values of forecasting indices and LSSVR parameters of the Alphabet corporation.
| Data types |
|
| MAPE | MAE |
|---|---|---|---|---|
| GTU | 15.835 | 56.168 | 2.739 | 3.712 |
| Hybrid data I | 86.419 | 299.910 | 0.440 | 3.689 |
| Hybrid data I with CFS | 113.595 | 299.957 | 0.480 | 4.027 |
| GTTS | 2.094 | 298.483 | 4.581 | 38.667 |
| GTTS with CFS | 295.316 | 20.147 | 4.030 | 34.086 |
| Hybrid data II | 265.706 | 299.892 | 1.146 | 9.585 |
| Hybrid data II with CFS | 113.288 | 299.833 | 0.480 | 4.027 |
| GTT | 1.001 | 284.345 | 4.383 | 37.005 |
| GTT with CFS | 80.220 | 3.854 | 4.730 | 39.973 |
| Hybrid data III | 33.772 | 274.467 | 2.162 | 18.136 |
| Hybrid data III with CFS | 135.191 | 299.891 | 0.463 | 3.894 |
| Historical data | 299.903 | 17.300 | 0.442 | 3.719 |
Values of forecasting indices and LSSVR parameters of the Microsoft Corporation.
| Data types |
|
| MAPE | MAE |
|---|---|---|---|---|
| GTU | 289.734 | 2.215 | 7.243 | 4.670 |
| Hybrid data I | 299.981 | 279.951 | 0.560 | 0.361 |
| Hybrid data I with CFS | 295.796 | 299.845 | 0.577 | 0.372 |
| GTTS | 298.544 | 3.452 | 6.011 | 3.870 |
| GTTS with CFS | 299.382 | 1.059 | 6.391 | 4.120 |
| Hybrid data II | 296.317 | 299.957 | 1.254 | 0.809 |
| Hybrid data II with CFS | 296.490 | 16.132 | 1.425 | 0.919 |
| GTT | 291.903 | 18.957 | 7.274 | 4.685 |
| GTT with CFS | 43.700 | 10.620 | 6.119 | 3.941 |
| Hybrid data III | 294.953 | 299.952 | 6.764 | 4.355 |
| Hybrid data III with CFS | 296.273 | 299.994 | 0.912 | 0.589 |
| Historical data | 113.445 | 2.280 | 0.727 | 0.469 |
Figure 2Closing values of the DJIA stock market.
Figure 3Closing values of the RUT stock market.
Figure 4Closing values of the S&P 500 stock market.
Figure 5Closing values of the VIX stock market.
Figure 6Closing values of the IXIC stock market.
Figure 7Closing values of the Apple corporation.
Figure 8Closing values of the Alphabet corporation.
Figure 9Closing values of the Microsoft Corporation.