Trend prediction method based on attention mechanism and reinforcement learning
A technology of reinforcement learning and trend prediction, applied in the field of information science, can solve problems such as price evolution, and achieve the effect of reducing decision-making errors
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0110] Such as figure 1 As shown, a trend prediction method based on attention mechanism and reinforcement learning includes the following steps:
[0111] S1: Select a futures product and obtain the historical futures market data of the selected product;
[0112] S2: Perform data cleaning on the data;
[0113] S3: Preprocess the data;
[0114] S4: Use pre-processed data to pre-train the feature extraction model;
[0115] S5: Splicing the output of the feature extraction model with the original data for reinforcement learning model training;
[0116] S6: Use the trained reinforcement learning model for decision-making, and derive the decision-making sequence;
[0117] S7: Test on the backtest platform.
[0118] In this example, first select the futures variety, try to choose a variety with a longer establishment time and a larger trading volume, and according to the fractal theory, judge whether the futures is suitable for data enhancement through testing, to a certain ext...
Embodiment 2
[0120] Such as figure 1 As shown, a trend prediction method based on attention mechanism and reinforcement learning includes the following steps:
[0121] S1: Select a futures product and obtain the historical futures market data of the selected product;
[0122] S2: Perform data cleaning on the data;
[0123] S3: Preprocess the data;
[0124] S4: Use pre-processed data to pre-train the feature extraction model;
[0125] S5: Splicing the output of the feature extraction model with the original data for reinforcement learning model training;
[0126] S6: Use the trained reinforcement learning model for decision-making, and derive the decision-making sequence;
[0127] S7: Test on the backtest platform.
[0128] The specific process of step S1 is:
[0129] S11: Due to the high noise of financial data, compared with other machine learning tasks, training trend prediction models often requires more data to achieve better results. The selected data is minute-level data. Accor...
Embodiment 3
[0140] Such as figure 1 As shown, the present invention provides a trend prediction method based on attention mechanism and reinforcement learning, comprising the following steps:
[0141] S1: Select the futures product according to the fractal theory, and obtain the historical futures market data of the selected product, including the following steps:
[0142] S11: Calculate skewness and kurtosis based on futures historical market data, and screen futures varieties. When 1
[0143] Skewness SKE, also known as the third standard central moment of the probability model, is usually used to describe the symmetry of the data, and the calculation formula is as follows:
[0144]
[0145] Kurtosis KUR, also known as the fourth standard central moment of the probability model, is usually used to describe the tail thickness of the data, and the calculat...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com