做市商接口
POST /api/marketPosition HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 138
{
"type": 1,
"externalOrderId": "text",
"blacklist": true,
"symbolName": "text",
"direction": 1,
"positionId": 1,
"dealId": 1,
"startTime": 1,
"endTime": 1
}{
"customerNo": "text",
"accountType": 1,
"symbolName": "text",
"direction": 1,
"volumeTarget": "text",
"floatProfitLoss": "text",
"openVolumeTarget": "text",
"openPriceTarget": "text",
"takeProfitTarget": "text",
"stopLossTarget": "text",
"openMarginTarget": "text",
"overnightInterest": "text",
"occupyTheMarginTarget": "text",
"positionId": 1,
"dealId": 1,
"externalOrderId": "text",
"blacklist": true,
"createTime": 1,
"remark": "text",
"estimateForcePrice": "text"
}POST /api/marketTrade HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 242
{
"accountType": 62,
"externalOrderId": "82",
"black": false,
"symbolName": "任许律对己",
"direction": "dolor amet ea",
"openClose": 8,
"bizType": 99,
"positionId": 1,
"dealId": 5,
"counterpartyDealId": "90",
"startTime": 658704412528,
"endTime": 1115548412230
}{
"customerNo": "text",
"accountType": 1,
"accountCurrency": "text",
"symbolName": "text",
"direction": 1,
"openClose": 1,
"bizType": 1,
"numberStatisticMode": 1,
"requestPrice": "text",
"requestAmount": "text",
"executeAmount": "text",
"executePrice": "text",
"profitLoss": "text",
"commission": "text",
"interest": "text",
"takeProfitTarget": "text",
"stopLossTarget": "text",
"positionId": 1,
"dealId": 1,
"externalOrderId": "text",
"counterpartyDealId": "text",
"blacklist": true,
"requestTime": 1,
"executeTime": 1,
"status": 1,
"remark": "text",
"estimateForcePrice": "text"
}POST /api/marketEntrust HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 167
{
"accountType": 1,
"externalOrderId": "text",
"blacklist": true,
"startTime": 1,
"endTime": 1,
"symbolName": "text",
"direction": 1,
"bizType": 1,
"orderId": 1,
"numberStatisticMode": 1
}{
"customerNo": "text",
"accountType": 1,
"symbolName": "text",
"direction": 1,
"bizType": 1,
"numberStatisticMode": 1,
"requestPrice": "text",
"requestVolume": "text",
"requestAmount": "text",
"orderId": 1,
"dealId": 1,
"executePrice": "text",
"executeVolume": "text",
"executeAmount": "text",
"positionId": 1,
"lossPrice": "text",
"profitPrice": "text",
"lockedMargin": "text",
"commission": "text",
"requestTime": 1,
"remark": "text",
"status": 1,
"externalOrderId": "text",
"blacklist": true
}POST /api/marketDay HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"accountType": 1,
"date": "text"
}{
"date": "text",
"customerNo": "text",
"accountType": "text",
"currency": "text",
"totalBalance": "text",
"yesterdayTotalBalance": "text",
"occupyTheMargin": "text",
"notYetInterest": "text",
"contractCommission": "text",
"yetProfitLoss": "text",
"floatProfitLoss": "text",
"executeTime": 1
}POST /api/marketStpStatistics HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 130
{
"startTime": 1,
"endTime": 1,
"symbolName": "text",
"direction": 1,
"positionId": 1,
"dealId": 1,
"externalOrderId": "text",
"lpDealId": "text"
}{
"accountType": 1,
"symbolName": "text",
"direction": 1,
"volumeTarget": 1,
"floatProfitLoss": "text",
"openVolumeTarget": "text",
"openPriceTarget": "text",
"profitPrice": "text",
"lossPrice": "text",
"overnightInterest": "text",
"openMarginTarget": "text",
"occupyTheMarginTarget": "text",
"estimateForcePrice": "text",
"positionId": 1,
"dealId": 1,
"externalOrderId": "text",
"lpDealDirection": 1,
"lpDealVolume": "text",
"lpDealPrice": "text",
"lpDealId": "text",
"createTime": 1,
"remark": "text"
}POST /api/marketStpRecord HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 229
{
"accountType": 1,
"externalOrderId": "text",
"symbolName": "text",
"direction": "text",
"openClose": 1,
"bizType": 1,
"numberStatisticMode": 1,
"positionId": 1,
"dealId": 1,
"counterpartyDealId": "text",
"startTime": 1,
"endTime": 1,
"lpDealId": "text"
}{
"customerNo": "text",
"accountType": 1,
"currency": "text",
"symbolName": "text",
"direction": 1,
"openClose": 1,
"bizType": 1,
"numberStatisticMode": 1,
"requestPrice": "text",
"requestVolume": "text",
"requestAmount": "text",
"executeAmount": "text",
"executePrice": "text",
"profitLoss": "text",
"commission": "text",
"interest": "text",
"lossPrice": "text",
"profitPrice": "text",
"dealId": 1,
"counterpartyDealId": "text",
"positionId": 1,
"status": 1,
"requestTime": 1,
"executeTime": 1,
"externalOrderId": "text",
"lpDealDirection": 1,
"lpDealVolume": "text",
"lpDealPrice": "text",
"lpDealId": "text",
"remark": "text"
}POST /api/marketNetStatistics HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"symbolName": "text"
}{
"symbolName": "text",
"longPositionVolume": "text",
"shortPositionVolume": "text",
"netPositionVolume": "text",
"lpDealDirection": "text",
"stpLongThreshold": "text",
"stpShortThreshold": "text",
"status": 1
}POST /api/marketNetRecord HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 229
{
"accountType": 1,
"externalOrderId": "text",
"symbolName": "text",
"direction": "text",
"openClose": 1,
"bizType": 1,
"numberStatisticMode": 1,
"positionId": 1,
"dealId": 1,
"counterpartyDealId": "text",
"startTime": 1,
"endTime": 1,
"lpDealId": "text"
}{
"customerNo": "text",
"accountType": 1,
"currency": "text",
"symbolName": "text",
"direction": 1,
"openClose": 1,
"bizType": 1,
"numberStatisticMode": 1,
"requestPrice": "text",
"requestVolume": "text",
"requestAmount": "text",
"executeAmount": "text",
"executePrice": "text",
"profitLoss": "text",
"commission": "text",
"interest": "text",
"lossPrice": "text",
"profitPrice": "text",
"dealId": 1,
"counterpartyDealId": "text",
"positionId": 1,
"status": 1,
"requestTime": 1,
"executeTime": 1,
"externalOrderId": "text",
"lpDealDirection": 1,
"lpDealVolume": "text",
"lpDealPrice": "text",
"lpDealId": "text",
"remark": "text"
}POST /api/getNetPositionStatistics HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"symbolName": "text"
}{
"longVolume": "text",
"shortVolume": "text",
"totalVolume": "text"
}POST /api/getNetFloatProfitStatistics HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"symbolName": "text"
}{
"longFloatProfit": "text",
"shortFloatProfit": "text",
"totalFloatProfit": "text"
}bizType=makerbot.app.MMBotService.addSymbolMMBotConf 添加流动性产品
{{company}}{{mock_trace}}{{LoginResult.data.token}}zh-CN0.0.1产品ID
最新成交价
初始化盘口最新成交价是否作为bid一档
策略编码目前只支持fix_total_amount
最高价格
最低价格
买方向最低价格
做市资金账户ID
做市资金金额
做市资金账户币种
做市资金账户资产小数位数
POST /api/global/makerbot.app.MMBotService.addSymbolMMBotConf HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 228
{
"symbolId": 86,
"lastPrice": "35",
"lastPriceAsBid": true,
"strategy": "fix_total_amount",
"maxLimitPrice": "45",
"minLimitPrice": "25",
"priceInterval": "1",
"customerGroupId": 19,
"amount": "500000",
"currency": "USD",
"digits": 5,
"accountId": 33
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"symbolId": 1,
"symbolSourceCode": "text",
"strategy": "text",
"baseCurrency": "text",
"profitCurrency": "text",
"lastPriceAsBid": true,
"lastPrice": 1,
"maxLimitPrice": 1,
"minLimitPrice": 1,
"priceInterval": 1,
"minVolume": 1,
"contractSize": 1,
"symbolDigits": "text",
"supplyHeight": "text",
"cancelHeight": "text",
"marketMaker": {
"companyId": 1,
"customerNo": "text",
"customerId": 1,
"customerGroupId": 1,
"accountId": 1,
"amount": 1,
"currency": "text",
"digits": 1,
"createTime": 1,
"paused": true
}
},
"ok": true,
"fail": true
}bizType=makerbot.app.MMBotService.querySymbolMMBotConfPageList 分页查询流动性产品列表
{{company}}{{mock_trace}}{{LoginResult.data.token}}zh-CN0.0.1每页条数
当前页
POST /api/global/makerbot.app.MMBotService.querySymbolMMBotConfPageList HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 23
{
"current": 1,
"size": 20
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"records": [
{
"symbolId": 1,
"symbolSourceCode": "text",
"baseCurrency": "text",
"profitCurrency": "text",
"symbolDigits": 1,
"marketMaker": {
"companyId": 1,
"customerNo": "text",
"customerId": 1,
"customerGroupId": 1,
"accountId": 1,
"lastPriceAsBid": true,
"lastPrice": "text",
"maxLimitPrice": "text",
"minLimitPrice": "text",
"priceInterval": "text",
"minVolume": "text",
"contractSize": 1,
"overHeightSize": 1,
"amount": "text",
"currency": "text",
"digits": 1,
"perHeightAmount": "text",
"createTime": 1,
"updateTime": 1,
"status": 1
},
"bidTotalAmount": "text",
"askTotalAmount": "text",
"bids": [
{
"price": "text",
"amount": "text",
"quantity": "text"
}
],
"asks": [
{
"price": "text",
"amount": "text",
"quantity": "text"
}
]
}
],
"total": 1,
"size": 1,
"current": 1
},
"ok": true,
"fail": true
}bizType=config.app.AppJcStrategyDubboService.getPageView 查询做市商净仓配置
0.0.1{{company}}{{mock_trace}}zh-CN{{LoginResult.data.token}}公司ID
跟踪码
IP
语言
每页条数
当前页
产品ID
状态
产品名称
POST /api/global/config.app.AppJcStrategyDubboService.getPageView HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 147
{
"companyId": "text",
"trace": "text",
"ip": "text",
"lang": "text",
"size": "text",
"current": "text",
"symbolId": "text",
"status": "text",
"symbolNames": "text"
}{
"code": "text",
"msg": "text",
"tm": "text",
"trace": "text",
"msgParams": "text",
"data": {
"records": [
{
"symbolId": "text",
"symbolName": "text",
"shortNetPosition": "text",
"longNetPosition": "text",
"waitingTime": "text"
}
],
"total": "text",
"size": "text",
"current": "text"
},
"ok": "text",
"fail": "text"
}bizType=config.app.AppJcStrategyDubboService.add 新增做市商净仓配置
0.0.1{{company}}{{mock_trace}}zh-CN{{LoginResult.data.token}}公司ID
跟踪码
IP
语言
产品ID
交易账户
空头净仓(手)
多头净仓(手)
等待时间(s)
POST /api/global/config.app.AppJcStrategyDubboService.add HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 170
{
"companyId": "text",
"trace": "text",
"ip": "text",
"lang": "text",
"symbolId": "text",
"accountId": "text",
"shortNetPosition": "text",
"longNetPosition": "text",
"waitingTime": "text"
}{
"code": "text",
"msg": "text",
"tm": "text",
"trace": "text",
"msgParams": "text",
"data": {
"symbolId": "text",
"symbolName": "text",
"shortNetPosition": "text",
"longNetPosition": "text",
"waitingTime": "text"
},
"ok": "text",
"fail": "text"
}bizType=config.app.AppJcStrategyDubboService.update 启用禁止做市商净仓配置
0.0.1{{company}}{{mock_trace}}zh-CN{{LoginResult.data.token}}公司ID
跟踪码
IP
语言
记录ID
空头净仓(手)
多头净仓(手)
等待时间(s)
状态
POST /api/global/config.app.AppJcStrategyDubboService.update HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 161
{
"companyId": "text",
"trace": "text",
"ip": "text",
"lang": "text",
"id": "text",
"shortNetPosition": "text",
"longNetPosition": "text",
"waitingTime": "text",
"status": "text"
}{
"code": "text",
"msg": "text",
"tm": "text",
"trace": "text",
"msgParams": "text",
"data": {
"symbolId": "text",
"symbolName": "text",
"shortNetPosition": "text",
"longNetPosition": "text",
"waitingTime": "text"
},
"ok": "text",
"fail": "text"
}bizType=config.app.AppJcStrategyDubboService.updateStatus 启用禁止做市商净仓配置
0.0.1{{company}}{{mock_trace}}zh-CN{{LoginResult.data.token}}公司ID
跟踪码
IP
语言
记录ID
状态 1、2、启用、禁用
POST /api/global/config.app.AppJcStrategyDubboService.updateStatus HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 89
{
"companyId": "text",
"trace": "text",
"ip": "text",
"lang": "text",
"id": "text",
"status": "text"
}{
"code": "text",
"msg": "text",
"tm": "text",
"trace": "text",
"msgParams": "text",
"data": {
"symbolId": "text",
"symbolName": "text",
"shortNetPosition": "text",
"longNetPosition": "text",
"waitingTime": "text"
},
"ok": "text",
"fail": "text"
}查询未配置产品清单
{{company}}{{mock_trace}}zh-CN{{LoginResult.data.token}}玩法ID
产品名称或者Code
POST /api/global/config.app.AppJcStrategyDubboService.getSymbolList HTTP/1.1
Host: prewppc-3.cmfbl.com
companyId: text
trace: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 29
{
"tradeType": 1,
"name": "text"
}{
"msg": "Success",
"fail": false,
"trace": "x-6320jq-ngjyr-99cmjy51-y7q16p-1677564664",
"code": "0",
"data": [
{
"sourceId": "UNISWAP_V3_USDC_WETH",
"code": "USDC_WETH",
"tradeTypes": null,
"etf": false,
"name": "USDC_WETH",
"profitCurrency": "ETH",
"id": 6327,
"baseCurrency": "USDC",
"status": 1
}
],
"bizCode": "",
"tm": 4,
"msgParams": null,
"ok": true
}bizType=config.app.AppJcStrategyDubboService.removeById 删除做市商净仓配置
0.0.1{{company}}{{mock_trace}}zh-CN{{LoginResult.data.token}}公司ID
跟踪码
IP
语言
记录ID
POST /api/global/config.app.AppJcStrategyDubboService.removeById HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 73
{
"companyId": "text",
"trace": "text",
"ip": "text",
"lang": "text",
"id": "text"
}{
"code": "text",
"msg": "text",
"tm": "text",
"trace": "text",
"msgParams": "text",
"data": {
"symbolId": "text",
"symbolName": "text",
"shortNetPosition": "text",
"longNetPosition": "text",
"waitingTime": "text"
},
"ok": "text",
"fail": "text"
}查询未配置产品清单
{{company}}{{mock_trace}}zh-CN{{LoginResult.data.token}}POST /api/global/config.app.AppJcStrategyDubboService.queryJcAllAccount HTTP/1.1
Host: prewppc-3.cmfbl.com
companyId: text
trace: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"msg": "Success",
"fail": false,
"trace": "x-6320jq-ngjyr-99cmjy51-y7q16p-1677564664",
"code": "0",
"data": [
{
"sourceId": "UNISWAP_V3_USDC_WETH",
"code": "USDC_WETH",
"tradeTypes": null,
"etf": false,
"name": "USDC_WETH",
"profitCurrency": "ETH",
"id": 6327,
"baseCurrency": "USDC",
"status": 1
}
],
"bizCode": "",
"tm": 4,
"msgParams": null,
"ok": true
}bizType=makerbot.app.MMBotService.addAmmSymbol 自动化做市商给产品首次提供流动性(首次配置)
{{company}}{{mock_trace}}{{LoginResult.data.token}}zh-CN0.0.1产品id
最新成交价(起始价格),必须在最高最低价格范围内
初始化盘口最新成交价是否作为bid一档
策略编码,目前固定值fix_total_amount
最高价格
最低价格
每档价格间隔
做市资金
聚合账户ID
POST /api/global/makerbot.app.MMBotService.addAmmSymbol HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 172
{
"symbolId": 1,
"lastPrice": "text",
"lastPriceAsBid": true,
"strategy": "text",
"maxLimitPrice": "text",
"minLimitPrice": "text",
"priceInterval": "text",
"amount": "text",
"accountId": 1
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"ok": true,
"fail": true,
"data": {
"symbolId": 1,
"symbolSourceCode": "text",
"baseCurrency": "text",
"profitCurrency": "text",
"symbolDigits": 1,
"marketMaker": {
"companyId": 1,
"customerNo": "text",
"customerId": 1,
"customerGroupId": 1,
"accountId": 1,
"lastPriceAsBid": true,
"lastPrice": "text",
"maxLimitPrice": "text",
"minLimitPrice": "text",
"priceInterval": "text",
"minVolume": "text",
"contractSize": 1,
"overHeightSize": 1,
"amount": "text",
"currency": "text",
"digits": 1,
"perHeightAmount": "text",
"createTime": 1,
"updateTime": 1,
"status": 1
}
}
}bizType=makerbot.app.MMBotService.addAmmMaker
{{company}}{{mock_trace}}{{LoginResult.data.token}}0.0.1zh-CN产品id
策略编码,目前固定值fix_total_amount
最高价格
最低价格
每档价格间隔
做市资金
账户id
POST /api/global/makerbot.app.MMBotService.addAmmMaker HTTP/1.1
Host: prewppc-3.cmfbl.com
company: text
Token: text
Content-Type: application/json
Accept: */*
Content-Length: 131
{
"symbolId": 1,
"strategy": "text",
"maxLimitPrice": "text",
"minLimitPrice": "text",
"priceInterval": "text",
"amount": "text",
"accountId": 1
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"ok": true,
"fail": true,
"data": {
"symbolId": 1,
"symbolSourceCode": "text",
"baseCurrency": "text",
"profitCurrency": "text",
"symbolDigits": 1,
"marketMaker": {
"companyId": 1,
"customerNo": "text",
"customerId": 1,
"customerGroupId": 1,
"accountId": 1,
"lastPriceAsBid": true,
"lastPrice": "text",
"maxLimitPrice": "text",
"minLimitPrice": "text",
"priceInterval": "text",
"minVolume": "text",
"contractSize": 1,
"overHeightSize": 1,
"amount": "text",
"currency": "text",
"digits": 1,
"perHeightAmount": "text",
"createTime": 1,
"updateTime": 1,
"status": 1
}
}
}bizType=makerbot.app.MMBotService.addAmmAmount
{{company}}{{mock_trace}}{{LoginResult.data.token}}zh-CN0.0.1产品id
做市资金
账户id
POST /api/global/makerbot.app.MMBotService.addAmmAmount HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"symbolId": 1,
"amount": "text",
"accountId": 1
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"ok": true,
"fail": true,
"data": {
"symbolId": 1,
"symbolSourceCode": "text",
"baseCurrency": "text",
"profitCurrency": "text",
"symbolDigits": 1,
"marketMaker": {
"companyId": 1,
"customerNo": "text",
"customerId": 1,
"customerGroupId": 1,
"accountId": 1,
"lastPriceAsBid": true,
"lastPrice": "text",
"maxLimitPrice": "text",
"minLimitPrice": "text",
"priceInterval": "text",
"minVolume": "text",
"contractSize": 1,
"overHeightSize": 1,
"amount": "text",
"currency": "text",
"digits": 1,
"perHeightAmount": "text",
"createTime": 1,
"updateTime": 1,
"status": 1
}
}
}bizType=makerbot.app.MMBotService.queryAmmSymbolInfo 返回结果: data空,表示maker可首次配置; data不为空且marketMaker属性为空,表示新maker可二次配置; data不为空且marketMaker属性不为空,表示maker可添加流动资金;
产品id
账户id
POST /api/global/makerbot.app.MMBotService.queryAmmSymbolInfo HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 33
{
"symbolId": 1,
"accountId": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"ok": true,
"fail": true,
"data": {
"symbolId": 1,
"symbolSourceCode": "text",
"baseCurrency": "text",
"profitCurrency": "text",
"symbolDigits": 1,
"marketMaker": {
"companyId": 1,
"customerNo": "text",
"customerId": 1,
"customerGroupId": 1,
"accountId": 1,
"lastPriceAsBid": true,
"lastPrice": "text",
"maxLimitPrice": "text",
"minLimitPrice": "text",
"priceInterval": "text",
"minVolume": "text",
"contractSize": 1,
"overHeightSize": 1,
"amount": "text",
"currency": "text",
"digits": 1,
"perHeightAmount": "text",
"createTime": 1,
"updateTime": 1,
"status": 1
}
}
}bizType=makerbot.app.MMBotService.getAmmSymbolAmount 返回金额为产品的盈亏币种金额,需要转换成账户币种金额
产品id
账户id
POST /api/global/makerbot.app.MMBotService.getAmmSymbolAmount HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 33
{
"symbolId": 1,
"accountId": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"ok": true,
"fail": true,
"data": {
"symbolId": 1,
"symbolSourceCode": "text",
"baseCurrency": "text",
"profitCurrency": "text",
"symbolDigits": 1,
"marketMaker": {
"companyId": 1,
"customerNo": "text",
"customerId": 1,
"customerGroupId": 1,
"accountId": 1,
"lastPriceAsBid": true,
"lastPrice": "text",
"maxLimitPrice": "text",
"minLimitPrice": "text",
"priceInterval": "text",
"minVolume": "text",
"contractSize": 1,
"overHeightSize": 1,
"amount": "text",
"currency": "text",
"digits": 1,
"perHeightAmount": "text",
"createTime": 1,
"updateTime": 1,
"status": 1
},
"bidTotalAmount": "text",
"askTotalAmount": "text",
"bids": [
{
"price": "text",
"amount": "text",
"quantity": "text"
}
],
"asks": [
{
"price": "text",
"amount": "text",
"quantity": "text"
}
]
}
}bizType=makerbot.app.MMBotService.queryAmmSymbolPage 返回金额为产品的盈亏币种金额,需要转换成账户币种金额
每页条数
当前页
账户id
产品source编码模糊查询
产品名称
POST /api/global/makerbot.app.MMBotService.queryAmmSymbolPage HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 76
{
"size": 1,
"current": 1,
"accountId": 1,
"symbolCode": "text",
"symbolName": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"records": [
{
"symbolId": 1,
"symbolSourceCode": "text",
"baseCurrency": "text",
"profitCurrency": "text",
"symbolDigits": 1,
"marketMaker": {
"companyId": 1,
"customerNo": "text",
"customerId": 1,
"customerGroupId": 1,
"accountId": 1,
"lastPriceAsBid": true,
"lastPrice": "text",
"maxLimitPrice": "text",
"minLimitPrice": "text",
"priceInterval": "text",
"minVolume": "text",
"contractSize": 1,
"overHeightSize": 1,
"amount": "text",
"currency": "text",
"digits": 1,
"perHeightAmount": "text",
"createTime": 1,
"updateTime": 1,
"status": 1
},
"bidTotalAmount": "text",
"askTotalAmount": "text",
"bids": [
{
"price": "text",
"amount": "text",
"quantity": "text"
}
],
"asks": [
{
"price": "text",
"amount": "text",
"quantity": "text"
}
]
}
],
"total": 1,
"size": 1,
"current": 1
},
"ok": true,
"fail": true
}POST /api/api/cats-gateway/global/benefit.app.ReportDatadDubboService.getUnclaimedMarketAmount HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"longIncome": "text",
"longIncomePercent": "text",
"shortIncome": "text",
"shortIncomePercent": "text",
"accountCurrency": "text"
}POST /api/api/cats-gateway/global/benefit.app.ReportDatadDubboService.extractUnclaimedMarketAmount HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}POST /api/api/cats-gateway/global/benefit.app.ReportDatadDubboService.getLevel HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"makerLevel": "text",
"takerLevel": "text"
}POST /api/api/cats-gateway/global/benefit.app.ReportDatadDubboService.marketIncomeReport HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 128
{
"startTime": "text",
"endTime": "text",
"direction": "text",
"symbolName": "text",
"dealId": "text",
"openClose": "text",
"bizType": "text"
}{
"customerNo": "text",
"customerId": "text",
"companyId": "text",
"dealId": "text",
"symbolName": "text",
"openClose": "text",
"direction": "text",
"bizType": "text",
"executePrice": "text",
"executeVolume": "text",
"executeAmount": "text",
"executeAmountU": "text",
"executeTime": "text",
"level": "text",
"percent": "text",
"amount": "text"
}POST /api/api/cats-gateway/global/benefit.app.ReportDatadDubboService.trafficStatisticsDayReport HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"startTime": "text",
"endTime": "text",
"regeneration": true
}{
"takerLongTraffic": "text",
"takerShortTraffic": "text",
"takerLongTrafficFee": "text",
"takerShortTrafficFee": "text",
"makerLongTraffic": "text",
"makerShortTraffic": "text",
"makerLongMarketAmount": "text",
"makerShortMarketAmount": "text",
"date": "text",
"executeTime": "text"
}POST /api/api/cats-gateway/global/report.app.ReportDatadDubboService.marketMatchProfitRecord HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 211
{
"accountType": 1,
"externalOrderId": "text",
"symbolName": "text",
"direction": "text",
"openClose": 1,
"bizType": 1,
"numberStatisticMode": 1,
"positionId": 1,
"dealId": 1,
"counterpartyDealId": "text",
"startTime": 1,
"endTime": 1
}{
"executeTime": 1,
"dealId": 1,
"accountType": 1,
"customerNo": "text",
"symbolName": "text",
"openClose": 1,
"direction": 1,
"bizType": 1,
"requestPrice": "text",
"executePrice": "text",
"executeVolume": "text",
"tradeVolume": "text",
"executeAmount": "text",
"tradeCurrency": "text",
"takeProfitTarget": "text",
"stopLossTarget": "text",
"profitLoss": "text",
"profitLossU": "text",
"counterpartyDealId": "text",
"requestTime": 1,
"externalOrderId": "text",
"remark": "text"
}POST /api/api/cats-gateway/global/report.app.ReportDatadDubboService.marketStpProfitRecord HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 211
{
"accountType": 1,
"externalOrderId": "text",
"symbolName": "text",
"direction": "text",
"openClose": 1,
"bizType": 1,
"numberStatisticMode": 1,
"positionId": 1,
"dealId": 1,
"counterpartyDealId": "text",
"startTime": 1,
"endTime": 1
}{
"executeTime": 1,
"dealId": 1,
"accountType": 1,
"customerNo": "text",
"symbolName": "text",
"openClose": 1,
"direction": 1,
"bizType": 1,
"executeAmount": "text",
"tradeCurrency": "text",
"executeVolume": "text",
"requestPrice": "text",
"executePrice": "text",
"profitLoss": "text",
"commission": "text",
"interest": "text",
"requestTime": 1,
"remark": "text"
}POST /api/api/cats-gateway/global/benefit.app.ReportDatadDubboService.settlementProfitLossDayReport HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"startTime": 1,
"endTime": 1,
"regeneration": true
}{
"date": "text",
"matchProfit": 1,
"matchLoss": 1,
"matchNetProfitLoss": "text",
"stpProfit": "text",
"stpLoss": "text",
"stpNetProfitLoss": "text",
"totalNetProfitLoss": "text",
"executeTime": 1
}Last updated