get https://api-glb.sim.hashkeydev.com/api/v1/spot/subAccount/tradeOrders
Weight: 1
Request Parameters
| PARAMETER | TYPE | Req 'd | DESCRIPTION |
|---|---|---|---|
| subAccountId | STRING | Y | Sub Account ID |
| fromOrderId | LONG | Order ID | |
| symbol | STRING | Y | Currency pair |
| startTime | LONG | Start Timestamp | |
| endTime | LONG | End Timestamp, Only supports the last 90 days timeframe | |
| limit | INT | Default 500, max 1000 | |
| timestamp | LONG | Y | 1712317312973 |
Response Content
| PARAMETER | TYPE | Example values | DESCRIPTION |
|---|---|---|---|
| No | Object Array | Query result array | |
| exchangeId | INTEGER | 301 | Account number |
| symbol | STRING | ETHUSD | Trading pair |
| symbolName | STRING | ETHUSD | Trading pair name |
| clientOrderId | STRING | 9999999998000 | An ID defined by the client for the order, it will be automatically generated if it is not sent in the request |
| orderId | INTEGER | 1484664263574306816 | System generated order ID |
| price | STRING(value) | 1860 | Price |
| origQty | STRING(value) | 10 | Quantity |
| executedQty | STRING(value) | 10 | Traded volume |
| cumulativeQuoteQty | STRING(value) | 18600 | Cumulative volume |
| avgPrice | STRING(value) | 1860 | Average traded price |
| status | STRING | FILLED | Order status |
| timeInForce | STRING | GTC | Duration of the order before expiring |
| type | STRING | LIMIT | Order Type |
| side | STRING | SELL | BUY or SELL |
| stopPrice | STRING(value) | 0.0 | Not used |
| icebergQty | STRING(value) | 0.0 | Not used |
| time | INTEGER | 1691721772082 | Current Timestamp |
| updateTime | INTEGER | 1691721796685 | Update Timestamp |
| isWorking | BOOLEAN | true | Not used |
| reqAmount | DECIMAL | 0 | Requested cash amount |