Predicting the direction of stock markets using optimized neural networks with Google Trends

Hongping Hu, Li Tang, Shuhua Zhang, Haiyan Wang

Research output: Contribution to journalArticle

14 Citations (Scopus)

Abstract

The stock market is affected by many factors, such as political events, general economic conditions, and traders' expectations. Predicting the direction of stock markets movement has been one of the most widely investigated and challenging problems for investors and researchers as well. Many researchers focus on stock market analysis using advanced knowledge of mathematics, computer sciences, economics and many other disciplines. In this paper, we present an improved sine cosine algorithm (ISCA), which introduces an additional parameter into the sine cosine algorithm (SCA), to optimize the weights and basis of back propagation neural networks (BPNN). Thus, ISCA and BPNN are combined to create a new network, ISCA-BPNN, for predicting the directions of the opening stock prices for the S&P 500 and Dow Jones Industrial Average Indices, respectively. In addition, Google Trends data are taken into consideration for improving stock prediction. We analyze two types of prediction: Type I is the prediction without Google Trends and Type II is the prediction with Google Trends. The predictability of stock price direction is verified by using the hybrid ISCA-BPNN model. The experimental results indicate that ISCA-BPNN outperforms BPNN, GWO-BPNN, PSO-BPNN, WOA-BPNN and SCA-BPNN in terms of predicting the direction of the opening price for both types and significantly for Type II. The hit ratios for ISCA-BPNN with Google Trends reach 86.81% for the S&P 500 Index, and 88.98% for the Dow Jones Industrial Average Index. Our results show that Google Trends can help in predicting the direction of the stock market index.

Original languageEnglish (US)
JournalNeurocomputing
DOIs
StateAccepted/In press - Jan 1 2018

Fingerprint

Backpropagation
Neural networks
Economics
Research Personnel
Neural Networks (Computer)
Financial markets
Direction compound
Mathematics
Particle swarm optimization (PSO)
Computer science
Weights and Measures

Keywords

  • Back propagation neural network
  • Google Trends
  • Sine cosine algorithm
  • Stock price

ASJC Scopus subject areas

  • Computer Science Applications
  • Cognitive Neuroscience
  • Artificial Intelligence

Cite this

Predicting the direction of stock markets using optimized neural networks with Google Trends. / Hu, Hongping; Tang, Li; Zhang, Shuhua; Wang, Haiyan.

In: Neurocomputing, 01.01.2018.

Research output: Contribution to journalArticle

@article{a6bb7e0aef2d4fa2b07d37e976fa6037,
title = "Predicting the direction of stock markets using optimized neural networks with Google Trends",
abstract = "The stock market is affected by many factors, such as political events, general economic conditions, and traders' expectations. Predicting the direction of stock markets movement has been one of the most widely investigated and challenging problems for investors and researchers as well. Many researchers focus on stock market analysis using advanced knowledge of mathematics, computer sciences, economics and many other disciplines. In this paper, we present an improved sine cosine algorithm (ISCA), which introduces an additional parameter into the sine cosine algorithm (SCA), to optimize the weights and basis of back propagation neural networks (BPNN). Thus, ISCA and BPNN are combined to create a new network, ISCA-BPNN, for predicting the directions of the opening stock prices for the S&P 500 and Dow Jones Industrial Average Indices, respectively. In addition, Google Trends data are taken into consideration for improving stock prediction. We analyze two types of prediction: Type I is the prediction without Google Trends and Type II is the prediction with Google Trends. The predictability of stock price direction is verified by using the hybrid ISCA-BPNN model. The experimental results indicate that ISCA-BPNN outperforms BPNN, GWO-BPNN, PSO-BPNN, WOA-BPNN and SCA-BPNN in terms of predicting the direction of the opening price for both types and significantly for Type II. The hit ratios for ISCA-BPNN with Google Trends reach 86.81{\%} for the S&P 500 Index, and 88.98{\%} for the Dow Jones Industrial Average Index. Our results show that Google Trends can help in predicting the direction of the stock market index.",
keywords = "Back propagation neural network, Google Trends, Sine cosine algorithm, Stock price",
author = "Hongping Hu and Li Tang and Shuhua Zhang and Haiyan Wang",
year = "2018",
month = "1",
day = "1",
doi = "10.1016/j.neucom.2018.01.038",
language = "English (US)",
journal = "Neurocomputing",
issn = "0925-2312",
publisher = "Elsevier",

}

