Does using order_type=kite.ORDER_TYPE_SL-M and order_type=kite.ORDER_TYPE_LIMIT block margin. if they do then how can I use order_id to not make them block margin. like when we manually place an SL-M & LIMIT order on a market order
@amandeep179018, You need to send the price with the above params for the LIMIT order. For SL-M you need to send trigger price with the above params. You can refer to this for a limit order example.
For an SL-M order, once the trigger is hit. It will become a MARKET order. The margin blocking behavior is the same as the Kite web or Kite mobile app.
if they do then how can I use order_id to not make them block margin.
like when we manually place an SL-M & LIMIT order on a market order
You need to send the price with the above params for the LIMIT order. For SL-M you need to send trigger price with the above params. You can refer to this for a limit order example.
For an SL-M order, once the trigger is hit. It will become a MARKET order. The margin blocking behavior is the same as the Kite web or Kite mobile app.