get https://api-glb.sim.hashkeydev.com/api/v1/spot/order
Check a single order information
Request parameter either orderId or origClientOrderId must be sent
Weight: 1
Request Parameters
PARAMETER | PARAMETER | Req'd | DESCRIPTION |
---|---|---|---|
orderId | LONG | C | Order ID |
origClientOrderId | STRING | C | Client order ID |
accountId | STRING | Account ID | |
timestamp | LONG | Y | Timestamp |
Response Content
PARAMETER | TYPE | Example values | DESCRIPTION |
---|---|---|---|
accountId | LONG | 1453450776554918656 | Account number |
exchangeId | LONG | 301 | Exchange number |
symbol | STRING | BTCUSDT | Trading pair |
symbolName | STRING | BTCUSDT | Trading pair name |
clientOrderId | STRING | 168803658506716316 | An ID defined by the client for the order, it will be automatically generated if it is not sent in the request |
orderId | LONG | 1453750674374393344 | System generated order ID |
price | STRING (decimal) | 28000 | Price |
origQty | STRING (decimal) | 0.01 | Quantity |
executedQty | STRING (decimal) | 0 | Traded volume |
cumulativeQuoteQty | STRING (decimal) | 0 | Cumulative volume. Commonly known as Transaction Amount |
avgPrice | STRING (decimal) | 0 | Average traded price |
status | ENUM | NEW | See Enumeration Definition: Order status for details |
timeInForce | ENUM | GTC | Duration of the order before expiring |
type | ENUM | LIMIT | Order Type |
side | ENUM | SELL | BUY or SELL |
stopPrice | STRING (decimal) | 0.0 | Not used |
icebergQty | STRING (decimal) | 0.0 | Not used |
time | STRING (decimal) | 1688036585077 | Order creation Timestamp |
updateTime | STRING (decimal) | 1688036585084 | Latest update Timestamp according to status |
isWorking | BOOLEAN | TRUE | Not used |
reqAmount | LONG | 0 | Requested Cash amount |
feeCoin | STRING | USDT | (Deprecated, will return Null) Fee Currency Name |
feeAmount | STRING | 0.006 | (Deprecated, will return 0) Fee amount |
sumFeeAmount | STRING | 0.006 | (Deprecated, will return 0) Sum fee amount |
ordCxlReason | STRING | Order cancel reason |