Skip to content

An end-to-end ML workflow focused on stock price forecasting

Notifications You must be signed in to change notification settings

thakorneyp11/stock-price-prediction

Repository files navigation

Stock Price Prediction

An end-to-end Machine Learning workflow focused on stock price forecasting. This project encompasses everything from the ML development process to the ML production lifecycle.

💡 Features

  • Forecasting stock price using Machine Learning
  • Real-time dashboard showing forecasted values
  • Observability dashboard for ML models and their performance
  • Open APIs for data retrieval

🛠️ Tools

🧩 Components

  • Coming soon

🌐 Architecture

System Architecture (coming soon)
Functional Architecture (coming soon)

⚙️ Setting up

# clone this repository
git clone https://github.com/thakorneyp11/stock-price-prediction.git

# change directory to project
cd stock-price-prediction

# create virtual environment (`pip3 install virtualenv` if not installed)
virtualenv env

# activate virtual environment
source env/bin/activate

# install dependencies
pip3 install -r requirements.txt

🚀 ML Workflow Overview

1. Data Collection

Data Sources:

Download Historical Data:

  • Download historical data from Binance Data Dumper: python3 data_download.py
  • Raw CSV dataset: dataset/BTCUSDT_15m_Aug2017-Oct2023.csv

Retrieve Real-time Data:

  • sample script can be found in data_retrieval.py (later will scheduled executed using MageAI)
  • note: need to update .env file with Binance API key and secret
Raw CSV dataset

2. Feature Engineering

  • Exploratory Data Analysis (EDA): eda.ipynb
  • Feature Engineering: feature_engineering.ipynb (reference)
  • Processed CSV dataset: 1) dataset/feature_extracted_data.csv and 2) dataset/feature_selected_data.csv

EDA results: EDA results

Feature Engineering results: Feature Engineering results

3. Data Versioning

  • Coming soon

4. Model Training

  • Coming soon

5. Model Serving

  • Coming soon

6. ML Pipeline

  • Coming soon

7. Model Observability

  • Coming soon

8. Model Auto-Retraining

  • Coming soon

About

An end-to-end ML workflow focused on stock price forecasting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published