Looks for a correlation between tweets and stocks.
Uses the Yahoo Finance and Twitter APIs to retrieve stock information and tweets that were posted within the last week, respectively. Uses the GetOldTweets project to retrieve tweets that were posted over a week ago.
- Python 3.5.2
- Python 2.7.10 (a dependency for collecting the training set only works in Python 2)
pip install -r requirements.txt
python index.py
python index.py --training
- Added parentheses to
print
calls - Added conditional logic check what Python version is in use to import proper
got
module