How can I place basket order?

keyurkankotiya
Hello everyone,
I want to place a basket order in Python, can anyone please help me with that?
I am trying this code kite.place_order(variety="regular", orders=order_params), but I am getting error like place_order() got an unexpected keyword argument 'orders'.

order_params = [
{'exchange': 'NFO', 'tradingsymbol': 'BANKNIFTY2431349200CE', 'transaction_type': 'BUY', 'variety': 'regular', 'product': 'MIS', 'order_type': 'MARKET', 'quantity': 135},{'exchange': 'NFO', 'tradingsymbol': 'BANKNIFTY2431346200PE', 'transaction_type': 'BUY', 'variety': 'regular', 'product': 'MIS', 'order_type': 'MARKET', 'quantity': 135}]

Thanks in advance.
This discussion has been closed.