Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Stock prediction method based on ARMA-LSTM model

A prediction method and model technology, applied in the field of machine learning and pattern recognition, can solve the problems of slow training, accurate determination that cannot be quantified, overfitting, etc., to achieve fast learning, reduce errors, and improve the effect of prediction ability.

Inactive Publication Date: 2018-06-12
BEIJING UNIV OF TECH
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the determination of the model order (p, q), there are currently two methods, one is to determine through the autocorrelation diagram ACF and the partial autocorrelation diagram PACF, this method can only be determined empirically, and cannot be quantified accurately Determine; the second is to quantify and determine through the AIC or BIC information criterion (generally, the smaller the value, the better the model), but in actual experiments, it is found that the AIC calculated by many time series data is negative and does not converge to a certain value. A specific order, so it is difficult to accurately find a reasonable p, q to achieve model validity detection
At the same time, for neural networks (such as multi-layer BP neural network, RNN neural network), we know that it solves parameters through iterative operations, which inevitably has disadvantages such as slow training speed, convergence to local optimal solutions, and overfitting.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Stock prediction method based on ARMA-LSTM model
  • Stock prediction method based on ARMA-LSTM model
  • Stock prediction method based on ARMA-LSTM model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] In order to illustrate the accuracy and effectiveness of this algorithm, let's take stock forecasting as a specific example to give further details:

[0048] Step 1 Data selection and processing: Without loss of generality, we randomly selected 3 stocks, namely Shanghai Pudong Development Bank (600000), Sinopec (600028), and CITIC Securities (600030), and then selected 160 days in the historical data, Among them, the first 150 days are used for training, and the last 10 days are used to verify the prediction regression error of the model, respectively, Shanghai Pudong Development Bank 2013-11-15-2014-07-14, Sinopec 2015-06-10-2016-02 -02, CITIC Securities 2016-07-13-2017-03-24.

[0049] In step 2, the data is first-order differenced to obtain a stationary data sequence.

[0050] Step 3 Initialize p, q

[0051] Step 4 uses the maximum likelihood estimation method to solve the ARMA model parameters.

[0052] Step 5 Get the fitting sequence of the ARMA model and get the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a stock prediction method based on an ARMA-LSTM model, and the method comprises the steps: carrying out the regression fitting and prediction of the stock sequence data throughan ARMA model, carrying out the training and prediction of a residual error sequence through an LSTM model, and finally adding the two results as a final prediction result. The stock transaction datais related with the historical data, and comprises a linear correlation part and a nonlinear correlation part, so the method achieves the fitting of the data sequence through employing the ARMA modelin advance, and the linear part of the data sequence is extracted, thereby speeding up the convergence of the LSTM training, and improving the prediction capability of the LSTM for the nonlinear partso as to reduce the local convergence phenomena.

Description

technical field [0001] The invention belongs to the technical field of machine learning and pattern recognition, and in particular relates to a stock prediction method based on an ARMA-LSTM model, which can accurately predict future stock prices by using historical stock price sequences. Background technique [0002] In the vast universe and the long river of history, it seems that all things develop with the change of time. We believe that the development of everything is composed of certain regularity and randomness. As long as we collect corresponding historical data at different points in time, this type of data can reflect the law of a certain thing, phenomenon, etc. over time, and these data are called time series data. Stock data is also a kind of time-series data. Changes in stock prices reflect the trend of the economic market and also reflect the development of the country's economy. Therefore, for the research on stocks, discovering the rules of change can better ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06Q10/04G06Q30/02G06Q40/04
CPCG06Q10/04G06Q30/0206G06Q40/04
Inventor 蒋强荣刘长坤
Owner BEIJING UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products