I’m using the Dhan API and I am not using Super Orders.
My flow is:
-
I place the entry order through the API.
-
Once the entry is executed, I place a normal LIMIT order for my Target.
-
I separately place a STOP_LOSS / SL order for the same position.
The issue is that the SL order is accepted successfully, but when I place the Target as a normal LIMIT order, it gets rejected with:
“You have insufficient funds. Please add ₹XXXX.XX to trade.”
I have already used around 70% of my available funds for the entry, so I understand that my available margin is lower.
What I don’t understand is why the SL order is accepted but the Target LIMIT order requires additional funds.
Since both are exit orders against an already-held position, does Dhan’s risk/margin system treat a normal LIMIT sell order differently from a STOP_LOSS sell order?
Could someone from Dhan clarify:
-
Why is the SL accepted while the Target LIMIT order is rejected?
-
Does placing the SL block some additional margin?
-
Is a normal LIMIT Target order considered a fresh sell/exposure order for margin purposes?
-
Is there a recommended way to place independent Target + SL orders through the API without requiring additional funds?
I am intentionally not using Super Orders; I am placing the entry, Target LIMIT, and SL as separate API orders.