CN110659767A - Stock trend prediction method based on LSTM-CNN deep learning model - Google Patents
Stock trend prediction method based on LSTM-CNN deep learning model Download PDFInfo
- Publication number
- CN110659767A CN110659767A CN201910723665.8A CN201910723665A CN110659767A CN 110659767 A CN110659767 A CN 110659767A CN 201910723665 A CN201910723665 A CN 201910723665A CN 110659767 A CN110659767 A CN 110659767A
- Authority
- CN
- China
- Prior art keywords
- trend
- lstm
- turning point
- price
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000013136 deep learning model Methods 0.000 title claims abstract description 8
- 238000013527 convolutional neural network Methods 0.000 claims abstract description 35
- 230000006870 function Effects 0.000 claims abstract description 26
- 238000010606 normalization Methods 0.000 claims abstract description 23
- 238000007781 pre-processing Methods 0.000 claims abstract description 4
- 238000012549 training Methods 0.000 claims description 32
- 230000008569 process Effects 0.000 claims description 14
- 238000013507 mapping Methods 0.000 claims description 13
- 238000004364 calculation method Methods 0.000 claims description 12
- 230000004913 activation Effects 0.000 claims description 11
- 230000003068 static effect Effects 0.000 claims description 8
- 239000011159 matrix material Substances 0.000 claims description 7
- 238000013528 artificial neural network Methods 0.000 claims description 6
- 238000011156 evaluation Methods 0.000 claims description 6
- 238000007635 classification algorithm Methods 0.000 claims description 5
- 238000012360 testing method Methods 0.000 claims description 5
- 238000004458 analytical method Methods 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 230000007774 longterm Effects 0.000 claims description 4
- 238000005259 measurement Methods 0.000 claims description 4
- 230000001419 dependent effect Effects 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 3
- 230000009466 transformation Effects 0.000 claims description 3
- 238000012795 verification Methods 0.000 claims description 3
- 230000002779 inactivation Effects 0.000 claims 2
- 230000003213 activating effect Effects 0.000 claims 1
- 230000001174 ascending effect Effects 0.000 claims 1
- 230000000630 rising effect Effects 0.000 claims 1
- 238000004422 calculation algorithm Methods 0.000 abstract description 3
- 238000003062 neural network model Methods 0.000 abstract description 3
- 230000000694 effects Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000002123 temporal effect Effects 0.000 description 4
- 238000013473 artificial intelligence Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 230000009849 deactivation Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000013519 translation Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000007418 data mining Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000004445 quantitative analysis Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000003442 weekly effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2465—Query processing support for facilitating data mining operations in structured databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Finance (AREA)
- Databases & Information Systems (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Game Theory and Decision Science (AREA)
- Probability & Statistics with Applications (AREA)
- Fuzzy Systems (AREA)
- Technology Law (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Evolutionary Computation (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Description
技术领域technical field
本发明涉及金融时间序列的研究,具体是应用LSTM和CNN两种神经网络相结合的方法,对股票趋势进行预测。The invention relates to the research of financial time series, in particular to predicting the stock trend by applying the method of combining two neural networks, LSTM and CNN.
背景技术Background technique
随着全球经济的发展,中国的金融市场发展面临着更大的机遇和挑战。金融市场内容丰富,产品主要包括债券、期货、外汇、股票等,其价格的波动是重点关注的对象。With the development of the global economy, China's financial market development faces greater opportunities and challenges. The financial market is rich in content, and its products mainly include bonds, futures, foreign exchange, stocks, etc. The price fluctuations are the focus of attention.
股票作为金融市场中重要的一部分,是金融市场的风向标。股票市场的波动与投资者的利益息息相关,成为众多投资者、金融机构的关注焦点。As an important part of the financial market, stocks are the weather vane of the financial market. The volatility of the stock market is closely related to the interests of investors, and has become the focus of attention of many investors and financial institutions.
通过对股票历史价格波动、交易数据等进行定量分析,利用数据挖掘、人工智能等技术提供参考,对于投资者具有重要意义。近年来,随着人工智能领域取得的技术性突破,人工智能技术再一次被引起公众的重视。Quantitative analysis of historical stock price fluctuations, transaction data, etc., and the use of data mining, artificial intelligence and other technologies to provide reference is of great significance to investors. In recent years, with the technological breakthroughs in the field of artificial intelligence, artificial intelligence technology has once again attracted the attention of the public.
Hocherative S和Schmidhuber J提出LSTM神经网络模型适用于具有时序特性的数据领域的特征分析。CNN早期是由Fukushima K提出了卷积神经网络的雏形,偏向于识别静态性特征,此特征同样适用于金融数据,相邻时间内联系较强,再将局部特征进行提取。Hocherative S and Schmidhuber J proposed that the LSTM neural network model is suitable for feature analysis in the data domain with time series characteristics. In the early days of CNN, the prototype of the convolutional neural network was proposed by Fukushima K, which was inclined to identify static features. This feature is also suitable for financial data. The connection is strong in adjacent time, and then local features are extracted.
发明内容SUMMARY OF THE INVENTION
与目前应用单一的神经网络对股票数据进行分析、预测不同,基于LSTM-CNN网络模型对股票价格波动进行分析,通过神经网络从股票数据提取时序和静态特征,并对股票趋势的转折点以及未来走势进行预测。Different from the current application of a single neural network to analyze and predict stock data, the stock price fluctuation is analyzed based on the LSTM-CNN network model, and the time series and static features are extracted from the stock data through the neural network. Make predictions.
本发明解决其技术问题所采用的技术方案是:The technical scheme adopted by the present invention to solve its technical problems is:
一种基于LSTM-CNN深度学习模型的股票趋势预测方法,包括以下步骤:A stock trend prediction method based on LSTM-CNN deep learning model, including the following steps:
步骤1:数据预处理Step 1: Data Preprocessing
选择股票市场的股票数据进行分析与验证,整体数据集分为训练集和测试集;Select the stock data of the stock market for analysis and verification, the overall data set is divided into training set and test set;
步骤1.1:特征选择和归一化Step 1.1: Feature Selection and Normalization
所述特征为交易数据和技术指标,交易数据需要进行归一化处理;技术指标是由交易数据计算获得,在计算过程中已经包含归一化过程;The features are transaction data and technical indicators, and the transaction data needs to be normalized; the technical indicators are calculated from the transaction data, and the normalization process is already included in the calculation process;
首先对原始交易数据进行归一化,在股票数据中,存在持续上升或持续下降的行情中,创新高或新低是金融数据中的常见现象,因此,对价格与成交量分别设计归一化方法;First, normalize the original transaction data. In the stock data, when the market continues to rise or fall, new highs or new lows are common phenomena in financial data. Therefore, a normalization method is designed for price and trading volume respectively. ;
价格归一化:对于每个时间窗口的股票数据进行量化。以股票序列首位值为基准价格,计算相对跌涨幅,公式如(1)所示对每个时间窗口内的数据进行单独归一化;Price normalization: Quantify stock data for each time window. Take the first position of the stock sequence as the benchmark price to calculate the relative price increase. The formula is as shown in (1) to separately normalize the data in each time window;
对于每个训练样本,在t0,t1,…,ti,tm时刻对应的收盘价为P0,P1,…,Pi,Pm.其中μ是平均收盘价,m为滑动窗大小;For each training sample, the corresponding closing prices at times t 0 , t 1 ,…, t i , t m are P 0 , P 1 ,…, P i , P m . Where μ is the average closing price, and m is the sliding window size;
成交量的归一化:在一只股票整体时间序列上进行计算,公式如(2)所示:Normalization of trading volume: Calculated on the overall time series of a stock, the formula is shown in (2):
在Ti时刻,成交量为Vi,基于成交量归一化得到的特征值为Vxi,常数项m通常与时间窗口大小相等,则一只股票的前m个时间点只用作数据处理,不划入样本;At time T i , the trading volume is V i , the eigenvalue obtained based on the normalization of trading volume is Vx i , the constant term m is usually equal to the time window size, then the first m time points of a stock are only used for data processing , not included in the sample;
完成对收盘价与成交量的归一化,计算序列的技术指标值分别为MACD、RSI和KDJ-J,将其都作为输入数据;After completing the normalization of closing price and trading volume, the technical indicator values of the calculation sequence are MACD, RSI and KDJ-J respectively, which are all used as input data;
步骤1.2:标定趋势位置Step 1.2: Calibrate the trend position
研究股票中长期的价格趋势,定义了转折点,根据转折点对趋势定量化,得到趋势位置,并依此对数据标签进行标定;Study the medium and long-term price trends of stocks, define the turning points, quantify the trend according to the turning points, get the trend position, and calibrate the data labels accordingly;
趋势转折点包括波峰位置的顶部转折点与波谷位置的底部转折点,当价格处于底部转折点时,意味着价格即将上升,反之亦然。在实际行情中,价格一直处于波动之中,产生不同振幅的波动,从而产生多个转折点,对模型识别的转折点进行量化,具体的定义如下:Trend turning points include the top turning point at the peak position and the bottom turning point at the trough position. When the price is at the bottom turning point, it means that the price is about to rise, and vice versa. In the actual market, the price has been fluctuating, resulting in fluctuations of different amplitudes, resulting in multiple turning points. The turning points identified by the model are quantified. The specific definitions are as follows:
股票价格序列在T1,T2,T3时刻所对应的收盘价分别为P1,P2,P3,设定一参数称为趋势阈值δ,当满足条件(4)时,且T2时刻价格为T1至T3期间内的最低点,则认为T2时刻为一段趋势的底部转折点;The closing prices corresponding to the stock price sequence at T 1 , T 2 , and T 3 are P 1 , P 2 , and P 3 respectively, and a parameter is set called the trend threshold δ. When condition (4) is satisfied, and T 2 If the moment price is the lowest point in the period from T 1 to T 3 , the moment T 2 is considered to be the bottom turning point of a trend;
与底部转折点类似,当满足条件(5)时,且T2时刻价格为T1至T3期间内的最高点,则认为T2时刻为一段趋势的顶部转折点,其走势如图1右图所示。值得注意的是,底部转折点与顶部转折点计算过程应均以低价位为基准,否则在同一阈值δ下,底部转折点与顶部转折点确立所需要的波动绝对值不同,会产生偏差;Similar to the bottom turning point, when the condition ( 5 ) is satisfied, and the price at time T2 is the highest point in the period from T1 to T3, then the time at T2 is considered as the top turning point of a trend, and its trend is shown in the right picture of Figure 1 . Show. It is worth noting that the calculation process of the bottom turning point and the top turning point should be based on the low price, otherwise under the same threshold δ, the absolute value of the fluctuation required for the establishment of the bottom turning point and the top turning point will be different, which will cause deviations;
当某一底部转折点确定后,其后的序列便定义为上升趋势,直至遇到下一个顶部转折点,同理,当某一顶部转折点确定后,其后的序列便定义为下跌趋势,直至遇到下一个底部转折点;When a bottom turning point is determined, the subsequent sequence is defined as an upward trend until it encounters the next top turning point. Similarly, when a top turning point is determined, the subsequent sequence is defined as a downward trend until it encounters the next top turning point. next bottom turning point;
确定时间序列的底部和顶部转折点确定后,将当前的股票价格映射到趋势中相对位置,将趋势位置作为LSTM-CNN模型的直接预测目标,实现对未来价格趋势的预测,趋势位置的标定方法如下:After determining the bottom and top turning points of the time series, map the current stock price to the relative position in the trend, and use the trend position as the direct prediction target of the LSTM-CNN model to predict the future price trend. The calibration method of the trend position is as follows :
1.2.1,根据转折点定义,可以获得一组序列所有的底部转折点与顶部转折点,底部转折点处趋势位置标为0,顶部转折点处趋势位置标为100;1.2.1, according to the definition of turning point, all bottom turning points and top turning points of a set of sequences can be obtained, the trend position at the bottom turning point is marked as 0, and the trend position at the top turning point is marked as 100;
1.2.2,位于底部转折点与顶部转折点之间的趋势位置值按照公式(6)进行计算,其中,PL与PH为一组相邻的底部与顶部转折点;1.2.2, the trend position value between the bottom turning point and the top turning point is calculated according to formula (6), where PL and PH are a set of adjacent bottom and top turning points;
时间序列的最后一段趋势,无法确定最后一段价格的顶部或底部转折点,故对无法确定部分不进行标记,且不纳入训练数据;For the last trend of the time series, the top or bottom turning point of the last price cannot be determined, so the undetermined part is not marked and is not included in the training data;
步骤2:使用LSTM-CNN预测模型对股票价格趋势进行预测,步骤如下:Step 2: Use the LSTM-CNN prediction model to predict the stock price trend, the steps are as follows:
步骤2.1:网络模型构建,步骤如下:Step 2.1: Network model construction, the steps are as follows:
LSTM-CNN模型包括三部分,一部分为LSTM时序特征学习层;另一部分为CNN静态特征学习层,与LSTM部分同步进行;最后一部分为全连接输出层,通过将前两种模型的输出串联合并,再构建全连接神经网络。The LSTM-CNN model consists of three parts, one part is the LSTM time series feature learning layer; the other part is the CNN static feature learning layer, which is synchronized with the LSTM part; the last part is the fully connected output layer, by combining the outputs of the first two models in series, Then build a fully connected neural network.
第一部分是由三个LSTM层组成的,如图3中的(a)部分所示。LSTM的输入矩阵大小为。其中k为训练特征个数,m为滑动时间窗的大小。如图所示L1层中包含M个时间节点对应的LSTM单元,每个LSTM单元的输入由k个特征组成,其中包含交易数据和技术指标。L1层中每个单元经过训练分别输出作为L2层每个单元的输入,同样的,L2层的输出作为L3层的输入。L2、L3层的训练方式与L1层相同。最后,将L3层最后一个时间节点对应的LSTM单元的输出作为a部分的结果;The first part is composed of three LSTM layers, as shown in part (a) in Figure 3. The input matrix size of LSTM is . where k is the number of training features, and m is the size of the sliding time window. As shown in the figure, the L1 layer contains LSTM units corresponding to M time nodes, and the input of each LSTM unit consists of k features, including transaction data and technical indicators. Each unit in the L1 layer is trained and output as the input of each unit in the L2 layer. Similarly, the output of the L2 layer is used as the input of the L3 layer. The L2 and L3 layers are trained in the same way as the L1 layer. Finally, the output of the LSTM unit corresponding to the last time node of the L3 layer is used as the result of part a;
第二部分由三个卷积层和一个LSTM层组成,如图3中的(b)部分所示。在本部分中,输入矩阵与(a)部分中的输入矩阵相同;首先通过三个卷积层提取价格与技术指标之间的局部相关信息。三个卷积层后接一个LSTM层。通过LSTM层分析了所提取的局部依赖信息中的时间关系;The second part consists of three convolutional layers and one LSTM layer, as shown in part (b) in Figure 3. In this section, the input matrix is the same as in section (a); the local correlation information between price and technical indicators is first extracted through three convolutional layers. Three convolutional layers followed by an LSTM layer. The temporal relationship in the extracted local dependency information is analyzed through the LSTM layer;
最后一部分由三个完全连接的层组成。LSTM和CNN分别提取时间和静态信息,合并为新的特征序列。此特征序列是全连接的层的输入。最后输出模型的最终预测结果,即趋势位置。另外,在全连接层之间应用了随机失活(dropout)方法可以断开两个连接层之间的某些节点,最终结果不完全依赖于特定节点。随机失活方法明显减少过度拟合问题;The last part consists of three fully connected layers. LSTM and CNN extract temporal and static information, respectively, and merge into a new feature sequence. This feature sequence is the input to the fully connected layer. Finally, the final prediction result of the model is output, which is the trend position. In addition, applying a random dropout method between fully connected layers can disconnect some nodes between two connected layers, and the final result is not completely dependent on a specific node. The random deactivation method significantly reduces the overfitting problem;
步骤2.2:激活函数Step 2.2: Activation function
在LSTM网络中使用ELU作为激活函数,公式如(7):Using ELU as the activation function in the LSTM network, the formula is as (7):
φ(x)=max(0,x) (7)φ(x)=max(0,x) (7)
训练使用的网络结构如图4所示,训练过程需要对网络模型进行配置,在LSTM单元中,需要设定激活函数、输入输出维度,在CNN单元中,需要设定激活函数、卷积核大小;The network structure used for training is shown in Figure 4. The training process needs to configure the network model. In the LSTM unit, the activation function and input and output dimensions need to be set. In the CNN unit, the activation function and the size of the convolution kernel need to be set. ;
步骤2.3:模型训练策略构建,为模型的训练设计了加权损失函数,步骤如下:Step 2.3: Build a model training strategy, and design a weighted loss function for model training. The steps are as follows:
趋势位置的取值范围为有限区间[0,100],在此区间内所对应的不同位置的应用价值不同,本发明对其进行加权测量,提出一种转折区域代价敏感的损失函数;The value range of the trend position is a limited interval [0, 100], and the application values of different positions corresponding to this interval are different. The present invention performs weighted measurement on it, and proposes a cost-sensitive loss function in the turning area;
首先对目标值y与预测值进行等比例缩放与平移,使目标值处于区间[-1,1]内,公式(8)为转换方法,c为一较小实数,用来保证对数与分母计算对象不为零,使用arctanh公式(9),对目标值z与预测值进行映射,通过映射过程实现权值分配,Y与分别为变换加权后的真实值与预测值;First, compare the target value y with the predicted value Perform equal scaling and translation to make the target value in the interval [-1,1], formula (8) is the conversion method, c is a small real number, used to ensure that the logarithm and denominator calculation objects are not zero, use arctanh Formula (9), for the target value z and the predicted value Mapping is carried out, and weight distribution is achieved through the mapping process, and Y and are the true value and the predicted value after the transformation and weighting, respectively;
目标值与预测值经过映射加权后,再应用MSE对其测量误差,得到WMSE(10)即为预测模型的损失函数。通过加权,可以使训练速度加快,同时在一定程度上降低模型复杂度;After the target value and the predicted value are weighted by mapping, MSE is applied to measure the error, and WMSE(10) is obtained, which is the loss function of the prediction model. Through weighting, the training speed can be accelerated, and the model complexity can be reduced to a certain extent;
步骤3:误差评估标准Step 3: Error Evaluation Criteria
预测目标是预测趋势位置和底部转折点,分别考虑这两个方面的准确率;The prediction goal is to predict the trend position and the bottom turning point, and consider the accuracy of these two aspects respectively;
趋势位置准确率使用平均绝对误差(MAE)进行评估,转折点准确率,设计了底部查准率(LP)与顶部查全率(HR)两种指标进行评估;The trend position accuracy is evaluated using the mean absolute error (MAE), and the turning point accuracy is designed with two indicators: bottom precision (LP) and top recall (HR);
查准率(Precision)与查全率(Recall)是二分类问题常用的评价指标,在分类算法中,根据其预测结果与真实目标比较后,以下四种标记表示其预测状态;Precision and recall are commonly used evaluation indicators for binary classification problems. In the classification algorithm, after comparing the predicted results with the real target, the following four markers indicate the predicted state;
TP:真实值为正类时预测值为正类;TP: When the true value is a positive class, the predicted value is a positive class;
TN:真实值为正类时预测值为负类;TN: When the true value is a positive class, the predicted value is a negative class;
FP:真实值为负类时预测值为正类;FP: When the true value is negative, the predicted value is positive;
FN:真实值为负类时预测值为负类。FN: The predicted value is the negative class when the true value is negative.
其中T为True,F为False,P为Positive,N为Negative。并依据其各值计算出查准率(11)与查全率(12);由公式可知,查准率表示当预测值为真时,实际值也为真的情况,查全率表示当真实值为真时,预测值也为真的情况;Where T is True, F is False, P is Positive, and N is Negative. And calculate the precision (11) and recall (12) according to their values; from the formula, the precision indicates that when the predicted value is true, the actual value is also true, and the recall indicates that when the true value is true. When the value is true, the predicted value is also true;
对于底部转折点,当每次预测出现转折点时,提供强烈的买入信号,所以我们希望每次预测为转折点时,尽可能地准确,否则会造成投资损失,因此需要关注的为查准率;For the bottom turning point, every time a turning point is predicted, a strong buy signal is provided, so we hope that each prediction is a turning point, as accurate as possible, otherwise it will cause investment losses, so we need to pay attention to the precision rate;
对于顶部转折点,当每次预测出现转折点时,提供卖出信号,在每一次顶部出现时尽量预测准确,以避免错过卖出机会,否则会造成投资者损失,因此需要关注的为查全率。For the top turning point, every time a turning point is predicted, a sell signal is provided, and the forecast is as accurate as possible when each top appears, so as to avoid missing the selling opportunity, otherwise it will cause losses to investors, so the recall rate needs to be paid attention to.
本发明的有益效果主要表现在:本发明提出了将LSTM-CNN神经网络模型和加权损失函数,优化了归一化算法和目标函数趋势位置,准确的预测了股票的波动趋势。The beneficial effects of the present invention are mainly manifested in: the present invention proposes the LSTM-CNN neural network model and the weighted loss function, optimizes the normalization algorithm and the trend position of the objective function, and accurately predicts the fluctuation trend of the stock.
附图说明Description of drawings
图1为本发明的转折点定义图。FIG. 1 is a definition diagram of a turning point of the present invention.
图2为本发明的趋势位置示例图。FIG. 2 is a diagram showing an example of a trend position of the present invention.
图3为本发明的LSTM-CNN网络结构示意图。FIG. 3 is a schematic diagram of the structure of the LSTM-CNN network of the present invention.
图4为本发明的arctanh映射曲线图。FIG. 4 is an arctanh mapping graph of the present invention.
图5为本发明的目标加权效果图。FIG. 5 is a target weighting effect diagram of the present invention.
图6为本发明的宝钢股份趋势位置LSTM-CNN预测图。FIG. 6 is the LSTM-CNN prediction diagram of the trend position of Baosteel Co., Ltd. according to the present invention.
具体实施方式Detailed ways
下面结合附图对本发明作进一步描述。The present invention will be further described below in conjunction with the accompanying drawings.
参照图1~图6,一种基于LSTM-CNN深度学习模型的股票趋势预测方法,所述方法包括以下步骤:1 to 6, a stock trend prediction method based on the LSTM-CNN deep learning model, the method includes the following steps:
步骤1:数据预处理Step 1: Data Preprocessing
采用了A股市场内部分股票数据进行分析与验证,整体数据集分为训练集和测试集。选取沪深300指数为训练集,上证50为测试集。其中不包括新股、次新股、长期停牌股、ST股和大幅度异常波动的股票。选定218只股票纳入训练集,37只股票纳入测试集。选取2004年至2018年12月份期间的股票数据,获取其每周的开盘价、收盘价、最高价、成交量等交易数据。Part of the stock data in the A-share market is used for analysis and verification. The overall data set is divided into training set and test set. The
主要特征为交易数据和技术指标。数据的五组训练特征为Cx、Vx、MACD、JDK-J、RSI,分别表示收盘价、成交量,MACD指标、JDK-J指标、RSI指标。训练集中每只股票大约有500个时间序列点,以滑动窗口步长为1,每个训练的时间点对应趋势位置,为此样本的目标,目标矩阵大小与样本数个数相同。The main features are transaction data and technical indicators. The five sets of training features of the data are Cx, Vx, MACD, JDK-J, and RSI, which represent closing price, trading volume, MACD indicator, JDK-J indicator, and RSI indicator respectively. There are about 500 time series points for each stock in the training set, and the sliding window step size is 1. Each training time point corresponds to the trend position. For the target of this sample, the size of the target matrix is the same as the number of samples.
步骤1.1:特征选择和归一化Step 1.1: Feature Selection and Normalization
主要特征为交易数据和技术指标,交易数据需要进行归一化处理。技术指标是由交易数据计算获得,在计算过程中已经包含归一化过程,故不需要再次处理。The main features are transaction data and technical indicators, and the transaction data needs to be normalized. Technical indicators are calculated from transaction data, and the normalization process is already included in the calculation process, so it does not need to be processed again.
首先对原始交易数据进行归一化。在股票数据中,存在持续上升或持续下降的行情中,创新高或新低是金融数据中的常见现象。因此,对价格与成交量分别设计归一化方法。First normalize the raw transaction data. In stock data, where there is a continuous rise or a continuous decline, new highs or new lows are a common phenomenon in financial data. Therefore, a normalization method is designed for price and volume respectively.
价格归一化:对于每个时间窗口的股票数据进行量化。以股票序列首位值为基准价格,计算相对跌涨幅,公式如(1)所示对每个时间窗口内的数据进行单独归一化。Price normalization: Quantify stock data for each time window. Taking the first position of the stock sequence as the benchmark price, calculate the relative price increase. The formula is shown in (1) to separately normalize the data in each time window.
对于每个训练样本,在t0,t1,…,ti,tm时刻对应的收盘价为P0,P1,…,Pi,Pm.其中μ是平均收盘价,滑动窗口m=100;For each training sample, the corresponding closing prices at time t 0 , t 1 ,..., t i , t m are P 0 , P 1 ,..., P i , P m . Where μ is the average closing price, sliding window m =100;
成交量的归一化:在一只股票整体时间序列上进行计算,公式如(2)所示:Normalization of trading volume: Calculated on the overall time series of a stock, the formula is shown in (2):
在Ti时刻,成交量为Vi,基于成交量归一化得到的特征值为Vxi,常数项m=100通常与时间窗口大小相等,则一只股票的前m=100个时间点只用作数据处理,不划入样本;At time T i , the trading volume is V i , the characteristic value obtained based on the normalization of trading volume is Vx i , the constant term m=100 is usually equal to the time window size, then the first m=100 time points of a stock are only Used for data processing, not included in the sample;
将收盘价、成交量、MACD、RSI和KDJ-J作为输入数据。Take the closing price, volume, MACD, RSI and KDJ-J as input data.
步骤1.2:标定趋势位置Step 1.2: Calibrate the trend position
研究股票中长期的价格趋势,提出了转折点。根据转折点对趋势定量化,得到趋势位置,并依此对数据标签进行标定。Studying the mid- to long-term price trends of stocks, turning points are suggested. The trend is quantified according to the turning point, and the trend position is obtained, and the data label is calibrated accordingly.
趋势转折点包括波峰位置的顶部转折点与波谷位置的底部转折点,当价格处于底部转折点时,意味着价格即将上升,反之亦然。在实际行情中,价格一直处于波动之中,产生不同振幅的波动,从而产生多个转折点,对模型识别的转折点进行量化,具体的定义如下:Trend turning points include the top turning point at the peak position and the bottom turning point at the trough position. When the price is at the bottom turning point, it means that the price is about to rise, and vice versa. In the actual market, the price has been fluctuating, resulting in fluctuations of different amplitudes, resulting in multiple turning points. The turning points identified by the model are quantified. The specific definitions are as follows:
股票价格序列在T1,T2,T3时刻所对应的收盘价分别为P1,P2,P3,设定一参数称为趋势阈值δ=60%,当满足条件(4)时,且T2时刻价格为T1至T3期间内的最低点,则认为T2时刻为一段趋势的底部转折点,其走势如图1左图所示。The closing prices corresponding to the stock price sequence at T 1 , T 2 , and T 3 are respectively P 1 , P 2 , and P 3 , and a parameter is set called the trend threshold δ=60%. When the condition (4) is satisfied, And if the price at time T2 is the lowest point in the period from T1 to T3, it is considered that time at T2 is the bottom turning point of a trend, and its trend is shown in the left figure of Figure 1 .
与底部转折点类似,当满足条件(5)时,且T2时刻价格为T1至T3期间内的最高点,则认为T2时刻为一段趋势的顶部转折点,其走势如图1右图所示。值得注意的是,底部转折点与顶部转折点计算过程应均以低价位为基准,否则在同一阈值δ下,底部转折点与顶部转折点确立所需要的波动绝对值不同,会产生偏差。Similar to the bottom turning point, when the condition ( 5 ) is satisfied, and the price at time T2 is the highest point in the period from T1 to T3, then the time at T2 is considered as the top turning point of a trend, and its trend is shown in the right picture of Figure 1 . Show. It is worth noting that the calculation process of the bottom turning point and the top turning point should be based on the low price. Otherwise, under the same threshold δ, the absolute value of the fluctuation required for the establishment of the bottom turning point and the top turning point will be different, which will cause deviations.
当某一底部转折点确定后,其后的序列便定义为上升趋势,直至遇到下一个顶部转折点。同理,当某一顶部转折点确定后,其后的序列便定义为下跌趋势,直至遇到下一个底部转折点。When a bottom turning point is identified, the subsequent series is defined as an uptrend until the next top turning point is encountered. Similarly, when a top turning point is determined, the subsequent sequence is defined as a downtrend until the next bottom turning point is encountered.
确定时间序列的底部和顶部转折点确定后,将当前的股票价格映射到趋势中相对位置。将趋势位置作为LSTM-CNN模型的直接预测目标,实现对未来价格趋势的预测。趋势位置的标定方法如下:After determining the bottom and top turning points of the time series, map the current stock price to the relative position in the trend. The trend position is used as the direct prediction target of the LSTM-CNN model to realize the prediction of future price trends. The calibration method of the trend position is as follows:
1.2.1,根据转折点定义,可以获得一组序列所有的底部转折点与顶部转折点,底部转折点处趋势位置标为0,顶部转折点处趋势位置标为100。1.2.1. According to the definition of turning point, all bottom turning points and top turning points of a set of sequences can be obtained. The trend position at the bottom turning point is marked as 0, and the trend position at the top turning point is marked as 100.
1.2.2,位于底部转折点与顶部转折点之间的趋势位置值按照公式(6)进行计算,其中,PL与PH为一组相邻的底部与顶部转折点。1.2.2. The trend position value between the bottom turning point and the top turning point is calculated according to formula (6), where PL and PH are a set of adjacent bottom and top turning points.
在时间序列的最后一段趋势当中,根据定义无法确定最后一段价格的顶部或底部转折点,故对无法确定部分不进行标记,且不纳入训练数据。一段股票序列的标记效果如图2所示。In the last trend of the time series, the top or bottom turning point of the last price cannot be determined by definition, so the undetermined part is not marked and is not included in the training data. The marking effect of a stock sequence is shown in Figure 2.
步骤2:使用LSTM-CNN预测模型对股票价格趋势进行预测,步骤如下;Step 2: Use the LSTM-CNN prediction model to predict the stock price trend, the steps are as follows;
步骤2.1:网络模型构建,步骤如下:Step 2.1: Network model construction, the steps are as follows:
LSTM-CNN模型包括三部分,一部分为LSTM时序特征学习层;另一部分为CNN静态特征学习层,与LSTM部分同步进行;最后一部分为全连接输出层,通过将前两种模型的输出串联合并,再构建全连接神经网络。The LSTM-CNN model consists of three parts, one part is the LSTM time series feature learning layer; the other part is the CNN static feature learning layer, which is synchronized with the LSTM part; the last part is the fully connected output layer, by combining the outputs of the first two models in series, Then build a fully connected neural network.
第一部分是由三个LSTM层组成的,如图3中的(a)部分所示。LSTM的输入矩阵大小为。其中k=5为训练特征个数,m为滑动时间窗的大小。如图所示L1层中包含M=100个时间节点对应的LSTM单元,每个LSTM单元的输入由k=5个特征组成,其中包含交易数据和技术指标。L1层中每个单元经过训练分别输出作为L2层每个单元的输入,同样的,L2层的输出作为L3层的输入。L2、L3层的训练方式与L1层相同。最后,将L3层最后一个时间节点对应的LSTM单元的输出作为a部分的结果。The first part is composed of three LSTM layers, as shown in part (a) in Figure 3. The input matrix size of LSTM is . Where k=5 is the number of training features, and m is the size of the sliding time window. As shown in the figure, the L1 layer contains LSTM units corresponding to M=100 time nodes, and the input of each LSTM unit consists of k=5 features, including transaction data and technical indicators. Each unit in the L1 layer is trained and output as the input of each unit in the L2 layer. Similarly, the output of the L2 layer is used as the input of the L3 layer. The L2 and L3 layers are trained in the same way as the L1 layer. Finally, the output of the LSTM unit corresponding to the last time node of the L3 layer is used as the result of part a.
第二部分由三个卷积层和一个LSTM层组成,如图3中的(b)部分所示。在本部分中,输入矩阵与(a)部分中的输入矩阵相同。首先通过三个卷积层提取价格与技术指标之间的局部相关信息。三个卷积层后接一个LSTM层。通过LSTM层分析了所提取的局部依赖信息中的时间关系。The second part consists of three convolutional layers and one LSTM layer, as shown in part (b) in Figure 3. In this section, the input matrix is the same as in section (a). The local correlation information between price and technical indicators is first extracted through three convolutional layers. Three convolutional layers followed by an LSTM layer. The temporal relationships in the extracted local dependency information are analyzed through LSTM layers.
最后一部分由三个完全连接的层组成。LSTM和CNN分别提取时间和静态信息,合并为新的特征序列。此特征序列是完全连接的层的输入。最后输出模型的最终预测结果,即趋势位置。另外,在全连接层之间应用了随机失活(dropout)方法可以断开两个连接层之间的某些节点,最终结果不完全依赖于特定节点。随机失活方法明显减少过度拟合问题。The last part consists of three fully connected layers. LSTM and CNN extract temporal and static information, respectively, and merge into a new feature sequence. This feature sequence is the input to the fully connected layer. Finally, the final prediction result of the model is output, which is the trend position. In addition, applying a random dropout method between fully connected layers can disconnect some nodes between two connected layers, and the final result is not completely dependent on a specific node. The random deactivation method significantly reduces the overfitting problem.
步骤2.2:激活函数Step 2.2: Activation function
在LSTM网络中使用ELU作为激活函数,公式如(7):Using ELU as the activation function in the LSTM network, the formula is as (7):
φ(x)=max(0,x) (7)φ(x)=max(0,x) (7)
本发明训练使用的网络结构如图4所示,训练过程需要对网络模型进行配置,在LSTM单元中,需要设定激活函数、输入输出维度,在CNN单元中,需要设定激活函数、卷积核大小。在本发明实验中,LSTM-CNN网络模型结构参数使用表1所示配置进行训练。The network structure used in the training of the present invention is shown in Figure 4. The training process needs to configure the network model. In the LSTM unit, the activation function and input and output dimensions need to be set. In the CNN unit, the activation function and convolution need to be set. nuclear size. In the experiments of the present invention, the structural parameters of the LSTM-CNN network model are trained using the configurations shown in Table 1.
表1Table 1
步骤2.3:模型训练策略构建,为模型的训练设计了加权损失函数,步骤如下:Step 2.3: Build a model training strategy, and design a weighted loss function for model training. The steps are as follows:
趋势位置的取值范围为有限区间[0,100],在此区间内所对应的不同位置的应用价值不同,本发明对其进行加权测量,提出一种转折区域代价敏感的损失函数。The value range of the trend position is a finite interval [0, 100], and different positions corresponding to this interval have different application values. The present invention performs weighted measurement on it, and proposes a cost-sensitive loss function in the turning area.
首先对目标值y与预测值进行等比例缩放与平移,使目标值处于区间[-1,1]内,公式(8)为转换方法,c为一较小实数,用来保证对数与分母计算对象不为零,使用arctanh公式(9),对目标值z与预测值进行映射,通过映射过程实现权值分配,Y与分别为变换加权后的真实值与预测值。First, compare the target value y with the predicted value Perform equal scaling and translation to make the target value in the interval [-1,1], formula (8) is the conversion method, c is a small real number, used to ensure that the logarithm and denominator calculation objects are not zero, use arctanh Formula (9), for the target value z and the predicted value Mapping is carried out, and weight distribution is achieved through the mapping process, and Y and are the true value and the predicted value after the transformation and weighting, respectively.
arctanh映射曲线图如图4所示。由图可看出,该映射加权方法使两端值变化逐步增大,中部区域变化幅度相对较小,且整体平滑。经过加权后,在两端区域加权误差相较于原始误差会增加,越靠近两端,误差增量越大,从而实现不同区域的权值分配,其加权实际效果体现在实际目标上效果如图5所示。The arctanh mapping curve is shown in Figure 4. It can be seen from the figure that the mapping weighting method gradually increases the changes of the two end values, and the change range in the middle area is relatively small and the whole is smooth. After weighting, the weighted error at the two ends will increase compared to the original error. The closer to the two ends, the larger the error increment, so as to realize the distribution of weights in different regions. The actual effect of weighting is reflected in the actual target. The effect is shown in the figure 5 shown.
目标值与预测值经过映射加权后,再应用MSE对其测量误差,得到WMSE(10)即为预测模型的损失函数。通过加权,可以使训练速度加快,同时在一定程度上降低模型复杂度。After the target value and the predicted value are weighted by mapping, MSE is applied to measure the error, and WMSE(10) is obtained, which is the loss function of the prediction model. By weighting, the training speed can be accelerated while reducing the model complexity to a certain extent.
步骤3:评估标准Step 3: Evaluation Criteria
本发明主要的预测目标是预测趋势位置和底部转折点,分别考虑这两个方面的准确率。The main prediction objective of the present invention is to predict the trend position and the bottom turning point, and the accuracy rates of these two aspects are considered respectively.
趋势位置准确率使用平均绝对误差(MAE)进行评估,转折点准确率,设计了底部查准率(LP)与顶部查全率(HR)两种指标进行评估。The trend position accuracy is evaluated using the mean absolute error (MAE), and the turning point accuracy is designed with two indicators: bottom precision (LP) and top recall (HR).
查准率(Precision)与查全率(Recall)是二分类问题常用的评价指标,在分类算法中,根据其预测结果与真实目标比较后,可以用以下四种标记表示其预测状态。Precision and recall are commonly used evaluation indicators for binary classification problems. In the classification algorithm, after comparing the predicted results with the real target, the following four markers can be used to indicate the predicted state.
TP:真实值为正类时预测值为正类;TP: When the true value is a positive class, the predicted value is a positive class;
TN:真实值为正类时预测值为负类;TN: When the true value is a positive class, the predicted value is a negative class;
FP:真实值为负类时预测值为正类;FP: When the true value is negative, the predicted value is positive;
FN:真实值为负类时预测值为负类。FN: The predicted value is the negative class when the true value is negative.
其中T为True,F为False,P为Positive,N为Negative。并依据其各值计算出查准率(11)与查全率(12)。由公式可知,查准率表示当预测值为真时,实际值也为真的情况,查全率表示当真实值为真时,预测值也为真的情况。Where T is True, F is False, P is Positive, and N is Negative. And according to its values, the precision (11) and recall (12) are calculated. It can be seen from the formula that the precision indicates that when the predicted value is true, the actual value is also true, and the recall indicates that when the actual value is true, the predicted value is also true.
对于底部转折点,当每次预测出现转折点时,可以为投资者提供强烈的买入信号,所以我们希望每次预测为转折点时,尽可能地准确,否则会造成投资损失,因此需要关注的为查准率。For the turning point at the bottom, when a turning point is predicted each time, it can provide investors with a strong buy signal, so we hope that every time the prediction is a turning point, it will be as accurate as possible, otherwise it will cause investment losses, so you need to pay attention to checking accuracy.
对于顶部转折点,当每次预测出现转折点时,会为投资者提供卖出信号,若投资者持有股票,则期望在每一次顶部出现时尽量预测准确,以避免错过卖出机会,否则会造成投资者损失,因此需要关注的为查全率。For the top turning point, every time a turning point is predicted, it will provide investors with a sell signal. If investors hold stocks, they should try to predict as accurately as possible when each top appears, so as to avoid missing selling opportunities, otherwise it will cause Investors lose, so the recall rate needs to be concerned.
在分类问题中,有明确的正类与负类,预测正确与错误,而本实验为回归算法,得到的是具体的趋势位置值,无明确对错只分,因此,为了使用类似方法对趋势转折点预测的准确度进行衡量,使用以下方法对结果进行衡量。In the classification problem, there are clear positive and negative classes, and the prediction is correct and wrong. This experiment is a regression algorithm, and the specific trend position value is obtained. There is no clear right or wrong, only the classification. Therefore, in order to use a similar method to analyze the trend The accuracy of the turning point forecast is measured, and the results are measured using the following methods.
根据趋势位置判定底部与顶部,转折点的判断依据一定区域进行判定,以趋势位置值小于5时为底部区域,大于95时为顶部区域。当预测值小于5时,认定为接近底部转折点,测量其与真实值的绝对误差,为底部查准率(Low Precision,LP)。类似地,当真实值大于95时,认定已经接近顶部转折点,测量其与预测值的绝对误差,为顶部查全率(HighRecall,HR)。The bottom and top are determined according to the trend position, and the turning point is determined based on a certain area. When the trend position value is less than 5, it is the bottom area, and when it is greater than 95, it is the top area. When the predicted value is less than 5, it is considered to be close to the bottom turning point, and the absolute error between it and the true value is measured, which is the bottom precision (Low Precision, LP). Similarly, when the true value is greater than 95, it is considered that it is close to the top turning point, and the absolute error between it and the predicted value is measured, which is the top recall (High Recall, HR).
在分类问题中,查准率与查全率通常是互相矛盾的,在极端情况下,会出现一者很高而一者很低的情况,因此,LP与HR只对预测模型的转折点或转折区域内的预测效果进行了评测,对于整体的衡量,本发明由于是回归计算,可使用前文所述的平均绝对误差(MAE),来反映模型对整体趋势的拟合效果。根据趋势位置的定义可得,趋势位置本质上为趋势的百分化,其单点之间最大误差为100,最小误差为0,因此,使用平均绝对误差可以更直观地体现预测效果。In classification problems, precision and recall are usually contradictory. In extreme cases, one is very high and the other is very low. Therefore, LP and HR only predict the turning point or turning point of the model. The prediction effect in the region is evaluated. For the overall measurement, the present invention can use the mean absolute error (MAE) described above to reflect the fitting effect of the model to the overall trend because it is a regression calculation. According to the definition of trend position, the trend position is essentially a percentage of the trend. The maximum error between single points is 100, and the minimum error is 0. Therefore, the use of the average absolute error can reflect the prediction effect more intuitively.
本实施例的预测结果:当时间窗口M=100,趋势阈值δ=60%,误差函数LP、HR、MAE分别为8.07%,11.86%,12.72%。以宝钢股份为例,时间窗口M=100,δ=60%预测效果图如图6所示。The prediction result of this embodiment: when the time window M=100, the trend threshold δ=60%, the error functions LP, HR, and MAE are 8.07%, 11.86%, and 12.72%, respectively. Taking Baosteel Co., Ltd. as an example, the time window M=100, δ=60% prediction effect is shown in Figure 6.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910723665.8A CN110659767A (en) | 2019-08-07 | 2019-08-07 | Stock trend prediction method based on LSTM-CNN deep learning model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910723665.8A CN110659767A (en) | 2019-08-07 | 2019-08-07 | Stock trend prediction method based on LSTM-CNN deep learning model |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110659767A true CN110659767A (en) | 2020-01-07 |
Family
ID=69036431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910723665.8A Pending CN110659767A (en) | 2019-08-07 | 2019-08-07 | Stock trend prediction method based on LSTM-CNN deep learning model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110659767A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112308306A (en) * | 2020-10-27 | 2021-02-02 | 贵州工程应用技术学院 | Multi-mode input coal and gas outburst risk prediction method |
CN113792258A (en) * | 2021-09-18 | 2021-12-14 | 广东电网有限责任公司广州供电局 | Method for determining contribution rate of power grid enterprise informatization investment |
CN113807951A (en) * | 2021-09-23 | 2021-12-17 | 中国建设银行股份有限公司 | Transaction data trend prediction method and system based on deep learning |
CN117725522A (en) * | 2023-12-18 | 2024-03-19 | 易方达基金管理有限公司 | New stock release trend prediction method and system |
-
2019
- 2019-08-07 CN CN201910723665.8A patent/CN110659767A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112308306A (en) * | 2020-10-27 | 2021-02-02 | 贵州工程应用技术学院 | Multi-mode input coal and gas outburst risk prediction method |
CN113792258A (en) * | 2021-09-18 | 2021-12-14 | 广东电网有限责任公司广州供电局 | Method for determining contribution rate of power grid enterprise informatization investment |
CN113807951A (en) * | 2021-09-23 | 2021-12-17 | 中国建设银行股份有限公司 | Transaction data trend prediction method and system based on deep learning |
CN113807951B (en) * | 2021-09-23 | 2024-10-15 | 中国建设银行股份有限公司 | Transaction data trend prediction method and system based on deep learning |
CN117725522A (en) * | 2023-12-18 | 2024-03-19 | 易方达基金管理有限公司 | New stock release trend prediction method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Widiputra et al. | Multivariate CNN‐LSTM model for multiple parallel financial time‐series prediction | |
Li et al. | Risk prediction in financial management of listed companies based on optimized BP neural network under digital economy | |
CN110659767A (en) | Stock trend prediction method based on LSTM-CNN deep learning model | |
Sisodia et al. | Stock market analysis and prediction for NIFTY50 using LSTM Deep Learning Approach | |
CN104008164A (en) | Generalized regression neural network based short-term diarrhea multi-step prediction method | |
CN113393057A (en) | Wheat yield integrated prediction method based on deep fusion machine learning model | |
CN111626785A (en) | A CNN-LSTM network fund price prediction method based on combined attention | |
Popa et al. | Composite financial performance index prediction–a neural networks approach | |
Chen et al. | House price prediction based on machine learning and deep learning methods | |
CN111291925A (en) | Financial market prediction and decision-making system and method based on artificial intelligence | |
KR20220167039A (en) | A stock price prediction system based on deep learning and economic indicators | |
CN114528764A (en) | Soft measurement modeling method and device based on integral optimization and instant learning | |
Li | Prediction of house price index based on machine learning methods | |
Padi et al. | Stock Market Trend Analysisand Prediction using Markov Chain Approach in the Context of Indian Stock Market | |
Tran-Quang et al. | Aquaculture environment prediction based on improved lstm deep learning model | |
Myint et al. | Predictive Analytics System for Stock Data: methodology, data pre-processing and case studies | |
Athira et al. | Machine learning-based Indian stock market’s price movement prediction and trend analysis | |
CN113256425A (en) | Data enhancement deep learning method for stock index prediction | |
Rengasamy et al. | Optimizing narx-rnn performance to predict precious metal futures market | |
Li et al. | A comparison between linear regression, lasso regression, decision tree, XGBoost, and RNN for asset price strategies | |
TW202213239A (en) | A predicting the trend of stock prices and trade advising system based on neural networks of analyzing multiple technical analysis indicators | |
Voinov et al. | Predicting RTS index futures using machine learning | |
Goyal | Financial Time Series Stock Price Prediction using Deep Learning | |
CN111160419A (en) | Electronic transformer data classification prediction method and device based on deep learning | |
Thomas et al. | The evolution of forecasting techniques traditional versus machine learning methods |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200107 |