交易服务相关

单客户批量取消预埋单

post

group=tradeApi version=0.0.1 bizType=tradeapi.admin.OrderAdminApiService.cancelPboOrder

Header parameters
tracestringRequired

全局链路唯一标志

Example: {{mock_trace}}
companyIdstringRequired

公司ID

Example: {{company}}
tokenstringRequired

B端鉴权后token

Example: {{auto_token}}
versionstringRequired

接口版本号

Example: 0.0.1
groupstringRequired

接口分组

Example: tradeApi
Body
tradeTypeintegerRequired

交易玩法

customerNostringRequired

客户编号

customerIdintegerRequired

客户Id

customerGroupIdintegerRequired

客户组Id

tracestringOptional

全局链路唯一标志

Responses
200Success
application/json
post
/tradeapi.admin.OrderAdminApiService.cancelPboOrder
POST /openapi-b/tradeapi.admin.OrderAdminApiService.cancelPboOrder HTTP/1.1
Host: pre-api-test.cmfbl.com
trace: text
companyId: text
token: text
version: text
group: text
Content-Type: application/json
Accept: */*
Content-Length: 75

{
  "tradeType": 1,
  "customerNo": "86000020",
  "customerId": 21,
  "customerGroupId": 1
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "t-2wrm8-8eq82jj-uo22f7-dze1q865-1668773417",
  "code": "0",
  "data": null,
  "bizCode": "",
  "tm": 5,
  "msgParams": null,
  "ok": true
}

单客户批量平仓

post

group=tradeApi version=0.0.1 bizType=tradeapi.admin.OrderAdminApiService.forcedOrder

Header parameters
tracestringRequired

全局链路唯一标志

Example: {{mock_trace}}
companyIdstringRequired

公司ID

Example: {{company}}
tokenstringRequired

B端鉴权后token

Example: {{auto_token}}
versionstringRequired

接口版本号

Example: 0.0.1
groupstringRequired

接口分组

Example: tradeApi
Body
tradeTypeintegerRequired

交易玩法

customerNostringRequired

客户编号

customerIdintegerRequired

客户Id

customerGroupIdintegerRequired

客户组Id

tracestringOptional

全局链路唯一标志

Responses
200Success
application/json
post
/tradeapi.admin.OrderAdminApiService.forcedOrder
POST /openapi-b/tradeapi.admin.OrderAdminApiService.forcedOrder HTTP/1.1
Host: pre-api-test.cmfbl.com
trace: text
companyId: text
token: text
version: text
group: text
Content-Type: application/json
Accept: */*
Content-Length: 75

{
  "tradeType": 1,
  "customerNo": "86000020",
  "customerId": 21,
  "customerGroupId": 1
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "t-y1c7d-758waq-6p2d6ip-8igu-1668773738",
  "code": "0",
  "data": null,
  "bizCode": "",
  "tm": 7,
  "msgParams": null,
  "ok": true
}

资金明细查询

post

group=tradeApi version=0.0.1 bizType=tradeapi.admin.OrderAdminApiService.queryCapitalFlowList

Header parameters
tracestringRequired

全局链路唯一标志

Example: {{mock_trace}}
companyIdstringRequired

公司ID

Example: {{company}}
tokenstringRequired

B端鉴权后token

Example: {{auto_token}}
versionstringRequired

接口版本号

Example: 0.0.1
groupstringRequired

接口分组

Example: tradeApi
Body
customerIdstringRequired
customerGroupIdstringRequired
customerNostringRequired
tradeTypeintegerRequired

玩法ID

accountIdnumberOptional

账户ID

accountCurrencystringOptional

账户货币

sizeintegerOptional

每页条数

currentintegerOptional

当前页

businessTypenumberOptional

