Python Zerodha NIFTY Options Bot

via Freelancer ·

Budget / Salary₹1,500–12,500
TypeFreelance project
LocationRemote
Posted1 hour ago
I want a production-grade, fully automated trading system that sells NIFTY options through the Zerodha API, written entirely in Python. At the start of every session I will manually type a single NIFTY Futures price—this is the fixed “Reference Line.” The bot must store that value, keep it unchanged for the whole run, and switch side logic only when I restart or deliberately reset the strategy.

Live futures above the Reference Line put the strategy in BUY SIDE mode; below it switches to SELL SIDE mode. Rather than choosing strikes by distance, the script must pick the option contract whose premium matches a target price that I will supply. Orders, position sizing and exits have to follow that premium-based selection on whatever side is active.

Data comes only from the Zerodha market feed, and all orders must be routed through the same API with proper authentication, error handling and reconnection logic. I need clear logging, a lightweight dashboard or console readout that shows current Reference Line, real-time futures price, selected option, side status and open positions.

Deliverables:
• Clean, modular Python code with comments.
• A configuration file (YAML/JSON) where I can change target premium, quantity, and risk parameters.
• Setup guide and step-by-step deployment notes so I can run it on my own VPS.
• Short live demo session proving that the bot stores the Reference Line correctly, retrieves prices through the Zerodha feed, and places a test order accordingly.

Acceptance: the bot must maintain the fixed Reference Line throughout a continuous market session, enter trades only when the premium condition and side logic align, and handle typical Zerodha API interruptions without manual intervention.
php c programming python software architecture api data analysis financial apis algorithmic trading
Apply on Freelancer →

Project sourced from Freelancer.com. Applications happen directly on the original platform — we never collect your data.