☰
Login
Signup
Home
›
.Net API client
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
154
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
994
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
February 2019
arjunender
February 2019
sujith
Invalid Order Id
arjunender
February 2019
in
.Net API client
Hi,
Receiving
Invalid order Id
after placing order.
Order status : success
Order id : xxxxxxxxxxx
When requesting for more details using List orderinfo = kite.GetOrderHistory(response["data"]["order_id"])
receiving Invalid order id
some times it working fine.
Thanks
sujith
February 2019
Can you provide an example order id with which you are getting the error?
arjunender
February 2019
edited February 2019
order id : 190214002953853 / 190214002953866
error : could't find that order_id
sujith
February 2019
Orderbook is flushed every day. You seem to be using an old order id.
arjunender
February 2019
this error came right after placing order
response = kite.PlaceOrder()
status : success with order id
sujith
February 2019
This seems like an order id of 14th February.
arjunender
February 2019
edited February 2019
yes, but i am getting this error frequently
sujith
February 2019
Do you fetch order history immediately after placing an order?
arjunender
February 2019
yes
sujith
February 2019
You can add 100ms delay and check. Probably the entry is not set at the OMS by the time you pull data.
arjunender
February 2019
ok will check
but i am able to get order id after placing order
sujith
February 2019
Yes, the order will be created but not sure if the new order is added to orderbook and propagated across downstream systems.
arjunender
February 2019
Ok
Thanks
Sign In
or
Register
to comment.
error : could't find that order_id
response = kite.PlaceOrder()
status : success with order id
but i am able to get order id after placing order
Thanks