[Order] Query current order list
method url:/api/third/order/selectContractCurrentEntrustList
request type:POST
content type:application/x-www-form-urlencoded
need sign:true
detail:
request param:
response param:(list)
example:
1 Set request parameters, query params:
pageNo:1
pageSize:2
pairName:ETH-USD
timestamp:1725867816041
2 Build the Parameters
pageNo=1&pageSize=2&pairName=ETH-USD×tamp=1725867816041
3 Sign the parameter string format, result:
0xca57766c2e5cece1671b65bd2409a2dffa685781a7987b3a8eef2a95e25709d938135836810eb05976528abd8706a495170a738e36b1c25ee792b6493f1873751b
4 Assemble the complete request
curl --location --request POST 'https://zk-test.satori.finance/api/third/order/selectContractCurrentEntrustList?pageNo=1&pageSize=2&pairName=ETH-USD×tamp=1725867816041' \
--header 'APIKEY: st_fq6cvRF4fr5tnKiZfrIntRnLfrwxcXjcfr1y8FR7' \
--header 'X-SAPI-SIGN-TYPE: 2' \
--header 'signature: 0xca57766c2e5cece1671b65bd2409a2dffa685781a7987b3a8eef2a95e25709d938135836810eb05976528abd8706a495170a738e36b1c25ee792b6493f1873751b' \
--header 'Content-Type: text/plain' \
--data ''
5 Return results
{
"error": false,
"code": 200,
"msg": "SUCCESS",
"data": [
{
"id": 180599703,
"contractPairId": 1,
"symbol": "ETH-USD",
"isDual": null,
"faceMultiplier": null,
"accountCoinId": null,
"accountCoinSymbol": null,
"isMarket": false,
"isClose": false,
"isLong": false,
"price": "3500",
"quantity": "0.02",
"amount": "77",
"depositAmount": "77.0462",
"lever": 1,
"positionType": 3,
"dealQuantity": "0",
"dealAmount": "0",
"contractPositionId": 0,
"triggerType": 0,
"triggerPrice": null,
"matchType": 1,
"createTime": "2024-09-09 07:41:34",
"createTimeStamp": null,
"isDelivery": null,
"deliveryTime": null,
"deliveryTimeStamp": null,
"activatePrice": null,
"callbackRate": null,
"clientOrderId": "1725867693226"
},
{
"id": 180599702,
"contractPairId": 1,
"symbol": "ETH-USD",
"isDual": null,
"faceMultiplier": null,
"accountCoinId": null,
"accountCoinSymbol": null,
"isMarket": false,
"isClose": false,
"isLong": false,
"price": "3500",
"quantity": "0.02",
"amount": "77",
"depositAmount": "77.0462",
"lever": 1,
"positionType": 3,
"dealQuantity": "0",
"dealAmount": "0",
"contractPositionId": 0,
"triggerType": 0,
"triggerPrice": null,
"matchType": 1,
"createTime": "2024-09-09 07:41:34",
"createTimeStamp": null,
"isDelivery": null,
"deliveryTime": null,
"deliveryTimeStamp": null,
"activatePrice": null,
"callbackRate": null,
"clientOrderId": "1725867693226"
}
],
"sid": "1809703572113465345"
}
Error Code:
Last updated