curl --location --request GET 'https://api.kucoin.com/api/ua/v1/position/history?symbol=XBTUSDTM&startAt&endAt&lastId&pageSize'{
"code": "200000",
"data": {
"items": [
{
"symbol": "XBTUSDTM",
"closeId": "10000000000000096",
"marginMode": "CROSS",
"side": "LONG",
"entryPrice": "92903.2",
"closePrice": "92919.9",
"maxSize": "1",
"avgClosePrice": "92919.9",
"leverage": "50",
"realizedPnL": "-0.09479386",
"fee": "0.11149386",
"tax": "0",
"fundingFee": "0",
"closingTime": 1764746455573,
"creationTime": 1764746371011
}
],
"lastId": 10000000000000069
}
}