get https://api-glb.sim.hashkeydev.com/api/v1/spot/subAccount/openOrders
Weight: 1
Request Parameters
PARAMETER | TYPE | Req'd | Example values | DESCRIPTION |
---|---|---|---|---|
subAccountId | STRING | 1650801631044854016 | Sub Account ID | |
timestamp | LONG | Y | 1712317312973 | Timestamp |
Response Content
PARAMETER | TYPE | Example values | DESCRIPTION |
---|---|---|---|
No | Object Array | Query result array | |
accountId | INTEGER | 1471090223379184384 | Account number |
exchangeId | INTEGER | 301 | Exchange Number |
symbol | STRING | BTCUSD | Trading pair |
symbolName | STRING | BTCUSD | Trading pair name |
clientOrderId | STRING | 123456 | An ID defined by the client for the order, it will be automatically generated if it is not sent in the request |
orderId | INTEGER | 1470930457684189696 | 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 |
avgPrice | STRING (decimal) | 0 | Average traded price |
status | STRING | NEW | Order status |
timeInForce | STRING | GTC | Duration of the order before expiring |
type | STRING | LIMIT | Order Type |
side | STRING | BUY | BUY or SELL |
stopPrice | STRING (decimal) | 0.0 | Not used |
icebergQty | STRING (decimal) | 0.0 | Not used |
time | INTEGER | 1690084574839 | Current Timestamp |
updateTime | INTEGER | 1690084574843 | Update Timestamp |
isWorking | BOOLEAN | TRUE | Not used |
reqAmount | DECIMAL | 0 | Requested cash amount |