Skip to content

helenyuyu/WSJ_sentiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • 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

About

Final project for ELE381

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published