Market orders are coming with the price sent and not the filled one.

I am calling the “api/v3/allOrders” service to get the history of executed orders.
The quantity has two fields: sent (origQty) and executed (executedQty).
In market orders, the price only has one field (price) that contains the price sent to the market.
Looking on the website and in the app, the order appears with the correct price as executed.
Shouldn’t this service have an “executedPrice” field?
Is there another service that returns this correct information?

An order can trade at different prices. You can use /api/v3/myTrades with orderId parameter to list all trades that filled the order, with price and qty information for each.

1 Like