Market Maker
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"
}bizType=config.app.AppJcStrategyDubboService.getPageView Query Market Maker Net Position Configuration
0.0.1{{company}}{{mock_trace}}zh-CN{{LoginResult.data.token}}Company ID
Tracking code
IP
Language
Number of Items per Page
Current Page
Product ID
Status
Product name
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 Add market maker net position configuration
0.0.1{{company}}{{mock_trace}}zh-CN{{LoginResult.data.token}}Company ID
Tracking code
IP
Language
Product ID
Trading account
Short Net Position (Lots)
Long Net Position (Lots)
Waiting time (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.updateStatus Enable/disable market maker net position configuration
0.0.1{{company}}{{mock_trace}}zh-CN{{LoginResult.data.token}}Company ID
Tracking code
IP
Language
Record ID
Status 1, 2, enable, disable
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"
}bizType=config.app.AppJcStrategyDubboService.update Enable/Disable Market Maker Net Position Configuration
0.0.1{{company}}{{mock_trace}}zh-CN{{LoginResult.data.token}}Company ID
Tracking code
IP
Language
Record ID
Short Net Position (Lots)
Long Net Position (Lots)
Waiting time (s)
Status
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.removeById Remove market maker net position configuration
0.0.1{{company}}{{mock_trace}}zh-CN{{LoginResult.data.token}}Company ID
Tracking code
IP
Language
Record 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"
}POST /api/marketTrade HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 248
{
"accountType": 62,
"externalOrderId": "82",
"black": false,
"symbolName": "Ren Xu Law to oneself",
"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/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/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/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
}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
}Query list of products not configured
{{company}}{{mock_trace}}zh-CN{{LoginResult.data.token}}Game ID
Product Name or 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
}Query list of products not configured
{{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
}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/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
}bizType=makerbot.app.MMBotService.addSymbolMMBotConf Add liquidity product
{{company}}{{mock_trace}}{{LoginResult.data.token}}zh-CN0.0.1Product ID
Latest transaction price
Whether to use the latest transaction price in the bid as the first level
Strategy code currently only supports fix_total_amount
Highest price
Lowest price
Lowest price for buying direction
Market-making fund account ID
Market-making fund amount
Market-making fund account currency
Market-making fund account asset decimal places
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 Pagination query liquidity product list
{{company}}{{mock_trace}}{{LoginResult.data.token}}zh-CN0.0.1Number of Items per Page
Current Page
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
}Automated market makers provide liquidity for products for the first time (initial configuration)
bizType=makerbot.app.MMBotService.addAmmSymbol Automated market makers provide liquidity for products for the first time (initial configuration)
{{company}}{{mock_trace}}{{LoginResult.data.token}}zh-CN0.0.1Product ID
Latest transaction price (starting price), must be within the highest and lowest price range
Whether to use the latest transaction price in the bid as the first level
Strategy code, currently fixed value fix_total_amount
Highest price
Lowest price
Price interval per tier
Market making funds
Aggregated account 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-CNProduct ID
Strategy code, currently fixed value fix_total_amount
Highest price
Lowest price
Price interval per tier
Market making funds
Account 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.1Product ID
Market making funds
Account 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 Return result: data empty, indicating maker can be configured for the first time; data not empty and marketMaker attribute empty, indicating new maker can be configured for the second time; data not empty and marketMaker attribute not empty, indicating maker can add liquidity funds;
Product ID
Account 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 The returned amount is the profit and loss currency amount of the product, which needs to be converted into the account currency amount
Product ID
Account 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 Returns the profit and loss currency amount of the product, needs to be converted to the account currency amount
Number of Items per Page
Current Page
Account ID
Product source code fuzzy query
Product name
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/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"
}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"
}Last updated