Regarding order notifications

kontacthimanshu
Hi,

I have few questions regarding placing order from Kite App and through code:

1) Will the order placed by code appear in Kite App?
2) If the answer to first question is yes, if I modify the same order in Kite App will I get notification in code?
3) If I place an order from Kite, will I get a notification in code through Kite API?

Thanks,
Himanshu.
Tagged:
  • sujith
    Yes, you can see orders placed from the Kite Connect app on Kite mobile and web app.

    What notification are you referring to? Order updates via websockets or postback?
  • kontacthimanshu
    Order updates via websocket.
  • rakeshr
    Yes, you will receive an order modification update through Websocket order update(if you have done proper callback).
  • kontacthimanshu
    Is there an example how to modify order using websocket?
  • rakeshr
    Is there an example how to modify order using websocket?
    You can't modify orders using Websocket but receive order modification as you asked above.
  • kontacthimanshu
    Ok then please close! Thanks!
  • sureshganta06
    Order updates via websocket are not getting triggering for me. Could you please help me on this.

    kiteMaster.on_order_update = onOrderUpdate

    def onOrderUpdate(ws, data):
    print("Order is updated...")
    print("---onOrderUpdate: {}".format(data))
  • sujith
    @sureshganta06,
    Order updates are not pushed for AMOs and it is only sent when there is an update on the order like when there is partial fill, modification, completed. Order updates are not sent when an order is placed.
Sign In or Register to comment.