Trade/Spot
Explanation: Pagination query of account fund flow Accessible after login group=tradeApi version=0.0.1 bizType=tradeapi.app.SpotOrderApiService.queryCapitalFlowList
Game type
Client group ID
Number of Items per Page
Current Page
Module identifier code
Status return code
Status description
Processing time (milliseconds)
Tracking code
Placeholder parameter string in return description, multiple parameters separated by commas
POST /api/global/tradeapi.app.SpotOrderApiService.queryCapitalFlowList HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 186
{
"tradeType": 1,
"customerGroupId": 1,
"size": 1,
"current": 1,
"sortFieldName": "text",
"sortType": "text",
"businessType": 1,
"status": 1,
"customerNoStr": "text",
"startTime": 1,
"endTime": 1,
"operate": 1
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"records": [
{
"id": 1,
"remark": "text",
"createdBy": 1,
"createTime": 1,
"updateBy": 1,
"updateTime": 1,
"subjectId": 1,
"version": 1,
"bookkeepId": 1,
"amountIn": "text",
"amountOut": "text",
"status": 1,
"amountAfter": "text",
"businessType": 1,
"businessType1": 1,
"customerNo": "text",
"amount": "text",
"digits": 1,
"currency": "text",
"businessTypeName": "text",
"businessType1Name": "text",
"orderId": "text",
"dealId": "text"
}
],
"total": 1,
"size": 1,
"current": 1
},
"ok": true,
"fail": true
}Explanation: Cancel limit order for spot trading. Access after login group=tradeApi version=0.0.1 bizType=tradeapi.app.SpotOrderApiService.closeTradePboOrder
Client group ID
Module identifier code
Status return code
Status description
Processing time (milliseconds)
Tracking code
Placeholder parameter string in return description, multiple parameters separated by commas
POST /api/global/tradeapi.app.SpotOrderApiService.closeTradePboOrder HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 63
{
"tradeType": 1,
"customerGroupId": 1,
"orderId": 1,
"remark": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"busiiType": 1,
"direction": 1,
"status": 1,
"userGroupId": 1,
"symbolId": 1,
"digits": 1,
"contractSize": 1,
"requestPrice": 1,
"requestNum": 1,
"requestTime": 1,
"executeMarginRate": 1,
"executeMarginRateDigits": 1,
"spread": 1,
"pointRatio": 1,
"executePrice": 1,
"executeRate": 1,
"rateDigits": 1,
"fee": 1,
"feeDigits": 1,
"executeTime": 1,
"createTime": 1,
"updateTime": 1,
"positionId": 1,
"stopLoss": 1,
"takeProfit": 1,
"remark": "text",
"source": "text",
"thirdPartyOrder": "text"
},
"ok": true,
"fail": true
}Explanation: View Order List group=tradeApi version=0.0.1 bizType=tradeapi.app.SpotOrderApiService.queryOrderPage
{{company}}{{LoginResult.data.token}}en-UStradeApi{{mock_trace}}0.0.1Client group ID
Number of Items per Page
Current Page
H5: mobile web; PC_Web: pcweb; System: system; Android: Android native app; iOS: Apple native app; HOS: Hongmeng OS; PC_Win: pcwindows client; PC_Mac: pcmac client; default is the same as login source. (The enumeration is for reference only)
Module identifier code
Status return code
Status description
Processing time (milliseconds)
Tracking code
Placeholder parameter string in return description, multiple parameters separated by commas
POST /api/global/tradeapi.app.SpotOrderApiService.queryOrderPage HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 226
{
"tradeType": 1,
"customerGroupId": 1,
"size": 1,
"current": 1,
"sortFieldName": "text",
"sortType": "text",
"orderIds": "text",
"symbolId": 1,
"bizType": 1,
"direction": 1,
"status": 1,
"positionId": 1,
"querySource": "text",
"thirdPartyOrder": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"records": [
{
"busiiType": 1,
"direction": 1,
"status": 1,
"userGroupId": 1,
"symbolId": 1,
"digits": 1,
"contractSize": 1,
"requestPrice": 1,
"requestNum": 1,
"requestTime": 1,
"executeMarginRate": 1,
"executeMarginRateDigits": 1,
"spread": 1,
"pointRatio": 1,
"executePrice": 1,
"executeRate": 1,
"rateDigits": 1,
"fee": 1,
"feeDigits": 1,
"executeTime": 1,
"createTime": 1,
"updateTime": 1,
"positionId": 1,
"stopLoss": 1,
"takeProfit": 1,
"remark": "text",
"source": "text",
"thirdPartyOrder": "text"
}
],
"total": 1,
"size": 1,
"current": 1
},
"ok": true,
"fail": true
}Explanation: View order details for spot game, accessible after login group=tradeApi version=0.0.1 bizType=tradeapi.app.SpotOrderApiService.queryOrderDetail
Module identifier code
Status return code
Status description
Processing time (milliseconds)
Tracking code
Placeholder parameter string in return description, multiple parameters separated by commas
POST /api/global/tradeapi.app.SpotOrderApiService.queryOrderDetail HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"orderId": 1
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"busiiType": 1,
"direction": 1,
"status": 1,
"userGroupId": 1,
"symbolId": 1,
"digits": 1,
"contractSize": 1,
"requestPrice": 1,
"requestNum": 1,
"requestTime": 1,
"executeMarginRate": 1,
"executeMarginRateDigits": 1,
"spread": 1,
"pointRatio": 1,
"executePrice": 1,
"executeRate": 1,
"rateDigits": 1,
"fee": 1,
"feeDigits": 1,
"executeTime": 1,
"createTime": 1,
"updateTime": 1,
"positionId": 1,
"stopLoss": 1,
"takeProfit": 1,
"remark": "text",
"source": "text",
"thirdPartyOrder": "text"
},
"ok": true,
"fail": true
}Explanation: Query transaction record list group=tradeApi version=0.0.1 bizType=tradeapi.app.SpotOrderApiService.queryTradeRecordPage
Number of Items per Page
Current Page
Download type 1: direct download, 2: asynchronous download
H5: mobile web; PC_Web: pcweb; System: system; Android: Android native app; iOS: Apple native app; HOS: Hongmeng OS; PC_Win: pcwindows client; PC_Mac: pcmac client; default is the same as login source. (The enumeration is for reference only)
Module identifier code
Status return code
Status description
Processing time (milliseconds)
Tracking code
Placeholder parameter string in return description, multiple parameters separated by commas
POST /api/global/tradeapi.app.SpotOrderApiService.queryTradeRecordPage HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 274
{
"username": "text",
"size": 1,
"current": 1,
"downloadType": 1,
"sortFieldName": "text",
"sortType": "text",
"tradeType": "text",
"orderType": "text",
"symbolId": 1,
"executeStartTime": 1,
"executeEndTime": 1,
"direction": "text",
"accountIds": "text",
"querySource": "text",
"thirdPartyOrder": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"companyId": 1,
"customerId": 1,
"customerNo": "text",
"accountId": 1,
"trace": "text",
"ip": "text",
"lang": "text",
"size": 1,
"current": 1,
"totalPage": 1,
"list": [
{
"symbolId": 1,
"orderId": 1,
"dealId": 1,
"bizType": 1,
"symbolName": "text",
"direction": 1,
"requestPrice": "text",
"executePrice": "text",
"requestNum": "text",
"executeNum": "text",
"loanAmount": "text",
"executeTime": 1,
"outCurrency": "text",
"inCurrency": "text",
"stopLoss": "text",
"takeProfit": "text",
"commission": "text",
"profitLoss": "text",
"overnightInterest": "text",
"numberStatisticMode": 1,
"accountCurrency": "text",
"moneyAmountCurrency": "text",
"symbolCode": "text",
"tradeAmount": "text",
"source": "text",
"thirdPartyOrder": "text"
}
],
"bizTypeText": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"ok": true,
"fail": true
}Last updated