We'll monitor the most followed people on twitter (Top 500 from SocialBlade). If their tweet contains a company name/symbol, based on on the stocks symbols dataset, then we'll start monitoring the stock. We can also analyse the tweet and see if the tweet is positive or negative, and then based on that assume if the stock should be sold or bought.
https://www.youtube.com/watch?v=z_6miocPdoI
Our system is composed of 4 layers:
python 3.6
python libs:
bs4
flask
nltk
pyspark
requests
requests_oauthlib
sklearn
pandas
Node JS:
node.js v8.11
npm v5.6.0
1) Install nodejs
and npm
2) go to modules/iex/
and run npm install
3) Install python libs
1) Open the project with PyCharm
2) Run modules/backend/app.py
3) Run the IEX service node modules/iex/app.js
4) Run the twitter service: modules/twitter/twitter_service.py
5) Run the spark service: modules/spark/spark_service.py
(run after all services have promoted that they are listening for incoming connections)
6) Visit http://localhost:5001/
It is important that the python files are executed from PyCharm.