get https://api-glb.sim.hashkeydev.com/api/v1/futures/userTrades
- Cover Future trading records only, for Spot trading records see: [get-account-trade-list]
Weight: 1
Request Parameters
PARAMETER | TYPE | Req'd | Example values | DESCRIPTION |
---|---|---|---|---|
symbol | STRING | Y | ETHUSDT-PERPETUAL | Name of the contract |
limit | INTEGER | 20 (default) | The number of trades returned default 20 (max to 1000) | |
fromId | LONG | TradeId to retrieve from | ||
toId | LONG | TradeId to retrieve to | ||
startTime | LONG | Start Timestamp | ||
endTime | LONG | End Timestamp | ||
recvWindow | LONG | recv Window | ||
timestamp | LONG | Y | 1714311403031 | Timestamp |
Response Content
PARAMETER | TYPE | Example values | DESCRIPTION |
---|---|---|---|
time | LONG | 1714359493905 | Timestamp when the order is created |
tradeId | LONG | 1674563238321331712 | The ID for the trade |
orderId | INTEGER | 1673994449678549760 | The ID of the order |
symbol | STRING | ETHUSDT-PERPETUAL | Name of the contract. |
price | FLOAT | 3250 | Price of the trade. |
quantity | FLOAT | 120 | Quantity of the trade. |
commissionAsset | STRING | USDT | Currency of commission fee |
commission | STRING | 0.234 | Commission fee |
makerRebate | STRING | 0 | Return |
side | STRING | LIMIT | Direction of the order. Possible values include BUY_OPEN, SELL_OPEN, BUY_CLOSE, and SELL_CLOSE. |
type | STRING | BUY_OPEN | The order type, possible types: LIMIT, MARKET |
realizedPnl | FLOAT | 0 | Profit and loss |
isMarker | BOOLEAN | true | Whether the trade is a maker |