业务类型。0-不限制; CFD-全仓: 1-存款;2-取款;3-系统清零;4-额度调整;5-冻结;6-交易;36-划转;42-奖励; CFD-逐仓: 7-存款;8-取款;9-系统清零;10-额度调整;11-冻结;12-交易;13-调整保证金;37-划转;43-奖励; 杠杆: 14-存款;15-取款;16-额度调整;17-冻结;18-交易;19-自动借款;20-手动借款;21-自动还款;22-手动还款;23-借款利息;35-后台还款;38-划转;40-强平还款;44-奖励; ABCC: 24-存款;25-取款;26-额度调整;27-冻结;28-交易;29-自动借款;30-手动借款;31-自动还款;32-手动还款;33-借款利息;34-后台还款;39-划转;41-强平还款;45-奖励; 现货杠杆撮合: 50-存款;51-取款;52-额度调整;53-冻结;54-交易;55-划转;59-奖励; 股票: 601-存款;602-取款;603-额度调整;604-冻结;605-担保品;606-交易;607-借款;608-还款;609-划转;610-利息计算;611-利息结算;612-奖励;613-系统清零;614-公司行动

statusintegerOptional

状态。0-不限制;1-初始化;2-处理成功;3-处理失败;

startTimenumberOptional

开始时间。13位时间戳;以当天往前推7天

endTimenumberOptional

结束时间。13位时间戳;一般为当天

operateintegerOptional

流向。0-不限制;1.增加,2.减少;

assetsIdnumberOptional

资产Id;

langstringOptional

语种(zh_CN-中文;en_US-英文。不填或者填错默认中文);

Responses
200Success
application/json
post
/tradeapi.admin.OrderAdminApiService.queryCapitalFlowList
POST /openapi-b/tradeapi.admin.OrderAdminApiService.queryCapitalFlowList HTTP/1.1
Host: pre-api-test.cmfbl.com
trace: text
companyId: text
token: text
version: text
group: text
Content-Type: application/json
Accept: */*
Content-Length: 151

{
  "tradeType": 5,
  "customerNo": "86000020",
  "customerGroupId": "1",
  "customerId": "21",
  "current": 1,
  "size": 20,
  "startTime": 1668528000000,
  "endTime": 1669219199999
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "ok": true,
  "fail": true,
  "data": {
    "total": 1,
    "size": 1,
    "current": 1,
    "records": [
      {
        "remark": "text",
        "createTime": 1,
        "updateTime": 1,
        "subjectId": 1,
        "bookkeepId": 1,
        "amountIn": "text",
        "amountOut": "text",
        "status": 1,
        "amountAfter": "text",
        "businessType": 1,
        "businessType1": 1,
        "customerNo": "text",
        "digits": "text",
        "currency": "text",
        "businessTypeName": "text",
        "businessType1Name": "text",
        "accountId": 1,
        "orderId": 1,
        "dealId": 1
      }
    ]
  }
}

查看持仓列表

post

group=tradeApi version=0.0.1 bizType=tradeapi.admin.OrderAdminApiService.queryPositionPage

Header parameters
tracestringRequired

全局链路唯一标志

Example: {{mock_trace}}
companyIdstringRequired

公司ID

Example: {{company}}
tokenstringRequired

B端鉴权后token

Example: {{auto_token}}
versionstringRequired

接口版本号

Example: 0.0.1
groupstringRequired

接口分组

Example: tradeApi
Body
tradeTypeintegerRequired

玩法ID;只有玩法1、2、6才有持仓

customerGroupIdinteger · longRequired

客户组Id

customerIdinteger · longRequired

客户ID

customerNostringOptional

客户编号

accountIdnumberOptional

账户ID

symbolIdnumberOptional

产品ID

sortFieldNamestringOptional

排序字段名。orderId-订单Id;openTime-执行时间;symbolId-产品Id;pnl-盈亏;

sortTypestringOptional

排序方式。asc-升序;desc-降序;(默认desc)

sizeinteger · longOptional

每页数据数。默认20

currentinteger · longOptional

当前页。默认1

querySourcestringOptional

H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考)

thirdPartyOrderstringOptional
Responses
200Success
application/json
post
/tradeapi.admin.OrderAdminApiService.queryPositionPage
POST /openapi-b/tradeapi.admin.OrderAdminApiService.queryPositionPage HTTP/1.1
Host: pre-api-test.cmfbl.com
trace: text
companyId: text
token: text
version: text
group: text
Content-Type: application/json
Accept: */*
Content-Length: 147

