Back To Projects
The Effect of the News on the Stock Market
Pranav B. | Summer 2022

I remember opening my investing account one day and looking at my stocks, noticing that the majority of them were declining pretty severely. Ever since the Russia and Ukraine war, this had been the case. I saw many news headlines talking about the market, and how it was affected from this war. It was then I realized, why isn’t there a way for us to predict these changes in the market given sufficient news headlines?


Understanding how the stock market works is an essential skill in life. Investing properly can lead to security and stability in financial life, but it is hard to find a way to do it consistently. This brought up the question of automating this skill. This is what this paper is about. Using a CNN() and Hugging Face’s Transformers() model, we created a sentiment analysis model that can provide both the certainty of the sentiment and the sentiment itself. The higher the certainty, the more likely it is that the stock will increase in the near future. The CNN and Transformers models both yielded exceptional results, with the Transformers model beating out the CNN model by a mere 1%. This means that the Transformers model was more accurate in predicting the sentiment of sentences than the CNN model was, but only by a little bit. The dataset used consisted of three columns: title, stock, and date. The ‘date’ column will not be used, but the title and stock columns will be used to train the model and display graphs. The purpose of this machine is not to control a buyer’s account and only make purchases that will be guaranteed successes in the short run; it is to provide the buyer with exterior information unwittingly to the buyer so they can make a more educated decision.

Explore More!

Pranav B.
Eric Bradford
Electrical Engineering and Computer Science Masters from MIT, Technical PM at Apple

Related Projects

workspace_premium
Stock Prediction Project

As of 2022, 60%-73% of the trading volume done in the U.S stock market is done by algorithms, illustrating the dependency and importance of these types of algorithms in stock predictions. Additionally, a recent census by Gallup shows that 145 million Americans (roughly 56% of the population) invest and own stocks, showing the population’s keen interest in the stock market. I endeavored to create a model that takes into account opening, closing, high, and low prices from the last 3 days to predict the opening price on the fourth day. Of course, the model is not just limited to only being able to approximate the opening price the following day; for example, it will also be able to predict the opening price 5 days later.
Sofia S. | Summer 2022
Mentored by Odysseas Drosis
Analysis of Trending YouTube Videos: Finding Patterns in Viral Content

As the digital world continues to grow, content creators frequently have trouble building a community and producing videos that will interest their audience. Especially as these people look toward the internet for both recreational and monetary reasons, finding out techniques to build a community is important in today’s age. This paper analyzes the issues of video performance, revealing the patterns of what makes a video successful and viral. By training different models and testing different datasets, we were able to find the correlation between the potential chances of popularity and the video’s content. Using the most accurate model, the Random Forest model, content creators can see whether or not they are likely to do well based on patterns found in trending videos.
Vincent P. | Summer 2022
Mentored by Amanda Wang
workspace_premium
Artificial Intelligence in the Stock Market: Predicting Prices

This research project focuses on stock price prediction through A.I. models as well as machine learning algorithms to maximize profit potential, improve investments, and eliminate risk.
Emin C. | Fall 2022
Mentored by Odysseas Drosis