Abstract
The price movements of stocks directly affect the economic interests of investors as well as influence and reflect the macroeconomic policies of the country. This paper initially describes the CNN model's development and fundamental composition before proposing a method for stock prediction based on the CNN model and using it to analyze data from Apple, Google, and Amazon. According to the analysis, it is indicated that all three businesses stocks will decline going forward, with Apple and Google's decline being greater and Amazon's decline less. In the upcoming months, it's anticipated that stock prices will increase a little bit and swing between $100 and $125 a share. The RNN model was implemented to compare the findings in the end, and both models produced about the same stock forecast trend. These results shed light on guiding further exploration of stock price forecasting in terms of the state-of-art machine learning scenarios.