Important Update: Individual Order Status API using Unique Order ID (10 Requests/Second)
-
@Moderator_1 Much awaited feature! Thanks!
Just need some more clarification:Say I placed an order using "placeOrderFullResponse(orderparams)".
Now I can extract the uniqueOrderID from the response here. Now what do I do next to get the orderStatus from exchange?
Which Python function should I use to see whether my order was Completed or not?
A simple code block to illustrate this would be really appreciated!
UPDATE: I tried using normal requests (GET) to fetch the order status, but the response says 'Invalid token'.
{"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""}
However, I can see that the order in the 'https://www.angelone.in/trade/orders/history'. Please help!
-
Hello @rraavvi007,
Apologies for delayed response.
Can you please share your request body? We usually don't have such unannounced maintenance activities.Thank you.
Regards
SmartAPI Team -
Hello @milli,
Yes, there is a function in the python library named "placeOrderFullResponse(orderparams)". Please look it up on our github repository.Thank you.
Regards
SmartAPI Team -
Hello @trader_noob, @godboleamit
As @andyvoid has mentioned, it'll help in tracking modified orders. One more use case is fetching Individual Order Status. Earlier a user had to fetch the whole orderbook and check for their orders, now using the Individual Order Status API and Unique Order ID any user can track their orders instantly. Our main focus for introducing this was to provide a faster response time to order status which can be easily done now using the unique order ID parameter.
@gjs thank you for suggesting this feature. We have noted this and will update you once it becomes available.
If you still have any questions, please let us know.Thank you.
Regards
SmartAPI Team -
I am not login and order
-
@trader_noob said in Important Update: Individual Order Status API using Unique Order ID (10 Requests/Second):
uniqueorderid
I agree to the question by @trader_noob. What's the difference between orderid and uniqueorderid. And when should we use uniqueorderid?
-
Is there a comparable function that can be directly called ref. python api to get the order status ?
thanks
-
@trader_noob The Unique order ID will same if you modify an order. In conjunction modifying the order will create a new Order ID in the market but thus unique order ID won't change. Now it's easier to track modified order
-
hello @admin i am also trying to use the historical API.
getting-
{"message":"Internal Error","errorcode":"AB2001","status":false,"data":null}
Any idea why i get this error?
Is there any maintenance activity going on?
My Id is R428907 -
@admin said in Important Update: Individual Order Status API using Unique Order ID (10 Requests/Second):
re aimed at enhancing your trading experience, providing you with the necessary tools, speed, and control to thrive in today's dynamic mar
Great update! Thanks for the feature. One small query: Is the existing field "orderid" not unique? What's the exact purpose of "uniqueorderid" that couldn't be solved by that previous one?
-
@admin
when are you going to offer paper trading through API ?
It is much requested feature.
-thanks