shirosaidev / stocksight

Stock market analyzer and predictor using Elasticsearch, Twitter, News headlines and Python natural language processing and sentiment analysis
https://shirosaidev.github.io/stocksight/
Apache License 2.0
2.12k stars 463 forks source link

This needs to be checked #13

Closed niraj97 closed 5 years ago

niraj97 commented 5 years ago

Got some error on this line of the code in Sentiment.py line 788 stream.filter(follow=useridlist, languages=['en'])

shirosaidev commented 5 years ago

what's the error? What version of Python? Try with Python 3.6.x

niraj97 commented 5 years ago

I have the latest Python 2.7 and 3.6 installed. got an error stating required string got int. as much as i can understand userlist is all integer variables but the stream.filter follow requires string input.

pcamelo commented 5 years ago

Just change line 462 from sentiment.py to u = line.strip().

shirosaidev commented 5 years ago

this has been patched in v0.1-b.6