Using machine learning coupled with stock price data to predict stock price trends has attracted increasing attention from data mining and machine learning communities. An accurate prediction results can help investors reduce investment risks and improve investment returns. The research on correlation stocks is one of the most important directions among many studies. Due to the high volatility and randomness of stock data, the correlation between stocks changes over time, which makes the stock correlation in static correlation stock sets often inconsistent with reality. Furthermore, various raw data related to stocks contain sufficient stock history information to analyze the future trend of stocks, but traditional prediction models cannot make good use of this information, which restricts the learning ability of the model and reduces the prediction accuracy. In this paper, we propose a stock prediction model combining multi-view stock data features with dynamic market correlation information (MDF-DMC). The model extracts stock trend features by combining multi-view raw data of a single stock with a Multi-layer Perceptron Mixer (MLP-Mixer); The improved Transformer encoder learns the correlation between the stock to be predicted and all the selected stocks in the stock market dynamically and extracts the features of the market correlation. We have conducted a large number of experiments on a total of 578 stocks in the stock markets of China and the United States, and the results show that our model has achieved excellent accuracy and returns across all data sets.
Read full abstract