Skip to content

Sentiment analyses of stonks with Reddit and Twitter data.

License

Notifications You must be signed in to change notification settings

Rubinjo/sentiment-stonks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sentiment-stonks

Python Anaconda Jupyter Notebook PyTorch Pandas NumPy scikit-learn

Project Overview

  • School: University of Twente
  • Course: Data Science
  • Assignment Type: Open Project
  • Group Size: 2

Initial Setup

  1. Request Reddit API key (Link)
  2. Request Twitter API key (Link)
  3. Add auth.py file to project in root folder
  4. Add 5 API variables to the auth.py file as follows:
CLIENT_ID = "TOKEN"        # Personal use script for the Reddit API
SECRET_KEY = "TOKEN"       # Secret for the Reddit API
REDDIT_USERNAME = "TOKEN"  # Username of a Reddit account
REDDIT_PASSWORD = "TOKEN"  # Password of a normal Reddit account
TWITTER_TOKEN = "TOKEN"    # Developer token for Twitter
  1. (optional) Create an Anaconda environment
  2. Now you can run the Jupyter Notebook main.ipynb, installation of all the packages can be found inside the notebook