☰
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.8K
All Categories
0
Incidents
151
Node JS client
39
Go client
791
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
456
Algorithms and Strategies
992
Java client
1.1K
API clients
402
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
April 2017
Sowmay
April 2017
sujith
Why I'm receiving 2 similar response after successful order execution?
Sowmay
April 2017
edited April 2017
in
API clients
Anytime if an order is executed, I receive 2 similar response from zerodha on my given app web hook. Even my Zerodha official kite platform is showing single order executed. Then where's the glitch?
Below is both the response with nothing change:
{
order_id: '170406000682658',
exchange_order_id: '',
order_timestamp: '2017-04-06 17:43:35',
exchange_timestamp: '',
status: 'REJECTED',
status_message: 'RMS: Auto Square Off Block',
placed_by: 'SS0491',
user_id: 'SS0491',
tradingsymbol: 'BHARATWIRE',
exchange: 'NSE',
transaction_type: 'BUY',
order_type: 'MARKET',
quantity: 96,
filled_quantity: 0,
unfilled_quantity: 0,
price: 0,
average_price: 0,
trigger_price: 0,
product: 'MIS',
validity: 'IOC',
tag: '',
checksum: '83dacc9200ff0bab2e4a13930f8e5f5ff0dd31b53f06148731f3dbf3fe234e20'
}
{
order_id: '170406000682658',
exchange_order_id: '',
order_timestamp: '2017-04-06 17:43:35',
exchange_timestamp: '',
status: 'REJECTED',
status_message: 'RMS: Auto Square Off Block',
placed_by: 'SS0491',
user_id: 'SS0491',
tradingsymbol: 'BHARATWIRE',
exchange: 'NSE',
transaction_type: 'BUY',
order_type: 'MARKET',
quantity: 96,
filled_quantity: 0,
unfilled_quantity: 0,
price: 0,
average_price: 0,
trigger_price: 0,
product: 'MIS',
validity: 'IOC',
tag: '',
checksum: '83dacc9200ff0bab2e4a13930f8e5f5ff0dd31b53f06148731f3dbf3fe234e20'
}
Question:
Are they sent intentioncally?
On my NodeJS platform, I'm logging (console.log) all the execution response from zerodha on the webhook route URL.
When I remove the console.log, no logs and when I add it, 2 above logs object.
Long story short, 2 similar response from single order execution.
Any solution?
Tagged:
kiteapi
sujith
April 2017
Hi
@Sowmay
,
It happens sometimes because we get notified twice by our vendor TR. Hopefully, all this will be gone once we switch to new
APIs
.
Sowmay
April 2017
That's really good. Thank you.
This discussion has been closed.
It happens sometimes because we get notified twice by our vendor TR. Hopefully, all this will be gone once we switch to new APIs.