Skip to content

(Failed) attempts at predicting stock price movements with tweets and historical trends

Notifications You must be signed in to change notification settings

dotchen/stock_pred

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UT Austin CS388 (Fall 2021) Final Project: Dian Chen

Stock price movement prediction with Tweets and Prices.

Install

First install conda and create a dedicated python environment. conda create -n cs388 python=3.6,

Then in that environment, install PyTorch==1.4, allennlp==0.9.0, pyyaml and wandb either through conda or pip.

Also download the dataset.

Also download the GloVE embedding pretrained on twitter.

Train Models

Edit config.yaml with hyperparameter and model configs of choice and then do

python train.py

The best one I get was model: tweet_price_sa with default parameters which gets about 38% test set accuracies.

About

(Failed) attempts at predicting stock price movements with tweets and historical trends

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages