on_order_update() Not working

abhishek26
on_order_update is never triggered:
I receive ticks but even after there is any update on the order, I receive nothing . Just trying to print the updates
def on_order_update(ws, data):
print "order update"
print data
1. I'm trying to get updates for the same user who placed the order
2. I see updates in kite dashboard
3. No other exception or error is thrown

any ideas what could be causing this?
  • rakeshr
    rakeshr edited May 2019
    @abhishek26
    We checked Websocket on_order_update at our end, it's working correctly for all order updates(Pending order, completed(partial/whole), rejection, etc)
    I'm trying to get updates for the same user who placed the order
    Did you login to connect application with same client as you are checking on kite web?
    Also, can you check if you have assign the callback for on_order_update
    kws.on_order_update = on_order_update
  • abhishek26
    Hi forgot to assign the callback, my bad!
    Thanks
This discussion has been closed.