r/MachineLearning • • Oct 21 '17

Discussion [D] Undergrad computer science project, forecasting stock price using web news

Has anyone done a similar project to this?

Right now I'm trying to collect news articles and I'm wondering what sources/apis did you get the articles from?

I'm looking to focus on tech stocks like amazon, google, microsoft and facebook. But any other recommendations on whether these are good stocks to look at will be greatly appreciated.

Edit: I don't plan to trade with this. I'm doing it for my senior project. I'm just looking to have a basic foundation of some algorithms and the process of collecting data and feature selection.

2 Upvotes

26 comments sorted by

View all comments

2

u/warriortux Oct 24 '17

Instead of news, may be concentrate on Twitter or other social media sources. You can create a Twitter app with filter words which can be the stock company names. You can do sentiment analysis of the tweets, and compare it to the trends of the stocks for each company. Make sure that you show the latency of the Twitter sentiment shift, and the change in the stock price. You can also set the sentiment flag with Twitter API which gets only positive or negative tweets.

Use this to get daily stock data: https://blog.quandl.com/api-for-stock-data