Stock rise and fall prediction method based on multi-task self-supervised learning

A technology of supervised learning and prediction method, which is applied in the field of stock ups and downs prediction based on multi-task self-supervised learning, which can solve the problem that artificial features cannot make full use of stock signals, and achieve high accuracy.

Inactive Publication Date: 2021-07-23
EAST CHINA NORMAL UNIV +1
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 2) Artificial features cannot make full use of informative stock signals, which inevitably leads to suboptimal predictions
However, for sequences of financial data, there are no direct labels that can be used to construct auxiliary tasks for self-supervised learning models
Furthermore, it is challenging to incorporate multiple auxiliary tasks in a unified approach to mine complex financial signals

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 rise and fall prediction method based on multi-task self-supervised learning
  • Stock rise and fall prediction method based on multi-task self-supervised learning
  • Stock rise and fall prediction method based on multi-task self-supervised learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0138] The stock market trend prediction method for learning stock sequence embeddings in self-supervised multi-task is carried out as follows:

[0139] S1: Collect stock data with daily frequency, including 6-dimensional data of highest price, lowest price, opening price, closing price, transaction volume, and transaction amount, and perform preprocessing such as de-extreme value and standardization on the collected data, and divide them into Training set, verification set and test set, the stock data from January 1, 2018 to December 31, 2019 is used as the training set, and 10% of the last time is divided from the training set as the verification set, and January 2020 is used The data from September 1st to September 30th, 2020 is used as the test set.

[0140] S2: The anchor-sample sequence is obtained by sampling in the data set. Taking Shanghai Pudong Development Bank as an example with the stock code 600000, when k=5, at time t=January 11, 2019, take the last 5 trading da...

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 rise and fall prediction method based on multi-task self-supervised learning, which can automatically learn valuable features from original financial signals and predict the rise and fall of stocks by taking the features as signals. Specifically, the invention realizes a stock technical data sequence encoder based on Transform and an attention mechanism, designs a plurality of self-supervision auxiliary tasks to train the encoder, and encodes stock sequence data by using the trained encoder. Finally, based on the long-short-term memory neural network and the feedforward neural network, sequence representation is learned, and the rise and fall of the stock is predicted. A large number of experiments carried out on a real stock data set show that the features learned by the method are effective signals for predicting the rise and fall of the stock, and the method has leading accuracy in the aspect of predicting the rise and fall of the stock.

Description

technical field [0001] The invention relates to the technical fields of financial quantification and artificial intelligence, in particular to a method for predicting stock rise and fall based on multi-task self-supervised learning. Background technique [0002] Stock trend forecasting is an important task in the financial industry, which has a huge impact on individual investors and the national economy. Using predictive models to predict stock trends has always been people's expectation. During the long research, researchers found that generating representative features is the core of predictive models. However, in practical applications, the characteristics and patterns of stock price fluctuations are highly unstable and diverse. Therefore learning meaningful stock features is challenging for market trend prediction. [0003] Traditional forecasting methods usually use the daily data of stocks as time series signals, and then use classic machine learning methods, such a...

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/04G06Q10/04G06Q30/02G06N3/04G06N3/08
CPCG06Q40/04G06Q10/04G06Q30/0201G06Q30/0202G06N3/049G06N3/084G06N3/045
Inventor 应泽林董涛程大伟杨芳洲刘金严一博罗轶凤
Owner EAST CHINA NORMAL UNIV
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