I want to always place SLM order with my buy/sell order with limit price.
Reliance current price = 2000
I want to short Reliance with a limit of 1998. And at the same time, I want to place SLM order of price 2010. How can I do that?
Currently, I am placing two orders via Python API
1.) Short reliance with limit price. 2.) if it is completed or partially filled, I place stop loss margin order with filled quantity.
But I don’t like this method because what If my Internet stops working or Kite API stops working after I place reliance short order with limit price. I will be unable to place stop loss order. Or for any other reason.
I was wondering if there is any better way to do this? I always want to place Stop Loss with my buy/short order.