Fetching order status update via on_order_update()

mkrathi
Hello, I am trying to get Order update However I see that I am not fetching any data despite order change on kite. While quote ticks are coming smoothly here but on_order_update function doesnt seems to be returning any data packet. Please help

def on_order_update(self, ws, data):
order_data = json.loads(data)['data']
myOrder.Sell_OrderStatus=order_data['status']
  • sujith
    Hi,
    Order updates are not sent for placing an order. It will be sent for partial fill, executed or status change like trigger pending to open.
  • mkrathi
    Ok but if I placed a buy order and if it is executed that is from 'OPEN' to 'COMPLETE' I should be expecting update. Correct?
  • sujith
    Yes, there will be order_update.
  • mkrathi
    thanks got it. Can close the thread.
This discussion has been closed.