How to get order id of all orders[previous days]

prashanth100
Below api only list orders for the day.
/orders

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?
Tagged:
  • sujith
    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.
  • prashanth100
    Could you please answer my second question?
  • sujith
    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.
  • prashanth100
    Thank you for the clarification Sujith
This discussion has been closed.