Hi all, i am trying to place the below single leg GTT order but getting `quantity` missing inside orders error. below is the code order_dic={"transaction_type":kite.TRANSACTION_TYPE_BUY, "quantity":25, "order_type":kite.ORDER_TYPE_SL, "product":kite.PRODUCT_NRML, "price":600}
kite.place_gtt(trigger_type=kite.GTT_TYPE_SINGLE, tradingsymbol='BANKNIFTY2160335700CE', exchange=kite.EXCHANGE_NFO, trigger_values=[587.4], last_price=170, orders=order_dic ) Please help me what i am missing?
You need to send an array of orders. You can check out all the param details on the documentation.