TY - JOUR

T1 - Predicting the direction of stock markets using optimized neural networks with Google Trends

AU - Hu, Hongping

AU - Tang, Li

AU - Zhang, Shuhua

AU - Wang, Haiyan

PY - 2018/1/1

Y1 - 2018/1/1

N2 - The stock market is affected by many factors, such as political events, general economic conditions, and traders' expectations. Predicting the direction of stock markets movement has been one of the most widely investigated and challenging problems for investors and researchers as well. Many researchers focus on stock market analysis using advanced knowledge of mathematics, computer sciences, economics and many other disciplines. In this paper, we present an improved sine cosine algorithm (ISCA), which introduces an additional parameter into the sine cosine algorithm (SCA), to optimize the weights and basis of back propagation neural networks (BPNN). Thus, ISCA and BPNN are combined to create a new network, ISCA-BPNN, for predicting the directions of the opening stock prices for the S&P 500 and Dow Jones Industrial Average Indices, respectively. In addition, Google Trends data are taken into consideration for improving stock prediction. We analyze two types of prediction: Type I is the prediction without Google Trends and Type II is the prediction with Google Trends. The predictability of stock price direction is verified by using the hybrid ISCA-BPNN model. The experimental results indicate that ISCA-BPNN outperforms BPNN, GWO-BPNN, PSO-BPNN, WOA-BPNN and SCA-BPNN in terms of predicting the direction of the opening price for both types and significantly for Type II. The hit ratios for ISCA-BPNN with Google Trends reach 86.81% for the S&P 500 Index, and 88.98% for the Dow Jones Industrial Average Index. Our results show that Google Trends can help in predicting the direction of the stock market index.

AB - The stock market is affected by many factors, such as political events, general economic conditions, and traders' expectations. Predicting the direction of stock markets movement has been one of the most widely investigated and challenging problems for investors and researchers as well. Many researchers focus on stock market analysis using advanced knowledge of mathematics, computer sciences, economics and many other disciplines. In this paper, we present an improved sine cosine algorithm (ISCA), which introduces an additional parameter into the sine cosine algorithm (SCA), to optimize the weights and basis of back propagation neural networks (BPNN). Thus, ISCA and BPNN are combined to create a new network, ISCA-BPNN, for predicting the directions of the opening stock prices for the S&P 500 and Dow Jones Industrial Average Indices, respectively. In addition, Google Trends data are taken into consideration for improving stock prediction. We analyze two types of prediction: Type I is the prediction without Google Trends and Type II is the prediction with Google Trends. The predictability of stock price direction is verified by using the hybrid ISCA-BPNN model. The experimental results indicate that ISCA-BPNN outperforms BPNN, GWO-BPNN, PSO-BPNN, WOA-BPNN and SCA-BPNN in terms of predicting the direction of the opening price for both types and significantly for Type II. The hit ratios for ISCA-BPNN with Google Trends reach 86.81% for the S&P 500 Index, and 88.98% for the Dow Jones Industrial Average Index. Our results show that Google Trends can help in predicting the direction of the stock market index.

KW - Back propagation neural network

KW - Google Trends

KW - Sine cosine algorithm

KW - Stock price

UR - http://www.scopus.com/inward/record.url?scp=85041218079&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=85041218079&partnerID=8YFLogxK

U2 - 10.1016/j.neucom.2018.01.038

DO - 10.1016/j.neucom.2018.01.038

M3 - Article

AN - SCOPUS:85041218079

JO - Neurocomputing

JF - Neurocomputing

SN - 0925-2312

ER -