This Friday, most of my alerts were triggered but nothing happened on Dhan. There were no errors on either Dhan or TradingView. It had been working fine all week, and the endpoint is still active.
Webhooks seem to be very unreliable, any advice on how I can debug this? Since you’ve been using it for a long time, your insights would be really helpful. For context, I’m using webhooks on an indicator alert to execute baskets on Dhan.
I too faced the same issue. I have raised this issue, but to my surprise no one could understand and explain why it is breaking only for Sell orders.
If it is because of insufficient funds, then should it not get triggered and then fail like in case of a Buy order?
Raised it on this forum with @Shubham_Singh and on help@dhan with Shrutika.
While we haven’t received any communication from TradingView themselves on this and possible ban of any accounts for using webhooks, we are keeping a close check on it.
As of now, thousands of users across Dhan continue to use webhooks for placing orders. While we cannot alter the policies of TradingView, we are working to ensure you can continue place orders based on conditions without any issue. Will soon have more updates on this.
yeah, the secret key is different was because the webhook was refreshed.
The point I understand that Delivery mode Sell order isnt allowed, but then does Dhan take a Intraday sell order and close the opposite open Long order correctly?
For ex. If I have a delivery Long position open for 5 units, does placing a Sell order with Intraday type for 5 units enough to close the long position?
Naked Delivery Sell order is banned in the market. But if you already have N number of Delivery holdings of a stock and selling fails with a Delivery product type then only Dhan can help @Hardik
Hi @Hardik my json message has “orderType”:“LMT” along with “price”:“75” but when the alert triggered on Tradingview the order is not showing in Dhan order section. Please can you check if limit order works fine using Webhook alert.