☰
Login
Signup
Home
›
API clients
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
458
Algorithms and Strategies
999
Java client
1.1K
API clients
404
PHP client
4K
Python client
348
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
May 2020
vinaykachare
May 2020
sujith
Post Back API Cancel Multiple Post
vinaykachare
May 2020
in
API clients
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"}'
Tagged:
Order Post Back API
sujith
May 2020
You can refer to this
thread
.
vinaykachare
May 2020
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
May 2020
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
May 2020
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.