Skip to content

jokerNi/NLP-Stock-Prediction

 
 

Repository files navigation

Using NLP and Deep Learning to Predict Stock Price Movements

Springboard Capstone Project 2

The Problem

In the financial services and banking industry, vast amounts of resources are dedicated to pouring over, analyzing, and attempting to quantify qualitative data from news and company reports. This problem is also constantly compounded as the news cycle shortens and reporting requirements for public companies become more onerous. In this project I attempt to demonstrate the viability of using natural language processing word embeddings on SEC 8-K documents with deep learning methods to predict stock price volatility after a company experiences a major event.

2. The Client

This project could be useful to hedge funds, banks, corporate finance offices, and anyone else involved in trading securities on public markets.

3. The Process

  1. Data Collection & Preprocessing
    The notebook demonstrates the workflow while the scripts were run on Google Cloud to scrape the SEC Edgar database and download financial data

  2. Text Preprocessing

  3. Machine Learning (MLP, CNN, RNN, CNN-RNN models)

4. Results

The top-performing model achieved a 64% accuracy rate on the test data. This suggests using word embeddings on SEC filings could be a useful way of uncovering stock movements.

5. Write-Ups

The full writeup is here as a PDF file, and a summary blog post is available on Medium.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 97.2%
  • Python 2.8%