Skip to main content

F&O on strategy webhooks

Strategy webhooks support one futures or options contract per request. Multi-leg spreads (legs[]) are not supported yet.

Create the right strategy type​

Create the strategy as F&O (or F&O lot scale). Use the matching webhook path:

PathProduct
/futFutures
/optOptions

F&O orders always use INTRADAY at the broker.

How to identify the contract​

MethodReliabilityNotes
security_idBestAvoids wrong-contract matches
Exact trading symbolGoodFull option / future series name
Bare underlying only (NIFTY)RiskyMay pick the wrong contract

Example​

{
"action": "BUY",
"symbol": "NIFTY25APR24000CE",
"security_id": 123456,
"exchange_segment": "NSE_FNO",
"price": 125.5,
"lots": 1,
"sl": 100,
"target": 160
}

Replace security_id and symbol with your contract values from Dhan.

Back to TradingView alerts · Payload reference