
Open
Posted
Paid on delivery
I need a clean, production-ready Python script that plugs into the Dhan API and its WebSocket feed to automate a single intraday play on the current-week NIFTY PE that is three strikes in-the-money (ATM-3). The strike must be picked using the ATM-3 premium itself rather than the spot or futures price. Logic • ema + time based logic • Stop-loss 10 % and target 20 % must be attached instantly. and time based universal exit • If another position exists in the account the strategy simply ignores it and proceeds with its own rules—no forced square-off or alerting. Implementation notes The solution has to rely on Python 3.x, leverage Dhan’s REST endpoints for order placement, and keep WebSocket streaming alive for real-time pricing and stop-loss/target management. Please structure the project so I can run it on dhan and drop in my own API keys. A concise README covering environment setup and a test run for one live session will complete the delivery. I will consider the job done when the script triggers exactly as specified, places orders with the correct risk parameters, and exits on either stop or target without manual intervention.
Project ID: 40421208
22 proposals
Open for bidding
Remote project
Active 1 day ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
22 freelancers are bidding on average ₹9,258 INR for this job

Calculating the strike using the ATM-3 premium instead of spot price adds complexity to the WebSocket subscription logic. Most scripts fail here because they do not handle dynamic strike selection cleanly before subscribing to the feed. I write Python for production environments where uptime matters. At Coinread, I managed systems handling real-time financial data with strict latency requirements. The same discipline applies to a trading bot. I will structure the code so connection drops trigger an automatic reconnect without duplicating orders. Your risk parameters need to be enforced at the API level, not just in local logic. I will ensure the stop-loss and target orders are sent immediately upon entry execution. The script will also check for existing positions before triggering new entries. Are you planning to run this on a local machine or a cloud server like AWS?
₹2,465 INR in 7 days
6.7
6.7

Hello there, I'm truly excited by your project to automate a NIFTY PE strategy using Dhan API and WebSocket. I'm ready to deliver a robust, production-ready Python 3.x script for your ATM-3 play, incorporating EMA/time logic, instant 10% SL/20% Target, and universal time-based exit, exactly as specified. My strong Python and API integration skills, honed through backend development (Django), make me a perfect fit. I'll structure the code for easy API key integration and provide a concise README for setup and a test run. You can count on the script to trigger correctly and manage exits automatically. I look forward to discussing your project! Regards, Nikhil Chandra Roy.
₹1,050 INR in 7 days
6.3
6.3

Hello, I understand that you're looking for a robust Python script to automate trading using the Dhan API, with specific requirements around risk management and real-time market data. The challenge of seamlessly integrating both REST endpoints and WebSocket feeds for such precise trading actions is crucial to minimize risks and maximize efficiency. With over 12 years of experience in full-stack development, I have successfully handled similar projects involving APIs and real-time data streaming. My expertise includes leveraging Python 3.x for backend solutions, ensuring clean code structure, and implementing effective strategies like EMA-based logic for trading. I see the importance of a concise README for easy setup and running the script with your own API keys. My focus will be on delivering a production-ready solution that meets all specified triggers without manual intervention. Could you clarify how often you would like to review the position's performance during its operation? Looking forward to collaborating on this project! Best regards, [Your Name]
₹1,500 INR in 7 days
4.4
4.4

Hello, I am excited to help you with your Dhan API and WebSocket project. I have extensive experience in developing trading algorithms using Python, ensuring clean and efficient code. - Plan: - Analyze Dhan API documentation - Develop the script for API integration - Implement WebSocket for real-time data - Test and optimize for performance - Tech Stack: Python, WebSocket, REST API - Timeline: 1-2 weeks for completion, with regular updates. You should choose me for my proven track record and commitment to delivering high-quality solutions. What specific features do you need in the script? Are there any particular performance metrics you want to achieve? Regards, Bharti M.
₹14,566 INR in 7 days
4.0
4.0

Readymade setups for Dhan available Completed projects till now 1) Python + DhanAPI +Excel + VBA option scalping strategy 2) Python 21 EMA and 9 EMA crossover strategy on DhanAPI 3) Google sheet + FyersAPI trading 4) Google sheet + Algomojo + Upstox 5) Tradetron Banknifty option scalping strategy 6) Excel 2600 NSE 10 years data 7) Copytrading using python 8) Tradetron Supertrend + MACD Crossover Strategy 9) Dhan option chain with Greeks in Google spreadsheet via Google Appscript 10) Backtesting of Nifty options for wait and trade strategy 11) Trigger orders for Dhan Nifty options 12) Shoonya API:- Wait and trade strategy 13) Tradetron: RSI + ADX + EMA strategy 14) Python Moving avarage channel trading Algo 15) Kotak Neo: Turtle scalping strategy for options 16) Fyers Filtered option chain in Excel 17) Binance Bitcoin tradingview strategy python bot 18) Fyers Tradingview python bot 19) Dhan Python order manager I can deliver any project in Trading. Readymade setups for Python available
₹5,000 INR in 7 days
3.1
3.1

