User Trade List
GET
/api/v1/gateway/user/myTradesUser Trade History provides users with a detailed history of their trade transactions for a specific trading pair (symbol) on our platform.
请求参数
The trading pair symbol for which trade history is requested.
The start time of the time range for filtering history (Unix timestamp in milliseconds).
The end time of the time range for filtering history (Unix timestamp in milliseconds).
Specifies the maximum number of user trade history entries to retrieve (Default is 500. Maximum is 1000).
The ID from which to start fetching records. In this API, since the order is descending (backwards), if fromId is set to 100, the system will return records starting from the ID just before 100 and continue moving backwards. The retrieval will proceed until the limit is reached.
示例代码
Responses
Indicates whether the API request encountered any errors.
An array containing details for each trade.
A unique identifier for the trade.
The trading pair symbol for the trade.
The quantity of base token in this trade.
The quantity of quote token in this trade.
The timestamp when the trade occurred (Unix timestamps in milliseconds & UTC).
Indicates whether the buyer is the maker of the trade.
Indicates whether the trader is the maker of the trade.
The side of the trade, indicating whether it was a "BUY" or "SELL" order.
The currency in which the trading fee is applied.
The amount of trading fee applied for the trade.
{
"error": false,
"trades": [
{
"id": 74978,
"symbol": "WBTCUSDT",
"price": "33532.06000000",
"qty": "0.07000000",
"quoteQty": "2347.24420000",
"time": 1700779414667,
"isBuyerMaker": true,
"isMaker": true,
"side": "BUY",
"feeCurrency": "WBTC",
"fee": 0.00014
},
{
"id": 74977,
"symbol": "WBTCUSDT",
"price": "33532.06000000",
"qty": "0.10000000",
"quoteQty": "3353.20600000",
"time": 1700779414665,
"isBuyerMaker": true,
"isMaker": true,
"side": "BUY",
"feeCurrency": "WBTC",
"fee": 0.0002
},
{
"id": 74976,
"symbol": "WBTCUSDT",
"price": "33532.06000000",
"qty": "0.10000000",
"quoteQty": "3353.20600000",
"time": 1700779414663,
"isBuyerMaker": true,
"isMaker": true,
"side": "BUY",
"feeCurrency": "WBTC",
"fee": 0.0002
}
]
}