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

Stock transaction method and system based on reinforcement learning algorithm and time sequence model

A technology of time series model and reinforcement learning, applied in computing model, machine learning, computing, etc., can solve the problems of uneven stock trend forecasting quality, difficulty for investors to obtain information value, difficulty in making trading decisions, etc.

Pending Publication Date: 2022-01-11
JINAN UNIVERSITY
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the current Internet financial websites and terminal programs provide stock information such as the current stock price, the highest and lowest price of the trading day, the opening and closing prices of the trading day, trading volume, price-earnings ratio and other basic data, Historical information, without statistical integration of information, has limited use value, and it is difficult for investors to obtain sufficient information value from it
In addition, the qualitative analysis provided by self-media and economic analysts related to financial products, and the quality of stock trend forecasts vary, so investors are easily influenced by their subjectivity, and it is difficult to make reasonable trading decisions

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 transaction method and system based on reinforcement learning algorithm and time sequence model
  • Stock transaction method and system based on reinforcement learning algorithm and time sequence model
  • Stock transaction method and system based on reinforcement learning algorithm and time sequence model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0023] as attached figure 1 , 2 As shown, the stock trading method based on reinforcement learning algorithm and time series model in this embodiment includes the following steps:

[0024] S1. Data preprocessing

[0025] Sort the collected stock data by category, filter erroneous data and duplicate data, normalize the data, and obtain the stock data set after the preprocessing is completed.

[0026] S1.1. Data collection and arrangement

[0027] Organize the collected stock data by category into two main components: basic stock price data and enterprise operating index data. Among them, the basic stock price data include: opening price, closing price, highest price, lowest price, and trading volume during the stock trading period, and enterprise operating index data include: trading status, rolling price-earnings ratio, price-to-book ratio, rolling price-sales ratio, rolling market rate.

[0028] S1.2. Data filtering and cleaning

[0029] Filter and clean the collected o...

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 relates to the field of deep reinforcement learning and financial quantitative transaction, in particular to a stock transaction method and system based on a reinforcement learning algorithm and a time series model, and the method comprises the steps: data preprocessing, sorting collected stock data according to categories, filtering wrong data and repeated data, normalizing the data, and after preprocessing is completed, obtaining a stock data set; establishing a time sequence model to predict a stock price, dividing a stock basic price data set, establishing and training a time sequence GRU model which can be used for stock basic price data, and outputting a stock prediction price; enabling the stock transaction reinforcement learning model to output a decision, and adopting a PPO algorithm to train an intelligent agent to obtain the reinforcement learning model applied to the stock transaction so as to output an action decision of the stock transaction. According to the invention, information hidden in stock basic data can be fully mined, a reasonable transaction decision is made in a stock transaction environment, and a reference is provided for real stock transaction related personnel.

Description

technical field [0001] The invention relates to the fields of deep reinforcement learning and financial quantitative trading, and in particular to a stock trading method and system based on reinforcement learning algorithms and time series models. Background technique [0002] In recent years, with the widespread popularization of financial knowledge and the rapid promotion of financial products, people's awareness of financial investment has increased, and their participation in financial product investment has increased. Many of them are investors or related practitioners who conduct stock transactions. Since the rate of return of financial products, especially stock trading, is higher than that of general investment products, investors need to bear higher investment risks. Therefore, making reasonable and effective decisions in the process of stock trading, that is, performing appropriate operations at the right time, such as buying or selling a certain percentage of stoc...

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): G06Q40/04G06Q30/02G06N20/00
CPCG06Q40/04G06Q30/0202G06N20/00
Inventor 黄斐然梁中铭罗颂宽刘炜麟刘旭扬刘文骁
Owner JINAN 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