6 years building algorithmic trading scripts on Indian market APIs means Dhan's REST and WebSocket stack is familiar territory and NIFTY options automation is a problem I have solved before. The script would scan the current-week NIFTY PE chain, identify ATM-3 by premium value rather than spot price, place the entry order via Dhan's REST endpoint, and attach the 10% stop-loss and 20% target immediately on fill. WebSocket feed keeps real-time pricing alive for continuous SL and target monitoring with time-based universal exit running in parallel. Existing positions in the account are detected and ignored cleanly without interfering with the strategy's own order flow. Structured so your API keys drop into a config file and the script runs without modification. README covering environment setup and a walkthrough of one live session test included. Can you confirm whether you want the entry triggered on EMA crossover, EMA slope, or a specific time window, and what the time-based exit cutoff should be?
₹1,000 INR in 7 days
2.6
2.6

Hi! I see you're looking for a solid Python script to automate your intraday NIFTY PE play with the Dhan API. The challenge of needing a clean solution that manages orders without manual intervention is definitely something I can help with. So, I’d approach this by setting up a script that connects to both the Dhan REST endpoints for placing orders and the WebSocket for live price streaming. I’ll implement the EMA and time-based logic, along with the stop-loss and target you've specified. The script will also check for existing positions to avoid any overlap, keeping it straightforward. I've worked on similar trading automation projects before, so I know the ropes of API integration and event-driven programming. It's all about getting your parameters right and ensuring everything runs smoothly. I can deliver this in about 5 days, with a README to guide you through the setup and testing. Let me know if that sounds good, or if you have any other thoughts! best regards, Walled Saleem
₹875 INR in 3 days
2.6
2.6

Hi there, You’re in the RIGHT PLACE! I’ve worked on SIMILAR PROJECTS multiple times and understand how to deliver this EFFICIENTLY and CORRECTLY from the start. I bring 17+ YEARS OF EXPERIENCE from other freelancing platforms, successfully delivering HIGH-QUALITY PROJECTS and REAL RESULTS for clients. To provide an accurate SCOPE, TIMELINE, and COST, I’d like to ask a few KEY QUESTIONS. Due to Freelancer’s character limit, it’s difficult to cover everything here. Let’s connect in CHAT so I can: • Share RELEVANT PAST WORK • Understand your EXACT REQUIREMENTS • Propose a CLEAR and EFFECTIVE ACTION PLAN I’m confident you’ll find my approach PRACTICAL, TRANSPARENT, and RESULTS-DRIVEN. If you're ready to get this done the RIGHT WAY, I’d be happy to get started. Looking forward to CONNECTING with you. Best regards, Amit Ranjan
₹1,050 INR in 7 days
2.1
2.1

Review the Dhan API documentation, order flow, WebSocket feed, and required option-symbol format for current-week NIFTY PE contracts. Build a clean Python 3.x project structure with config files for API key, client ID, strategy settings, lot size, EMA period, SL, target, and exit time. Connect to Dhan REST API for authentication, option-chain data, order placement, and order-status tracking. Identify the current-week NIFTY PE contract and calculate ATM-3 based on option premium logic as required, not only spot or futures price. Start the Dhan WebSocket feed and keep it alive to receive live prices for the selected contract. Implement EMA + time-based entry logic using live tick data and Pandas-based candle/indicator calculation. Once the entry condition is confirmed, place the intraday order immediately through REST API. Attach risk management instantly: 10% stop-loss and 20% target based on entry price. Monitor live price through WebSocket and automatically exit when SL, target, or universal time-based exit is reached. Ignore unrelated open positions in the account and manage only the position created by this strategy. Add logging for entry, exit, price updates, order IDs, errors, and WebSocket reconnect events. Provide a README with setup steps, dependency installation, API-key configuration, and instructions for one live test session.
₹150,000 INR in 10 days
2.4
2.4

The challenge of executing automated intraday trades based on the ATM-3 premium using the Dhan API requires seamless integration of REST endpoints and WebSocket streaming for optimal real-time performance. I will develop a Python script that implements EMA and time-based logic, ensuring instant stop-loss and target parameters are applied as specified. The architecture will support your API key integration, enabling you to run the solution effortlessly. An accompanying README will detail the environment setup and guidance for a live session test. Expect the initial deliverable within 5 days. What's your deadline, when do you need this live?
₹925 INR in 5 days
2.2
2.2

Hello I’ve developed similar Algo for Kite/Zerodha Live working and trading. Let’s discuss on Chat. I will show you Live working project.
₹10,000 INR in 7 days
1.7
1.7

Hello I am a Python developer with strong experience in building automated trading systems using broker APIs and real-time WebSocket data feeds. I have worked on intraday strategies involving options, EMA based signals, and risk-managed order execution systems, ensuring reliable integration with REST APIs and live market streaming for precise trade automation. In my previous work, I have developed algorithmic trading scripts that handle option selection logic, real-time price tracking, and automated order placement with built-in risk controls such as stop loss, target, and time based exits. I am familiar with structuring clean Python projects that interact with broker APIs, manage WebSocket stability, and ensure uninterrupted strategy execution during live market sessions. For your project, I will build a production ready Python 3.x script integrated with Dhan API that selects ATM-3 NIFTY PE based on your defined logic, applies EMA and time based entry rules, and automatically places orders with 10 percent stop loss and 20 percent target. The system will include WebSocket based live monitoring, universal time exit handling, and will ignore external positions as specified. I will also provide a clean README with setup instructions, API key configuration, and a test run guide so you can deploy it easily for live trading. Best regards, Abbas Ali
₹1,050 INR in 7 days
0.4
0.4

