Skip to content

TickerCast is a deep learning project that predicts next-day stock movement by combining financial news headlines with technical indicators. It includes model evaluation, backtesting, and LLM-generated investment insights for major market drops.

Notifications You must be signed in to change notification settings

Nihalrt/TickerCast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

TickerCast

TickerCast is a deep learning project that predicts next-day stock movement using a combination of financial news headlines and technical market indicators. The goal is to explore whether publicly available textual and numerical signals can inform short-term market direction and support simple trading strategies.


Project Overview

  • Objective: Predict whether GOOGL stock will go up or down the next day using daily financial news and technical indicators.
  • Approach: Combine natural language processing (news headlines) with quantitative time-series data (price-based indicators) using a multimodal neural network.
  • Extras: The project also integrates a small language model (Flan-T5) to generate actionable investment insights on high-volatility days.

Key Features

Data Sources

  • News Dataset: Google financial news headlines from 2000–2023 (Kaggle)
  • Price Data: GOOGL open/close/volume data fetched from Stooq via pandas_datareader

Preprocessing

  • Cleaned and tokenized news headlines
  • Converted timestamps and merged with daily stock data
  • Engineered features: 5-day and 20-day moving averages (MA5, MA20), volume % change

Modeling

  • Baseline Model: TF-IDF + Dense network on headlines
  • Advanced Model: Multimodal neural network with:
    • Text branch: TextVectorization + Embedding + Conv1D
    • Numeric branch: MA5, MA20, and volume change
    • Fusion layer and final prediction via sigmoid output

Evaluation

  • Classification report, confusion matrix, and ROC curve
  • Strategy backtesting: Buy if P(up) > threshold, else hold
  • Comparison against buy-and-hold strategy using equity curves

LLM Integration

  • Integrated Flan-T5 (via Hugging Face) to simulate a financial analyst
  • Generated bullet-point investment insights on days with large predicted drops

πŸ” Results

  • The baseline model achieved ~66% accuracy with a ROC AUC ~0.7
  • The multimodal model provided better separation of market signals
  • Backtesting showed the model-based strategy avoided major losses during bearish periods
  • The integrated LLM added interpretability by providing human-like explanations

Folder Structure

β”œβ”€β”€ data/ # Raw and processed datasets β”œβ”€β”€ models/ # Saved model checkpoints β”œβ”€β”€ notebooks/ # Jupyter notebooks for EDA, modeling, and backtesting β”œβ”€β”€ llm/ # Flan-T5 integration and prompt code β”œβ”€β”€ utils/ # Helper functions and preprocessing scripts └── README.md # Project overview


πŸ› οΈ Tech Stack

  • Python, TensorFlow/Keras
  • pandas, NumPy, scikit-learn
  • Matplotlib for visualization
  • Hugging Face Transformers (Flan-T5)
  • Google Colab for development environment

πŸ“Œ Highlights

  • Multimodal modeling: fusion of text and time-series indicators
  • Realistic trading simulation and return comparison
  • AI-generated investment commentary
  • Clean, explainable notebook workflow

About

TickerCast is a deep learning project that predicts next-day stock movement by combining financial news headlines with technical indicators. It includes model evaluation, backtesting, and LLM-generated investment insights for major market drops.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published