Stock News Sentiments Analysis

This was a walk-through project I did while I was learning use of Python in stock market. My goal of this walk-thorugh video was to get introduced to liberies like BeautifulSoup, SentimentIntensityAnalyzer, pandas and matplotlib.

Using the finviz website BeautifulSoup parse the website to get the lates news on three given ticker. Since all the news section is at the bottom of their website on table format I use loop and properties of array to get the headline of the news.

Once we have the headline of the new, I pass that to sentiments intensity analyzer to get the polarity score. Pandas is one of the best data science tool to operate on data so I used pandas to create a dataframe so I can see the result on plot using pyplot.

This is a walk through project I was really interested in while learning python.

Technologies:
Script Screenshot
Output
Complete code on my GitHub Page