error placing order

rohitm
kite.place_order(tradingsymbol=PE_strike_symbol,exchange=kite.EXCHANGE_NFO,transaction_type=kite.TRANSACTION_TYPE_BUY,quantity=lot_size*multiplier,order_type=kite.ORDER_TYPE_MARKET,product=kite.PRODUCT_NRML)

this is giving error TypeError: place_order() missing 1 required positional argument: 'variety'

what is missing here ?
  • rakeshr
    this is giving error TypeError: place_order() missing 1 required positional argument: 'variety'
    As the error states, you are not sending the variety param value. You can refer to this documentation to know all the required param for placing an order. Also, refer to place_order method detail here.
This discussion has been closed.