Web socket order updates

KartikRathi
Hi,

Is anyone using the callback method of orderupdates of websockets to perform further opertions? Like if I receive an order update of partial fill, I want to place an order for SL. Also, for what all orders do we get an update? ALL Orders placed through the API?
  • sujith
    You can will receive order updates for all the orders not only API orders on Websockets API.

    On postback API, notification is pushed for the orders that are placed on API only.
  • KartikRathi
    Thanks for the swift response. Also regarding the first part of question when an orderupdate is received in a callback function can I use it to take further steps in my program?
  • rakeshr
    Also regarding the first part of question when an orderupdate is received in a callback function can I use it to take further steps in my program?
    Yes, you can perform any computation. But make sure you are not blocking the main thicker thread, this thread explains more.
Sign In or Register to comment.