builtins.NameError: name 'ACC20MAYFUT' is not defined

KKIA
getting the below error.. while placing order from python. please advise
kite.place_order(variety=kite.VARIETY_REGULAR,exchange=kite.EXCHANGE_NFO,tradingsymbol=ACC20MAYFUT,transaction_type=kite.TRANSACTION_TYPE_SELL,quantity=400,price=1165,order_type=kite.ORDER_TYPE_LIMIT,product=kite.PRODUCT_MIS)
builtins.NameError: name 'ACC20MAYFUT' is not defined
  • rakeshr
    @KKIA
    You need to send trading symbol as string i.e 'ACC20MAYFUT'.
  • KKIA
    @rakeshr thank you, triggered testing orders.....

    10:37:14 SELL JUBLFOOD MAY FUT NFO MIS 0 / 500 1,515.90
    10:36:43 SELL HINDPETRO MAY FUT NFO MIS 0 / 2100 177.60
This discussion has been closed.