{
  "tradeType": 1,
  "customerId": "22441",
  "customerGroupId": "1",
  "customerNo": "86022441",
  "accountId": 1291816,
  "sortType": "desc",
  "sortFieldName": "openTime"
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-00d1c642-3c96-4b00-abcc-ad16569658d4-1669277642254",
  "code": "0",
  "data": [
    {
      "symbolId": 810,
      "orderId": 21650935,
      "dealId": 11971285,
      "canReduceMargin": "0.2493",
      "openPrice": "5.540",
      "remark": null,
      "takeProfitDecimal": "0.000",
      "closeNum": 0,
      "closeFee": "0.0000",
      "takeProfit": "0",
      "occupyTheMargin": "1.6620",
      "interest": "0.0000",
      "maintenanceMargin": "0.8310",
      "closeVolume": 0,
      "openVolume": 1,
      "closeTime": 0,
      "symbolName": "UNI/USDT_PRD",
      "closeAccountDigits": 4,
      "openTime": 1669267968638,
      "profit": null,
      "tradeType": 2,
      "direction": 1,
      "singleMargin": "16620.0000000000000000",
      "margin": null,
      "openContractSize": 1,
      "resp": null,
      "openMargin": "1.6620",
      "openNum": 1,
      "closeSymbolDigits": 3,
      "openFee": "0.2770",
      "warningMargin": "1.3296",
      "stopLossDecimal": "0.000",
      "adjustCrossLevel": "0-0",
      "volume": 1,
      "openSymbolDigits": 3,
      "accountId": 1031768,
      "companyId": 360,
      "positionId": 2022112423089,
      "closeFreeDigits": null,
      "stopLoss": "0",
      "minVolume": null,
      "marginSetType": "1",
      "crossLevelNum": 3,
      "openAccountDigits": 4,
      "closePrice": "0.0000",
      "status": "1"
    }
  ],
  "bizCode": "C",
  "tm": 16,
  "msgParams": null,
  "ok": true
}

分页查询持仓信息

post

group=tradeApi version=0.0.1 bizType=tradeapi.admin.PositionAdminApiService.queryAllPositionPage

Header parameters
tracestringOptionalExample: {{mock_trace}}
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{auto_token}}
versionstringOptionalExample: 0.0.1
groupstringOptionalExample: tradeApi
Body
tradeTypeintegerRequired

玩法ID。1-全仓合约;2-逐仓合约;

customerGroupIdinteger · longOptional

客户组Id

customerIdinteger · longOptional

客户ID

customerNostringOptional

客户编号

accountIdinteger · longOptional

账户ID

symbolIdinteger · longOptional

产品ID

orderIdinteger · longOptional

订单ID

directioninteger · int32Optional

买卖方向。1-买;2-卖;不传时查全部,传其他值无数据

startTimeinteger · longOptional

开仓时间-起始。(13位时间戳,包含本身)

endTimeinteger · longOptional

开仓时间-结束。(13位时间戳,包含本身)

sortFieldNamestringOptional

排序字段名。id-持仓单号;orderId-订单Id;openTime-执行时间;symbolId-产品Id;(默认id)

sortTypestringOptional

排序方式。asc-升序;desc-降序;(默认desc)

sizeinteger · longOptional

每页数据数。默认20

currentinteger · longOptional

当前页。默认1

querySourcestringOptional

H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考)

thirdPartyOrderstringOptional
Responses
200Success
application/json
post
/tradeapi.admin.PositionAdminApiService.queryAllPositionPage
POST /openapi-b/tradeapi.admin.PositionAdminApiService.queryAllPositionPage HTTP/1.1
Host: pre-api-test.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 257

