- pp*.py: Preprocess the sentiment lexicon to generate a positive word file (*_positive.txt) and a negative word file (*_negative.txt) for the given lexicon
- generateCounts.py: Generates a file for each sentiment lexicon (RawCounts_*) containing positive/negative/total counts for each day in JSON format
- filterCounts.py: Alternative version of generateCounts.py. Perform a key word search on the abstract of each Wall Street Journal article to determine whether it is relevant enough to use as data in the sentiment analysis. Generates a file for each sentiment lexicon (RawCounts_*) containing positive/negative/total counts for each day in JSON format
- timeseries.py: Generate files for timeseries (timeseries_*) of all sentiment lexicons and economic indicators
- simulateTrading.py: Enter 'simulateTrading.py -h' for help
- *.csv, RawCounts_*, FilteredCounts_*: data files used in simulateTrading.py
-
Notifications
You must be signed in to change notification settings - Fork 0
helenyuyu/WSJ_sentiment
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Final project for ELE381
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published