I’m using webhook tradingview to place my orders based on startegy
however, orders are getting placed and squaredoff based on the startegy, however, i want to place the reverse entry as well, but the alert is coming at the same time, it is getting rejected,
in other platsforms, we can put in jason just to square off and not place order, how can we do in dhan. please help
In case you want to place reverse entry, you can place order via alert for double quantity. For example, if you have a long position of x quantity, you can reverse your position with sell order of 2x quantity. Hope this helps!
This should not happen. You will only require margin for the short quantity i.e. for x sell quantity. Do not that sell margin is usually higher than buy margin. Your buy margin (for the initial position) will not be taken into account until your position is squared off.