💡 This project is running on python version 3.10.4
- You need to install all the dependencies by running the code
pip install -r requirements.txtin the terminal.
- Firstly, you need to create a
.envfile in the root directory, and have your API keys in the formatACCESS_TOKEN=XXXXXXXetc. - Secondly, run the
save_data.pyindatadirectory. The script will fetch data from twitter, and save it in real-time in adata.csvfile that will be created in thedatadirectory. The data is simply the sentiment score of every English tweet containing the words crypto OR cryptocurrency OR cryptocurrencies. - Finally, run the
main.pyscript, and the live data will be plotted in real time; a new data point is created after every 30 minutes (a session)