How to get order_id when order gets moved to holdings

adsh5556
I am trying to read back order_id for executed orders in the last two days.

I tried KiteConnect.orders() and KiteConnect.trades() and both returned None.
so I tried KiteConnect.holdings() and KiteConnect.positions(), but I could not find order_id in return objects.

Then I used order_id from UI and passed it to KiteConnect.order_history(order_id), however I am getting '404' error 'Not Found', '{"status":"error","message":"Couldn\'t find that `order_id`.","data":null,"error_type":"GeneralException"}'

Am I missing anything? Can someone help with getting order_id?
  • rakeshr
    I tried KiteConnect.orders() and KiteConnect.trades() and both returned None.
    Are you using this on the correct account? Same client_id as logged-in the kite web?
Sign In or Register to comment.