Retrieves all trades that were executed from a specific order. When an order is filled, it may result in multiple trades (partial fills). This method returns all trades associated with a given order ID.
Results can be sorted in ascending or descending order by trade ID. Use historical to retrieve historical trade data. This is useful for tracking how an order was filled and analyzing execution quality.
๐ Related Article: Accessing Historical Trades and Orders Using API
Scope: trade:read
The order id Unique order identifier
"ETH-100234"
Direction of results sorting (default value means no sorting, results will be returned in order in which they left the database)
asc, desc, default Determines whether historical trade and order records should be retrieved.
false (default): Returns recent records: orders for 30 min, trades for 24h.true: Fetches historical records, available after a short delay due to indexing. Recent data is not included.๐ Related Article: Accessing Historical Trades and Orders Using API