Unable to place orders via webhooks TV

I don’t see any error in TV or in dhan. I get the alert in TV but when i check dhan orders page, there are no orders placed. can somebody help ?

Hi @pruthvi

Welcome to the Dhan Community.

Request you to check your token is active and the JSON request is properly entered. If the order is still not triggered, share the JSON structure in DM or help@dhan.co with your details, so we can have this check

Hi Divyesh,

Token is active and here is JSON:

{“secret”:“xOCRj”,“alertType”:“multi_leg_order”,“order_legs”:[{“transactionType”:“B”,“orderType”:“MKT”,“quantity”:“1”,“exchange”:“NSE”,“symbol”:“NIFTY”,“instrument”:“OPT”,“productType”:“I”,“sort_order”:“1”,“price”:“0”,“option_type”:“PE”,“strike_price”:“19750.0”,“expiry_date”:“2023-11-23”}]}

Just checking - FNO segment enabled for you ?

Thank you. I have enabled it now and placed my orders through TV. All set.

1 Like