Order API - Not working for non trade day

paba
Are all API under Orders are valid for the same day only ?
From the below list, I assumed /order and /trades were only the Day specific.

I can fetch using /orders/:order_id for and order placed same day, if I try to use past order (which worked earlier - same day logic) they return error "Error getting order history: Couldn't find that `order_id`"

GetOrderHistory("11111") ==> works on same day of trade
GetOrderHistory("11111") ==> error, if not on same day

Golang API ==> func (c *Client) GetOrderHistory(OrderID string) ([]Order, error)
  • sujith
    Kite Connect API only contains trading APIs, it doesn't contain backoffice APIs. The trading platform will only contain order and trade related data for the day.
Sign In or Register to comment.