Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 773 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 773 Bytes

AnalyzeStock - sentiment analysis of news header

Having row scraped html files as input, AnalyzeStock returns sentiment polarity of the news headers for a particular stock. User can feed in html files for multiple stocks, and either get summary results for all the stocks and the timeperiod, or for a certain day and a certain stock.

Installation

Using the command promt:

pip install git+https://github.com/springlaughing/StockSentiment.git#Egg=AnalyzeStock

Example usage

from AnalyzeStock.News import SentimentAnalyzer
sent = SentimentAnalyzer('Your_path_to_dataset')
sent.plot_scores(single_day=False)

example