All WorkNifty Option Trading SystemGitHub
All WorkView on GitHub
Algo Trading

Nifty Option Trading System

Nifty Option Trading System
Role
Solo developer & quant
Year
2024
Category
Algo Trading
Stack
Python, Dhan API
Overview

Nifty Option Trading System is an autonomous derivatives engine built to read, price, and act on Nifty 50 options without a human in the loop. It was designed for the volatility of Indian index options, where spreads move in single-digit seconds and stale data is worse than no data.

The system streams live option-chain data through the Dhan API, reconstructs the implied volatility surface on every tick, and routes signals through a position manager that enforces hard risk limits before anything reaches the exchange.

Highlights
01Real-time option-chain ingestion with sub-second Greeks recalculation
02Position manager with hard stop-loss and exposure caps enforced pre-trade
03Backtested across three years of Nifty 50 expiry cycles
04Automatic square-off on expiry day volatility spikes

Feature gallery

Built with
PythonDhan APIPandasNumPyPostgreSQL
More Work