Hi Team, How can I place multiple orders in 1 call using kites api python implementation. I was searching on kites forum & came across something called "basket order" but unable to find it's implementation in python library. Currently I am using place order in python which places 1 order only
Buy 1 quantity of Nifty CE 17450 March 23
Buy 1 quantity of Nifty PE 17500 March 23
Sell 1 quantity of Nifty CE 17500 March 23
Sell 1 quantity of Nifty PE 17450 March 23
If I check on the margin calculator tool, it shows the margin benefit. I am getting total (initial and final) margins using kite.basket_order_margins function.
Will I get the margin benefits if I place these four orders in sequence?
Yes, you will get margin benefit for the sell legs in this basket if you get instant fills to your buy legs which is the case most of the times.