{
  "tradeType": 1,
  "customerGroupId": 1,
  "customerId": 1,
  "customerNo": "text",
  "accountId": 1,
  "symbolId": 1,
  "orderId": 1,
  "direction": 1,
  "startTime": 1,
  "endTime": 1,
  "sortFieldName": "text",
  "sortType": "text",
  "size": 1,
  "current": 1,
  "querySource": "text",
  "thirdPartyOrder": "text"
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "ryder_test",
  "code": "0",
  "data": {
    "total": 11,
    "current": 1,
    "size": 20,
    "records": [
      {
        "symbolId": 1352,
        "bizType": 12,
        "orderId": 22270983,
        "dealId": 97686693,
        "openPrice": "1939.880",
        "remark": null,
        "takeProfitDecimal": "0.000",
        "closeNum": 0,
        "closeFee": "0.0000",
        "takeProfit": "0",
        "closeVolume": 0,
        "customerId": 286835,
        "closeTime": 0,
        "openVolume": 0.01,
        "symbolName": "GOLD-MM",
        "closeAccountDigits": 4,
        "openTime": 1693832472898,
        "tradeType": 1,
        "direction": 2,
        "openContractSize": 100,
        "openMargin": "0.0000",
        "openNum": 1,
        "closeSymbolDigits": 3,
        "openFee": "0.0000",
        "stopLossDecimal": "0.000",
        "volume": 0.01,
        "openSymbolDigits": 3,
        "accountId": 5953422,
        "companyId": 360,
        "positionId": 20230904498875,
        "closeFreeDigits": null,
        "stopLoss": "0",
        "marginSetType": "1",
        "openAccountDigits": 4,
        "closePrice": "0.0000",
        "customerNo": "86286820",
        "status": "1"
      },
      {
        "symbolId": 1352,
        "bizType": 12,
        "orderId": 22270982,
        "dealId": 97686692,
        "openPrice": "1939.910",
        "remark": null,
        "takeProfitDecimal": "0.000",
        "closeNum": 0,
        "closeFee": "0.0000",
        "takeProfit": "0",
        "closeVolume": 0,
        "customerId": 286835,
        "closeTime": 0,
        "openVolume": 0.02,
        "symbolName": "GOLD-MM",
        "closeAccountDigits": 4,
        "openTime": 1693832415377,
        "tradeType": 1,
        "direction": 1,
        "openContractSize": 100,
        "openMargin": "0.1000",
        "openNum": 2,
        "closeSymbolDigits": 3,
        "openFee": "0.0000",
        "stopLossDecimal": "0.000",
        "volume": 0.02,
        "openSymbolDigits": 3,
        "accountId": 5953422,
        "companyId": 360,
        "positionId": 20230904498780,
        "closeFreeDigits": null,
        "stopLoss": "0",
        "marginSetType": "1",
        "openAccountDigits": 4,
        "closePrice": "0.0000",
        "customerNo": "86286820",
        "status": "1"
      },
      {
        "symbolId": 1352,
        "bizType": 12,
        "orderId": 22270981,
        "dealId": 97686691,
        "openPrice": "1940.050",
        "remark": null,
        "takeProfitDecimal": "0.000",
        "closeNum": 0,
        "closeFee": "0.0000",
        "takeProfit": "0",
        "closeVolume": 0,
        "customerId": 286835,
        "closeTime": 0,
        "openVolume": 0.01,
        "symbolName": "GOLD-MM",
        "closeAccountDigits": 4,
        "openTime": 1693832340769,
        "tradeType": 1,
        "direction": 1,
        "openContractSize": 100,
        "openMargin": "0.0500",
        "openNum": 1,
        "closeSymbolDigits": 3,
        "openFee": "0.0000",
        "stopLossDecimal": "0.000",
        "volume": 0.01,
        "openSymbolDigits": 3,
        "accountId": 5953422,
        "companyId": 360,
        "positionId": 20230904498635,
        "closeFreeDigits": null,
        "stopLoss": "0",
        "marginSetType": "1",
        "openAccountDigits": 4,
        "closePrice": "0.0000",
        "customerNo": "86286820",
        "status": "1"
      },
      {
        "symbolId": 1352,
        "bizType": 12,
        "orderId": 30465551,
        "dealId": 103790191,
        "openPrice": "2027.790",
        "remark": null,
        "takeProfitDecimal": "0.000",
        "closeNum": 0,
        "closeFee": "0.00000",
        "takeProfit": "0",
        "closeVolume": 0,
        "customerId": 381534,
        "closeTime": 0,
        "openVolume": 0.01,
        "symbolName": "GOLD-MM",
        "closeAccountDigits": 5,
        "openTime": 1704865586698,
        "tradeType": 1,
        "direction": 1,
        "openContractSize": 100,
        "openMargin": "0.05000",
        "openNum": 1,
        "closeSymbolDigits": 3,
        "openFee": "0.00000",
        "stopLossDecimal": "0.000",
        "volume": 0.01,
        "openSymbolDigits": 3,
        "accountId": 6428695,
        "companyId": 360,
        "positionId": 2024011001083,
        "closeFreeDigits": null,
        "stopLoss": "0",
        "marginSetType": "1",
        "openAccountDigits": 5,
        "closePrice": "0.00000",
        "customerNo": "86381519",
        "status": "1"
      },
      {
        "symbolId": 1352,
        "bizType": 12,
        "orderId": 28110800,
        "dealId": 101434970,
        "openPrice": "2027.780",
        "remark": null,
        "takeProfitDecimal": "0.000",
        "closeNum": 0,
        "closeFee": "0.00000",
        "takeProfit": "0",
        "closeVolume": 0,
        "customerId": 381534,
        "closeTime": 0,
        "openVolume": 0.01,
        "symbolName": "GOLD-MM",
        "closeAccountDigits": 5,
        "openTime": 1704865478795,
        "tradeType": 1,
        "direction": 1,
        "openContractSize": 100,
        "openMargin": "0.05000",
        "openNum": 1,
        "closeSymbolDigits": 3,
        "openFee": "0.00000",
        "stopLossDecimal": "0.000",
        "volume": 0.01,
        "openSymbolDigits": 3,
        "accountId": 6428695,
        "companyId": 360,
        "positionId": 2024011001082,
        "closeFreeDigits": null,
        "stopLoss": "0",
        "marginSetType": "1",
        "openAccountDigits": 5,
        "closePrice": "0.00000",
        "customerNo": "86381519",
        "status": "1"
      },
      {
        "symbolId": 1352,
        "bizType": 12,
        "orderId": 28110799,
        "dealId": 101434969,
        "openPrice": "2027.790",
        "remark": null,
        "takeProfitDecimal": "0.000",
        "closeNum": 0,
        "closeFee": "0.00000",
        "takeProfit": "0",
        "closeVolume": 0,
        "customerId": 381534,
        "closeTime": 0,
        "openVolume": 0.01,
        "symbolName": "GOLD-MM",
        "closeAccountDigits": 5,
        "openTime": 1704865451692,
        "tradeType": 1,
        "direction": 1,
        "openContractSize": 100,
        "openMargin": "0.05000",
        "openNum": 1,
        "closeSymbolDigits": 3,
        "openFee": "0.00000",
        "stopLossDecimal": "0.000",
        "volume": 0.01,
        "openSymbolDigits": 3,
        "accountId": 6428695,
        "companyId": 360,
        "positionId": 2024011001081,
        "closeFreeDigits": null,
        "stopLoss": "0",
        "marginSetType": "1",
        "openAccountDigits": 5,
        "closePrice": "0.00000",
        "customerNo": "86381519",
        "status": "1"
      },
      {
        "symbolId": 1352,
        "bizType": 12,
        "orderId": 28110798,
        "dealId": 101434968,
        "openPrice": "2033.390",
        "remark": null,
        "takeProfitDecimal": "0.000",
        "closeNum": 0,
        "closeFee": "0.00000",
        "takeProfit": "0",
        "closeVolume": 0,
        "customerId": 381534,
        "closeTime": 0,
        "openVolume": 0.01,
        "symbolName": "GOLD-MM",
        "closeAccountDigits": 5,
        "openTime": 1704787818311,
        "tradeType": 1,
        "direction": 1,
        "openContractSize": 100,
        "openMargin": "0.05000",
        "openNum": 1,
        "closeSymbolDigits": 3,
        "openFee": "0.00000",
        "stopLossDecimal": "0.000",
        "volume": 0.01,
        "openSymbolDigits": 3,
        "accountId": 6428695,
        "companyId": 360,
        "positionId": 2024010901984,
        "closeFreeDigits": null,
        "stopLoss": "0",
        "marginSetType": "1",
        "openAccountDigits": 5,
        "closePrice": "0.00000",
        "customerNo": "86381519",
        "status": "1"
      },
      {
        "symbolId": 1352,
        "bizType": 12,
        "orderId": 28110797,
        "dealId": 101434967,
        "openPrice": "2033.890",
        "remark": null,
        "takeProfitDecimal": "0.000",
        "closeNum": 0,
        "closeFee": "0.00000",
        "takeProfit": "0",
        "closeVolume": 0,
        "customerId": 381534,
        "closeTime": 0,
        "openVolume": 0.01,
        "symbolName": "GOLD-MM",
        "closeAccountDigits": 5,
        "openTime": 1704784473702,
        "tradeType": 1,
        "direction": 1,
        "openContractSize": 100,
        "openMargin": "0.05000",
        "openNum": 1,
        "closeSymbolDigits": 3,
        "openFee": "0.00000",
        "stopLossDecimal": "0.000",
        "volume": 0.01,
        "openSymbolDigits": 3,
        "accountId": 6428695,
        "companyId": 360,
        "positionId": 2024010901781,
        "closeFreeDigits": null,
        "stopLoss": "0",
        "marginSetType": "1",
        "openAccountDigits": 5,
        "closePrice": "0.00000",
        "customerNo": "86381519",
        "status": "1"
      },
      {
        "symbolId": 1352,
        "bizType": 12,
        "orderId": 28110796,
        "dealId": 101434966,
        "openPrice": "2034.299",
        "remark": null,
        "takeProfitDecimal": "0.000",
        "closeNum": 0,
        "closeFee": "0.00000",
        "takeProfit": "0",
        "closeVolume": 0,
        "customerId": 381534,
        "closeTime": 0,
        "openVolume": 0.01,
        "symbolName": "GOLD-MM",
        "closeAccountDigits": 5,
        "openTime": 1704784417830,
        "tradeType": 1,
        "direction": 1,
        "openContractSize": 100,
        "openMargin": "0.05000",
        "openNum": 1,
        "closeSymbolDigits": 3,
        "openFee": "0.00000",
        "stopLossDecimal": "0.000",
        "volume": 0.01,
        "openSymbolDigits": 3,
        "accountId": 6428695,
        "companyId": 360,
        "positionId": 2024010901764,
        "closeFreeDigits": null,
        "stopLoss": "0",
        "marginSetType": "1",
        "openAccountDigits": 5,
        "closePrice": "0.00000",
        "customerNo": "86381519",
        "status": "1"
      },
      {
        "symbolId": 1352,
        "bizType": 12,
        "orderId": 28110795,
        "dealId": 101434965,
        "openPrice": "2033.200",
        "remark": null,
        "takeProfitDecimal": "0.000",
        "closeNum": 0,
        "closeFee": "0.00000",
        "takeProfit": "0",
        "closeVolume": 0,
        "customerId": 381534,
        "closeTime": 0,
        "openVolume": 0.01,
        "symbolName": "GOLD-MM",
        "closeAccountDigits": 5,
        "openTime": 1704783605219,
        "tradeType": 1,
        "direction": 1,
        "openContractSize": 100,
        "openMargin": "0.05000",
        "openNum": 1,
        "closeSymbolDigits": 3,
        "openFee": "0.00000",
        "stopLossDecimal": "0.000",
        "volume": 0.01,
        "openSymbolDigits": 3,
        "accountId": 6428695,
        "companyId": 360,
        "positionId": 2024010901668,
        "closeFreeDigits": null,
        "stopLoss": "0",
        "marginSetType": "1",
        "openAccountDigits": 5,
        "closePrice": "0.00000",
        "customerNo": "86381519",
        "status": "1"
      },
      {
        "symbolId": 1352,
        "bizType": 1,
        "orderId": 22270984,
        "dealId": 97686694,
        "openPrice": "1911.980",
        "remark": null,
        "takeProfitDecimal": "0.000",
        "closeNum": 50,
        "closeFee": "0.0000",
        "takeProfit": "0",
        "closeVolume": 0.5,
        "customerId": 1159,
        "closeTime": 0,
        "openVolume": 1,
        "symbolName": "GOLD-MM",
        "closeAccountDigits": 4,
        "openTime": 1694592867404,
        "tradeType": 1,
        "direction": 1,
        "openContractSize": 100,
        "openMargin": "5.0000",
        "openNum": 100,
        "closeSymbolDigits": 3,
        "openFee": "0.0000",
        "stopLossDecimal": "0.000",
        "volume": 0.5,
        "openSymbolDigits": 3,
        "accountId": 1031236,
        "companyId": 360,
        "positionId": 2023091377112,
        "closeFreeDigits": null,
        "stopLoss": "0",
        "marginSetType": "1",
        "openAccountDigits": 4,
        "closePrice": "0.0000",
        "customerNo": "86001158",
        "status": "1"
      }
    ]
  },
  "bizCode": "C",
  "tm": 414,
  "msgParams": null,
  "ok": true
}

Last updated