get https://api-glb.sim.hashkeydev.com/api/v1/subAccount/trades
Weight: 1
Request Parameters
PARAMETER | TYPE | Req 'd | DESCRIPTION |
---|---|---|---|
subAccountId | STRING | Sub Account ID | |
timestamp | LONG | Y | Timestamp |
Response Content
PARAMETER | TYPE | Example values | DESCRIPTION |
---|---|---|---|
- | Object Array | Check transaction results | |
id | INTEGER | 1470930841345474561 | Unique transaction ID (This value is the trade_id in v0 API) |
clientOrderId | INTEGER | 999999999800021 | An ID defined by the client for the order, it will be automatically generated if it is not sent in the request |
ticketId | INTEGER | 1478144171272585249 | Execution ID, the execution ID is the same for the direction of a single trade. |
symbol | STRING | BTCUSD | Trading pair |
symbolName | STRING | BTCUSD | Trading pair name |
orderId | INTEGER | 1470930841211329280 | Order ID |
matchOrderId | INTEGER | 1470930605684362240 | //Ignore |
price | STRING (decimal) | 29851.03 | Price |
qty | STRING (decimal) | 0.0005 | Quantity |
commission | STRING (decimal) | 0.02985103 | Commission fee |
commissionAsset | STRING | USD | Currency of commission fee |
time | STRING (decimal) | 1690084620567 | Millisecond Timestamp |
isBuyer | BOOLEAN | false | Whether the trade is a buyer |
isMaker | BOOLEAN | false | Whether the trade is a maker |
fee | Object | Fee information | |
fee.feeCoin | STRING | USD | Currency for fees |
fee.feeCoinId | STRING | USD | Currency ID for fees |
fee.feeCoinName | STRING | USD | Fee currency name |
fee.fee | STRING (decimal) | 0.02985103 | Transaction fee amount |
feeCoinId | STRING | USD | Fee currency |
feeAmount | STRING (decimal) | 0.02985103 | Amount of transaction fee |
makerRebate | INTEGER | 0 | Return |