i can make as i have created a fully working algo trading and analysis platform using the smartapi feel free to work for further things
₹1,500 INR in 7 days
0.0
0.0

I can build a clean, production-ready Python script for your Dhan intraday strategy. I’ll implement ATM-3 strike selection based on premium, EMA + time-based entry logic, and instant SL (10%) / target (20%) with real-time tracking via WebSocket. The script will ignore other positions and handle its own lifecycle with a time-based exit.
₹1,050 INR in 7 days
0.0
0.0

Hi, I've worked with WebSocket-based algo trading scripts in Python before — real-time feed management, order placement via REST, and automated SL/target logic are all familiar ground. The ATM-3 strike selection using live premium rather than spot price is a specific requirement I've noted — that's a cleaner approach and I'll implement it exactly that way. Two quick questions: 1. Should the EMA parameters (period, source) be hardcoded or configurable via a config file? 2. For the time-based exit — is there a fixed market time (e.g. 3:15 PM) or a duration-based cutoff from entry? I can have a working script ready for a live test session within the timeline. Ready to start today. Looking forward to it, Ammad
₹800 INR in 4 days
0.0
0.0

Hi, I can build a clean, production-ready Python solution for your intraday options strategy using the Dhan API with robust WebSocket handling and precise trade execution. Here’s how I’ll approach your requirement: I’ll design a modular Python 3.x project that connects to Dhan’s REST API for order placement and maintains a stable WebSocket connection for real-time market data. The script will dynamically identify the current-week NIFTY PE option that is three strikes in-the-money based on the premium logic (not spot/futures), ensuring accurate contract selection aligned with your requirement.
₹1,050 INR in 7 days
0.0
0.0

Hi, I can develop a clean, production-ready Python script for your Dhan API integration. I will implement the logic based on EMA and time-based triggers as requested, ensuring real-time WebSocket connectivity for ATM-3 strike selection and automated order management (SL 10%, Target 20%). The code will be well-structured with a concise README so you can easily plug in your API keys and run it. I am ready to start immediately. Best regards, Ahmed.
₹1,000 INR in 3 days
0.0
0.0

Hello, This project aligns well with my experience building Python-based automation systems, real-time data pipelines, and API-driven workflows. I regularly work on systems that consume live streams, process real-time logic, and trigger automated actions reliably. For your requirement, I would build a clean Python 3.x trading script using: • Dhan REST APIs for authentication and order placement • Dhan WebSocket feed for live option premium tracking and position monitoring • Modular strategy structure so you can easily modify EMA or timing logic later The workflow would: • Dynamically identify the current-week NIFTY PE strike using the ATM-3 premium logic • Execute trades based on EMA + time conditions • Instantly attach 10% stop-loss and 20% target management • Monitor positions continuously through WebSocket updates • Trigger universal time-based exits automatically • Ignore unrelated account positions and only manage strategy-created trades The code will include: • Structured logging and error handling • Config-based API key setup • Clean folder structure with README and setup instructions • Test session/demo walkthrough for validation While my direct trading background is limited, I do have experience building low-latency and real-time systems, including a Rust-based PLC logger handling continuous high-frequency data streams, which translates well into stable event-driven automation systems. Best regards Abishek
₹650 INR in 7 days
0.0
0.0

Hello, I can build this as a clean, production-ready Python system using the Dhan REST API + WebSocket feed. ✔ Current-week NIFTY PE ATM-3 selection based on premium logic ✔ EMA + time-based entry conditions ✔ Instant SL (10%) and Target (20%) placement ✔ Universal time-based exit ✔ Independent strategy execution without interfering with other positions ✔ Stable WebSocket handling for real-time monitoring ✔ Proper project structure with config-based API setup ✔ VPS-ready deployment ✔ Clear README with setup and live test instructions I focus on reliable trading automation with clean and maintainable code, so the script will be easy to run and modify later. Ready to start immediately and deliver exactly as specified. Thank you.
₹5,000 INR in 1 day
0.0
0.0

Bhubaneswar, India
Member since Dec 7, 2024
₹600-1500 INR
₹600-1500 INR
$15-25 USD / hour
$250-750 USD
₹37500-75000 INR
₹750-1250 INR / hour
$1500-3000 USD
$2-8 USD / hour
₹12500-37500 INR
₹400-750 INR / hour
₹150000-250000 INR
$30-250 USD
₹12500-37500 INR
$100 USD
₹12500-37500 INR
$15-25 USD / hour
$15-25 USD / hour
₹12500-37500 INR
₹1250-2500 INR / hour
$30-250 USD
₹1500-12500 INR
₹12500-37500 INR