After the status of an order is complete/cancelled (/orders/:order_id), we try to fetch the portfolio using /portfolio/positions, but sometimes it does not return the updated portfolio.
Is it guaranteed that /orders/:order_id/trades will always return all the trades executed if we ping after the order is cancelled or completed?
Alternatively in /orders/:order_id there is no variable for filled quantity, can you add it?
Looking into the /orders/:id call.