Python Nifty Options Intraday Bot - 21/07/2026 09:03 EDT
Publicada el 2026-07-21
Descripción de la oferta
I need a clean, well-documented Python script that can run an intraday strategy on Nifty options through my broker’s API. The core requirement is full-cycle automated trading: the code must fetch live option chain data from the API, evaluate entry/exit rules in real time, place, modify, and square-off orders automatically, then log every action. You are free to suggest the exact broker library (e.g., Kite Connect, Upstox, AngelSmartAPI, etc.) as long as it is stable, officially supported, and works for Indian markets. I already have API credentials and can handle exchange approvals; I just need the trading logic and automation layer put together. Key deliverables • Python 3.x script (single file or small module) with clear function blocks for data pull, signal generation, risk checks, and order execution • Config file or section where I can change lot size, max loss per day, and timing windows without touching core logic • Console or log output that time-stamps every API call, signal, and order response for easy audit • README with setup steps and example command to run the bot Acceptance criteria The script should: 1. Connect to the broker API and stream or poll live Nifty option prices under 2 seconds latency. 2. Execute the intraday rule set I’ll supply (you may start with a simple moving-average crossover on ATM strikes; I’ll tweak later). 3. Place market or limit orders automatically and confirm fills. 4. Enforce daily stop-loss / target, then stop trading for the day when breached. 5. Close all open positions by 3:20 PM IST and generate a summary P&L in CSV. Please build with standard libraries plus popular packages such as pandas, numpy, and websocket-client where needed; no obscure dependencies. Once I can run a dry-run in paper-trading mode without errors, we’ll move to live funds and iterate if minor adjustments are required.
Skills
Fuente original: freelancer