I'm looking to detect when an order has successfully been canceled, but I don't see any direct way to do this via the API.
The only way I see to detect this is to obtain a list of open orders via the get_open_orders() api, then compare that to a list of known orders (obtained by tracking orderId's and calling get_order() )
Is this the official way? or is there a better way of doing this?
PS: I am working under the assumption that completed (or canceled) orderId's will still return an order object when calling get_order()