1) Which api call I should use, if I want to get order id of all orders more than month old purchase? 2) For example, I purchased 20 quantity of Idea shares at 95 rs and again 30 quantity at 90 rs. Using specific order_id can I sell the 15 shares purchased at 90 rs?
Hi @prashanth100, Kite Connect doesn't have backoffice APIs yet. As of now, it has APIs of the trading terminal and a trading terminal doesn't know history. We will provide it in future when backoffice APIs are included.
In portfolio/holdings, there will be only one entry for each instrument. There will be no relation between orders and holdings. Once you place sell CNC order, 15 quantity will be reduced from the holdings.
Kite Connect doesn't have backoffice APIs yet. As of now, it has APIs of the trading terminal and a trading terminal doesn't know history.
We will provide it in future when backoffice APIs are included.
Once you place sell CNC order, 15 quantity will be reduced from the holdings.