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?