curl --location --request GET 'https://api.kucoin.com/api/v3/hf/margin/fills?symbol=BTC-USDT&tradeType=MARGIN_TRADE&orderId&side&type&lastId=254062248624417&limit=100&startAt=1728663338000&endAt=1728692138000'{
"code": "200000",
"data": {
"items": [
{
"id": 137891621991,
"symbol": "BTC-USDT",
"tradeId": 11040911994273793,
"orderId": "671868085584bc0007d85f46",
"counterOrderId": "67186805b7cbdf00071621f9",
"side": "buy",
"liquidity": "taker",
"forceTaker": false,
"price": "67141.6",
"size": "0.00001",
"funds": "0.671416",
"fee": "0.000671416",
"feeRate": "0.001",
"feeCurrency": "USDT",
"stop": "",
"tradeType": "MARGIN_TRADE",
"tax": "0",
"taxRate": "0",
"type": "limit",
"createdAt": 1729652744998
}
],
"lastId": 137891621991
}
}