Post Back API Cancel Multiple Post

vinaykachare
Hi,

Why we get two post messages on order cancellation , for update i can see that we get only one.

PFB Logs for your ref

2020-05-26 12:59:29,361 INFO b'{"placed_by":"xxx","order_id":"200526000116655","exchange_order_id":"1100000000285777","parent_order_id":"","status":"CANCELLED","status_message":"","status_message_raw":"","order_timestamp":"2020-05-26 12:59:29","exchange_update_timestamp":"2020-05-26 12:59:29","exchange_timestamp":"2020-05-26 12:59:29","variety":"regular","exchange":"NSE","tradingsymbol":"HINDALCO","instrument_token":348929,"order_type":"SL-M","transaction_type":"BUY","validity":"DAY","product":"MIS","quantity":55,"disclosed_quantity":0,"price":0,"trigger_price":130.8,"average_price":0,"filled_quantity":0,"pending_quantity":0,"cancelled_quantity":55,"market_protection":0,"meta":{},"tag":"","guid":"19274XrrBzsR6SPSKh","user_id":"DV6318","unfilled_quantity":0,"app_id":19274,"checksum":"xxx"}'
2020-05-26 12:59:29,366 INFO b'{"placed_by":"xxx","order_id":"200526000116655","exchange_order_id":"1100000000285777","parent_order_id":"","status":"CANCELLED","status_message":"","status_message_raw":"","order_timestamp":"2020-05-26 12:59:29","exchange_update_timestamp":"2020-05-26 12:59:29","exchange_timestamp":"2020-05-26 12:59:29","variety":"regular","exchange":"NSE","tradingsymbol":"HINDALCO","instrument_token":348929,"order_type":"SL-M","transaction_type":"BUY","validity":"DAY","product":"MIS","quantity":55,"disclosed_quantity":0,"price":0,"trigger_price":130.8,"average_price":0,"filled_quantity":0,"pending_quantity":0,"cancelled_quantity":55,"market_protection":0,"meta":{},"tag":"","guid":"19274XrrBzsR6SPSKh","user_id":"DV6318","unfilled_quantity":0,"app_id":19274,"checksum":"xxx"}'
  • sujith
    You can refer to this thread.
  • vinaykachare
    But why I'm getting only one postback on modify order but two on cancel, It would be really helpful for me if you explain with some example.
  • sujith
    We just propagate the events we get from OMS, we have asked the OMS team to take a look at this. In the meanwhile, you will have to handle this at your end.
  • vinaykachare
    Thanks @sujith.. Hope they will fix soon I only get 2 msg on cancel order update and complete is working as expected
Sign In or Register to comment.