currently from the get position api i am able to get the position bt it doent give me the order_id how can i resume the algo trading the next day using the orders, is there a way to get the order_id of the orders?
Hi @KAUSTUBH_MANJREKAR
Order IDs for the orders executed today are not available tomorrow. We recommend designing your algorithm based on your current positions rather than relying on order IDs.
Thank you.
hello @Ketan
if the order_id are not present how will i process the order which are in dilivery mode on the next day once i start my algo again tommorrow, to process the orders we need to have order_id, also can we use the same order_id from the previous day to process the orders which are in position dilivery the next day. if not please guid how we can process the orders which are in position the next day if order_id is not available.
All orders are reconciled and go through the settlement process after the market closes. The next day, new positions and holding books are created based on the previous day’s processing. Therefore, your carryforward position and holdings are the sum of all your prior trades and are not tied to a specific order ID.
As mentioned by @Ketan, your algorithm should rely on the current position and the holding response.
You will observe the same behavior on both mobile and web platforms, where the order book is empty the next day, and consolidated positions and holdings are created.