Skip to content

About

Quant club selection ML task

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Algorithmic Trading & Momentum Strategy: Reliance Industries

An algorithmic trading simulation and machine learning pipeline designed to predict 5-day directional momentum for Reliance Industries (RELIANCE.NS) using stationary technical features.

Context: This pipeline was engineered as a solution for a quantitative research selection task. The original constraints and problem statement can be found in /docs/Quant_Club_Problem_Statement.pdf.

🚀 Strategy Overview

This project utilizes a Random Forest Classifier to navigate the "Accuracy vs. Magnitude" paradox in financial modeling. By ruthlessly pruning non-stationary noise and enforcing chronological cross-validation, the model actively trades momentum regimes while decoupling from underlying asset drawdowns.

📊 Performance Metrics (Out-of-Sample: 2021-2024)

  • Total Return: 57.12%
  • Benchmark (Buy & Hold): ~30.00%
  • Alpha Generated: +16.00% (Absolute)
  • Annualized Sharpe Ratio: 0.56

Note: An extended 5-year robustness test (2021-2026) yielded a 100% absolute return, generating ~27% pure alpha over the extended benchmark.

🛠️ Tech Stack

  • Language: Python
  • Data Retrieval: yfinance
  • Feature Engineering: ta (Technical Analysis), numpy, pandas
  • Machine Learning: scikit-learn (RandomForestClassifier, TimeSeriesSplit, GridSearchCV)

📁 Repository Structure

  • /notebooks: Contains the core Jupyter Notebook with data fetching, feature engineering, model training, and the simulated backtesting loop.
  • /docs: Contains the formal Quantitative Research Report and the original task problem statement.

About

Quant club selection ML task

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages