Skip to main content

Market Price Protection (MPP) Beta

Effective Date: March 11, 2026

Market protection is now available when placing Market or Stoploss Market (SL-M) orders. You can control how much price protection is applied at execution using the optional market_protection parameter.

What is Market Protection ?

Market protection is a safety feature used when placing market orders to prevent execution at an unexpectedly bad price during high volatility or low liquidity. It ensures that the order is executed at a price that is within a certain percentage of the current market price. Market protection lets you choose the level of price protection when the order is executed.

ValueDescription
0No market protection (default behavior).
0 - 25Custom market protection percentage.
For example, 3 means 3% protection, 15 means 15% protection.
The value must be between 0 and 25.
-1Automatic market protection applied by the Upstox System as per Market Protection Guidelines.

How Market Protection Works ?

When you place a market order (Market or Stoploss Market), it normally executes at the best available price in the order book. However, if liquidity is thin or prices move rapidly, the order might execute far from the last traded price (LTP).

Market protection sets a price limit range to control this risk. The price limit range is calculated based on the current market price and the market protection percentage.

For example, if the current market price is 100 and the market protection percentage is 3%, the price limit range will be 97 to 103.

Where is Market Protection Supported ?

Market protection is supported only for Market and Stoploss Market (SL-M) orders. This feature is not applicable to Limit and Stoploss Limit (SL) orders, and will be ignored if used with those order types.

You can send market_protection in the request body when using:

Refer to each API’s Request Body section for the exact parameter name and usage.

Thank You

We appreciate your support. If you have questions or feedback, reach out via the Upstox Developer Community.