Adaptive stock prediction method of hidden Markov model based on multi-characteristic factor

A prediction method, multi-feature technology, used in data processing applications, character and pattern recognition, instrumentation, etc.

Inactive Publication Date: 2018-07-03
BEIJING UNIV OF TECH
View PDF0 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At present, the research in the industry is still doing some statistical analysis models in the direction of finance, such as: pendulum theory model, small market value theory, Alpha model, attribution analysis, alpaca and turtle strategy, etc. These traditional methods have achieved ceiling, or there is no way to break through the bottleneck, you can use machine learning methods to find out more from the nature of data and the inherent natural development laws of the market without the constraints of too many financial frameworks, and there will be more Good results. At present, various algorithms have been done preliminary research in the industry, but better models still need to be optimized and improved, in order to better integrate with actual problems

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
  • Adaptive stock prediction method of hidden Markov model based on multi-characteristic factor
  • Adaptive stock prediction method of hidden Markov model based on multi-characteristic factor
  • Adaptive stock prediction method of hidden Markov model based on multi-characteristic factor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0045] The present invention mainly consists of stock data and HMM. The stock data is the trading day data of the Shanghai and Shenzhen Index from 2007.1.4-2017.4.10. The algorithm is an HMM that assumes first-order Markov and the independence of the state and observation values ​​at the current time point.

[0046] S1 data preparation:

[0047] Step 1: Collect data through Caijing.com, Scapy, and indicator calculation formulas, such as Image 6 shown.

[0048] Step 2: Perform preprocessing such as normalization and regularization on the collected data.

[0049] Step 3: Divide the preprocessed collected stock data into a training data set and a testing data set.

[0050] S2 build model parameters:

[0051] Step 1: Use python's hmmlearn.hmm to learn the internal parameters of the hmm algorithm, which is the core algorithm of this model, usi...

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 discloses an adaptive stock prediction method of a HMM (hidden Markov model) based on multi-characteristic factors; the method mainly comprises stock sample data and the HMM; the stock prediction concept based on HMM comprises the following steps: marking time points of history data in a hidden state so as to classify time points; searching history points with consistent classification marks of the day before a to-be-predicted date; calculating to obtain the increase and decrease amounts of the history points and the date after the history points, and estimating the closing priceresidual errors of the to-be-predicted date and the previous day. The method uses multi-characteristic attributes, and uses stock market value capital, technology and momentum indexes as primary election characteristics; the attributes with a stronger prediction capability are selected by various methods so as to serve as characteristic vectors; compared with a method using less characteristics,the adaptive stock prediction method is better in prediction capability.

Description

technical field [0001] The invention belongs to the technical field of stock forecasting, and relates to an HMM-based stock index trend classification forecasting method. Background technique [0002] In the 1960s, Baum proposed the Hidden Markov Model, which was then widely known to researchers and enthusiasts through the use in the field of speech recognition. In 1988, Kai-fu Lee’s doctoral thesis, the speech recognition software based on HMM was evaluated. important invention. Renaissance Technology Corporation is a well-known international investment institution. Since 1989, it has maintained a super high annual rate of return and has been hailed as the most efficient hedge fund in the industry. It is through the unique mathematical model to capture market opportunities for quantitative investment. Hidden Markov models are one of the company's main tools. Therefore, it is of practical significance to try HMM for forecasting in financial markets. [0003] The stock ma...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06K9/62G06Q40/04
CPCG06Q40/04G06F18/2135G06F18/295G06F18/214
Inventor 蒋强荣张军超
Owner BEIJING UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products