Abstract
This paper provides an in-depth analysis machine study of the relationship between stock prices and indices through machine learning algorithms. Stock prices are difficult to predict by a single financial formula because there are too many factors that can affect stock prices. With the development of computer science, the author now uses many computer science techniques to make more accurate predictions of stock prices. In this project, the author uses machine learning in R Studio to predict the prices of 35 stocks traded on the New York Stock Exchange and to study the interaction between the prices of four indices in different countries. Further, it is proposed to find the link between stocks and indices in different countries and then use the predictions to optimize the portfolio of these stocks. To complete this project, the author used Linear Regression, LASSO, Regression Trees, Bagging, Random Forest, and Boosted Trees to perform the analysis. The experimental results show that the MRDL deep multiple regression model proposed in this paper predicts the closing price trend of stocks with a mean square error interval [0.0043, 0.0821]. Additionally, 80% of the proposed DMISV, KDJSV, MACDV, and DKB stock buying and selling strategies have a return greater than 10%. The experimental results validate the effectiveness of the proposed buying and selling strategies and stock price trend prediction methods in this paper. Compared with other algorithms, the accuracy of the algorithm in this study is increased by 15%, and the efficiency of prediction is increased by 25%.
Highlights
A stock is a certificate of ownership issued by a joint-stock company to raise funds, which allows the shareholder to receive dividends and bonuses
Changes in stock price trends are of the utmost concern to stockholders in the stock market
He or she can reduce the investment risk and combine the predicted stock price trend with the stock buying and selling strategy to help investors make a reasonable adjustment to their investment structure and maximize the return
Summary
A stock is a certificate of ownership issued by a joint-stock company to raise funds, which allows the shareholder to receive dividends and bonuses. Erefore, machine learning is an essential tool that can be used in the financial world In this project, the author used Linear Regression, LASSO, Regression Trees, Bagging, Random Forest, and Boosted Trees to do the analysis. Regression tree models are easy to use, and the resulting rules are easy to interpret and implement. Partial dependency graphs and relative importance graphs are important ways to interpret these models With these machine learning methods, the author can make better forecasts of stock prices, and one can have a deep understanding of the connections between index prices in different countries. E author researched stocks’ buying and selling points, combined deep learning methods to predict stock price trends, dug out stocks with their investment value, and assisted stock investors in making investment decisions.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.