Skip to content

SaschaK93/RocketLabStockPredictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ RocketLabStockPredictor

A machine learning project that predicts the next-day direction of Rocket Lab (RKLB) stock using technical indicators, financial news sentiment analysis, and multiple machine learning models.

πŸ“ˆ Project Overview

The goal of this project is to investigate whether stock price movements can be predicted using:

Technical indicators Market context Trading volume Financial news sentiment Machine learning models

The project uses Rocket Lab (RKLB) as the target stock and compares its performance against the broader market.

πŸ›  Technologies Used Data Sources Yahoo Finance (historical stock data) Finnhub API (financial news) Machine Learning Logistic Regression Random Forest NLP FinBERT (ProsusAI/FinBERT) Python Libraries pandas numpy scikit-learn yfinance transformers matplotlib πŸ“Š Features Technical Indicators RSI (Relative Strength Index) Moving Average (MA30) Exponential Moving Average (EMA30) Volatility Price vs EMA Volume Features Volume Moving Average Volume Ratio Volume Trend Features Market Features SPY Daily Returns Market Outperformance News Sentiment Features

Financial news headlines and summaries are analyzed using FinBERT.

Pipeline:

Financial News β†’ FinBERT β†’ Daily Sentiment Score β†’ Machine Learning Model

πŸ€– Models Tested Logistic Regression

Used as a baseline model for binary classification.

Random Forest

Used to capture non-linear relationships between features.

πŸ“ˆ Evaluation Metrics

The project evaluates model performance using:

Accuracy Precision Recall F1 Score ROC-AUC Cross Validation πŸ” Key Findings Technical indicators provide useful predictive signals. Volume-based features showed measurable influence. Financial news sentiment contributed modestly to model performance. Predicting next-day stock direction remains extremely challenging. Random Forest slightly outperformed Logistic Regression. πŸ“‚ Project Structure RocketLabStockPredictor/ β”‚ β”œβ”€β”€ news_downloader.py β”œβ”€β”€ news_processing.py β”œβ”€β”€ stock_analyzer_v2.py β”œβ”€β”€ README.md πŸš€ Future Improvements QQQ and IWM market features Deep Learning models Social media sentiment analysis Hype Stock Finder integration Portfolio-level predictions Disclaimer

This project was created for educational and portfolio purposes only.

It does not constitute financial advice.

About

Machine Learning stock prediction project using technical indicators, FinBERT sentiment analysis, Logistic Regression, and Random Forest models on Rocket Lab (RKLB) stock data.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages