History of order changes
GET /v1/orders/history
Based on the date range, all changes registered in the orderbook.
Query Parameters
- time_start string required
Start date
- time_end string required
End date
Responses
- 200
- 400
The last execution report of the requested order.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- apikey string
Apikey
- exchangeId string
Exchange id
- clientOrderId string
Client order id
- symbolIdExchange string
Symbol id exchange
- symbolIdCoinapi string
Symbol id in coinapi
- amountOrder number
Amount
- price number
Price
- side number
1-buy, 2-sell
- orderType string
Order type
- timeInForce string
Time in force
- expireTime date
Expire time
- execInst string[]
Exec inst
- clientOrderIdFormatExchange string
Client order id format
- exchangeOrderId string
Exchange order id
- amountOpen number
Amount open
- amountFilled number
Amount filled
- avgPx number
Average price
- status string
Status
- statusHistoryStatus string[]
History status
- statusHistoryTime date[]
History status time
- errorMessageResult string
Error message
- errorMessageReason string
Error message reason
- errorMessageMessage string
Error message
- fillsTime date[]
Fills time
- fillsPrice number[]
Fills price
- fillsAmount number[]
Fills amount
- createdTime date
Created time
- ]
[
{
"apikey": "9a55567a-b5ff-4b78-b6aa-xxxx",
"exchangeId": "BINANCE",
"clientOrderId": "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b",
"symbolIdExchange": "BTCUSDT",
"symbolIdCoinapi": "BINANCE_SPOT_BTC_USDT",
"amountOrder": 0.00034,
"price": 31939.47,
"side": 2,
"orderType": "LIMIT",
"timeInForce": "GOOD_TILL_CANCEL",
"expireTime": "2022-05-01T00:00:00",
"execInst": [
[
"MAKER_OR_CANCEL"
]
],
"clientOrderIdFormatExchange": "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b",
"exchangeOrderId": "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b",
"amountOpen": 0.00034,
"amountFilled": 0,
"avgPx": 0,
"status": "REJECTED",
"statusHistoryStatus": [
[
"RECEIVED",
"ROUTING",
"REJECTED"
]
],
"statusHistoryTime": [
[
"2022-05-27T13:06:34.5122626Z",
"2022-05-27T13:06:37.3410216Z",
"2022-05-27T13:06:40.1342877Z"
]
],
"errorMessageResult": "string",
"errorMessageReason": "string",
"errorMessageMessage": "-2015 Invalid API-key, IP, or permissions for action. https://api.binance.com/api/v3/order?newOrderRespType",
"fillsTime": [
[
"2022-05-27T13:06:34.5122626Z",
"2022-05-27T13:06:37.3410216Z",
"2022-05-27T13:06:40.1342877Z"
]
],
"fillsPrice": [
[
31939.47,
31939.67
]
],
"fillsAmount": [
[
0.0032,
0.0009
]
],
"createdTime": "2022-06-27T07:02:33.1977903Z"
}
]
Orders log is not configured.
- application/json
- Schema
- Example (from schema)
Schema
- message string
Message text.
{
"message": "string"
}
Loading...
Was this section helpful?