Hope you are doing well.
I wanted to understand how market orders placed via Dhan API are handled in terms of price protection. Specifically, could you please clarify:
-
What is the default percentage of market protection (MPP) applied across different instruments (attached snap is of Upstox reference for you)
-
Is there any internal mechanism similar to Market Price Protection (MPP) used to prevent excessive slippage?
Currently, I could not find clear documentation regarding this in Dhan’s API.
For reference, brokers like Upstox provide detailed control over this feature. They allow users to:
-
Use a default protection (
-1) based on exchange guidelines -
Pass a custom protection percentage (
1–25%) in the API request -
Restrict orders without protection (
0is not allowed)
Additionally, they expose this directly in their order placement payload, enabling better control for automated trading strategies.
Example (Upstox API structure):
{
"quantity": 4000,
"product": "D",
"validity": "DAY",
"price": 0,
"instrument_token": "NSE_FO|43919",
"order_type": "MARKET",
"transaction_type": "BUY",
"disclosed_quantity": 0,
"trigger_price": 0,
"is_amo": false,
"slice": true,
"market_protection": 1
}
This flexibility is extremely useful, where controlling slippage is critical for performance.
It would be very helpful if you could:
-
Share how Dhan currently handles market order protection
-
Consider enabling a similar customizable market protection parameter in the API
Looking forward to your clarification.
Thanks & Regards,
Shiva Devendra
