Hi Rakesh,
Thanks for double checking, I appreciate your help
it's my mistake. Error was due to another dict variable that was caught in try block,
you can close this thread.
Here is the code used for those print line
try:
order_id = kite.place_order(tradingsymbol=instrument[4:],
exchange=instrument[0:3],
transaction_type=kite.TRANSACTION_TYPE_BUY,
…