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

Method of analyzing stock trends

A stock and trend technology, applied in the field of stock trend analysis based on ADB particle swarm optimization random forest algorithm, to achieve the effect of improving forecast accuracy, fast convergence speed and reducing stock forecast time

Pending Publication Date: 2020-11-06
SHANGHAI MARITIME UNIVERSITY
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to solve the shortcomings of the original BPSO-RF model, through the introduction of multi-point velocity vectors and the improvement of adaptive velocity values ​​in the discrete binary particle swarm, the global optimal value search ability and the convergence speed of complex optimization problems are improved, thereby improving the random forest Algorithmic Accuracy and Reduced Prediction Time

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
  • Method of analyzing stock trends
  • Method of analyzing stock trends
  • Method of analyzing stock trends

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The core of the method for analyzing stock trends proposed by the present invention is to use the ADB particle swarm algorithm to find optimal features at a faster speed, improve the random forest algorithm at the same time, eliminate redundant features, and retain optimal features for stock trend analysis. In the following, the present invention will be described in detail by describing preferred specific embodiments in conjunction with the accompanying drawings. The method flow process of the analysis stock trend that the present invention proposes is as follows figure 1 as shown, figure 2 It is a diagram of specific steps of the method for analyzing stock trends proposed by the present invention.

[0038] In the method for analyzing stock trends proposed by the present invention, step S1 is to obtain stock data to form a characteristic data set, which is characterized by technical indicators generally accepted by investors and used to judge the rise and fall of sto...

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 a method for analyzing a stock trend. The method comprises steps of obtaining stock data through the method, and forming a feature data set; secondly, initializing the speed and position information of the stock data set, updating a local optimal value point of each particle point and the iteration step number and the self-adaptive speed value of each particle in each dimension, updating the speeds and positions of all the particle points, and finding a global optimal value point of the population from historical local optimal value points of all the particles; and finally, constructing a data matrix according to the optimal features, performing RF classification on the data matrix to obtain a classification result, performing stock prediction, and comparing the prediction result accuracy with a BPSO-RF algorithm. According to the method, the optimized discrete binary particle swarm is utilized to improve the random forest algorithm, remove redundant features, screen optimal features and input the optimal features into the RF algorithm for stock prediction, so the prediction precision is improved, the method provided by the invention has a high convergence rate, can find a better optimal value of the target function in the same iteration step, and reduces the stock prediction time.

Description

technical field [0001] The invention belongs to the field of finance and machine learning, and specifically relates to a method for analyzing stock trends based on ADB particle swarm optimization random forest algorithm Background technique [0002] On July 22, 2019, stocks on the Science and Technology Innovation Board were officially traded on the Shanghai Stock Exchange. Analyzing stock market prices is very challenging due to the uncertainty of stock market conditions. Generally speaking, there are two ways to analyze stock price trends. One is fundamental, which mainly considers the company’s annual rate of return; the other is technical, which is mainly based on mathematical analysis of past stock data, including statistical calculations and machine learning. The most important methods of machine learning are support vector machines, neural networks and random forest algorithms. These methods are widely used in the financial field and have achieved good results. Amo...

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): G06Q40/06G06Q10/04G06Q10/06G06N3/00
CPCG06N3/006G06Q10/04G06Q10/06G06Q40/06
Inventor 周珺妮史小宏
Owner SHANGHAI MARITIME UNIVERSITY
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