Error while place_order

RK3021
Hello, I am new to this forum so please forgive me if this question is already posted.

I am trying to build one program in Python and getting error while it tries to place_order.


order_id = kite.place_order(variety=kite.VARIETY_REGULAR,
tradingsymbol=name,
exchange=kite.EXCHANGE_NSE,
transaction_type=kite.TRANSACTION_TYPE_BUY,
quantity=10,
order_type=kite.ORDER_TYPE_MARKET,
product=kite.PRODUCT_NRML,
validity=kite.VALIDITY_DAY)


Error:
order_id = kite.place_order(variety=kite.VARIETY_REGULAR,
builtins.AttributeError: 'str' object has no attribute 'place_order'
Can anyone help?
  • sujith
    Are you sure you have imported kiteconnect properly?
Sign In or Register to comment.