[Trade] Query match result
method url:/api/third/order/selectContractMatchPairList
request type:POST
content type:application/x-www-form-urlencoded
need sign:true
detail:
request param:
param_name | param note | type | required | data type | schema |
pairName | query | true | string | ||
pageNo | query | false | integer(int64) | ||
pageSize | query | false | integer(int64) | ||
timestamp | query | true | string | ||
matchId | Transaction ID (only orders prior to this matchId are returned, the most recent order is returned by default) | query | false | Long |
response param:(list)
param_name | param note | type | schema |
amount | number | ||
averagePrice | number | ||
contractPairId | integer(int64) | ||
contractPositionId | integer(int64) | ||
createTime | yyyy-MM-dd HH:mm:ss | string | |
createTimeStamp | integer(int64) | ||
entrustId | integer(int64) | ||
id | integer(int64) | ||
isClose | true/false | boolean | |
isLong | true/false | boolean | |
isMarket | true/false | boolean | |
isTaker | true _taker; false _maker; | boolean | |
lever | integer(int32) | ||
positionFee | number | ||
profitLoss | number | ||
quantity | number | ||
symbol | string | ||
tradeFee | number | ||
accountCoinSymbol | string | ||
accountSettleDecimal | integer(int32) | ||
isDelivery | boolean | ||
deliveryTime | string(date-time) | ||
deliveryTimeStamp | integer(int64) | ||
address | string | ||
openingPrice | number |
example:
1 Set request parameters, query params:
2 Build the Parameters
3 Sign the parameter string format, result:
4 Assemble the complete request
5 Return results
Error Code:
code | msg |
2001 | Illegal parameter:{param0} |
Last updated