Python Options Trading Bot for Dhan HQ

Замовник: AI | Опубліковано: 05.12.2025

i need to develop a phyton code for options trading with dhan hq. draft a bullet point to post in freelance app - **Project Title:** Develop Python Code for Automated Options Trading with Dhan HQ API - **Description:** Need an experienced Python developer to build a robust options trading bot using the official DhanHQ-py library (pip install dhanhq). The script should handle key functions like fetching option chains, placing buy/sell orders for Sensex/Nifty options (e.g., market/limit orders, INTRA/CNC products), monitoring positions, real-time market feeds via WebSocket, and basic risk management (e.g., stop-loss at 30-point targets, position sizing).[1][3] - **Key Requirements:** - Integrate Dhan API for authentication (client_id, access_token), order placement (e.g., NSE_FNO segment), positions/holdings fetch, and option chain data.[1] - Support automated strategies for Sensex options buying, targeting ITM strikes with ~30-point profit exits. - Include error handling, logging, and webhook compatibility for TradingView/Pine Script alerts. - Use Python 3.x with libraries like dhanhq, pandas for data, and asyncio for real-time feeds.[1][5] - **Deliverables:** Full source code with comments, setup instructions (API keys via Dhan dev portal), test script for sandbox/live, and 1-hour handover call.[4] - **Budget/Timeline:** ₹[your budget], delivery in 3-5 days. Preference for freelancers with Dhan API or Indian brokerage experience (e.g., Zerodha, Upstox).[2] - **Skills Needed:** Python, Trading APIs, Options Trading, DhanHQ, WebSockets. Share GitHub/portfolio with similar bots.