Skip to content

Backtested equity trading strategies on 4+ years of Indian market data, achieving ~12.4% ROI with 68% hit ratio under simulated market conditions. Includes a Python-based backtesting engine, risk metrics (Sharpe ratio, max drawdown), and a Streamlit dashboard to visualise equity curves, trades, and virtual fund allocation.

Notifications You must be signed in to change notification settings

Soham2511/Algorithmic-Trading-Self-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithmic Trading Self-Project

GitHub Repo Size Python Version License

Overview

This repository contains self-developed algorithmic trading strategies and tools built using Python. The main objective of this project is to explore, design, and implement data-driven trading algorithms for financial markets.

The project includes:

  • Market data analysis
  • Trading strategy development
  • Backtesting frameworks
  • Performance evaluation and visualization

Features

  • Fetch historical and live market data
  • Implement technical indicators and trading signals
  • Develop and backtest multiple trading strategies
  • Generate performance reports and visualizations
  • Modular code structure for easy expansion

Technologies & Libraries

  • Python 3.11
  • Pandas for data manipulation
  • NumPy for numerical calculations
  • Matplotlib / Seaborn for plotting
  • TA-Lib for technical analysis indicators
  • Backtrader / Zipline for backtesting (optional)
  • yfinance / Alpha Vantage / Binance API for market data

Repository Structure

Algorithmic-Trading-Strategy/ 
│── data/ # Sample equity CSVs 
│── notebooks/ # Jupyter notebooks for exploration 
│── src/ # Python modules 
│ │── backtest.py # Backtesting logic 
│ │── strategy.py # Entry-exit rules 
│ │── risk.py # Risk management, position sizing 
│ │── dashboard.py # Streamlit dashboard 
│── results/ # PnL curves, metrics reports, screenshots 
│── requirements.txt # Python dependencies 
│── README.md # Project overview

Getting Started

1. Clone the repository

git clone https://github.com/Soham2511/algorithmic-trading-self-project.git
cd algorithmic-trading-self-project

2. Install dependencies

Copy code
pip install -r requirements.txt

3. Run a sample strategy

Copy code
python backtesting/sample_strategy.py

Usage

  • Add your own strategies in the strategies/ folder
  • Modify data sources in data/ as per your preference
  • Run backtesting scripts to evaluate strategy performance

Contributing

This is a self-learning project. Contributions are welcome in the form of:

  • New strategies
  • Optimization techniques
  • Enhanced backtesting modules

License

This project is licensed under the MIT License.

Project by Soham Jagtap

About

Backtested equity trading strategies on 4+ years of Indian market data, achieving ~12.4% ROI with 68% hit ratio under simulated market conditions. Includes a Python-based backtesting engine, risk metrics (Sharpe ratio, max drawdown), and a Streamlit dashboard to visualise equity curves, trades, and virtual fund allocation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published