做市商接口

做市商持仓报表

post
Body
typeintegerRequired
externalOrderIdstringRequired
blacklistbooleanRequired
symbolNamestringRequired
directionintegerRequired
positionIdintegerRequired
dealIdintegerRequired
startTimeintegerRequired
endTimeintegerRequired
Responses
200Success
application/json
post
/marketPosition
200Success

做市商交易报表

post
Body
accountTypeintegerRequired
externalOrderIdstringRequired
blacklistbooleanRequired
symbolNamestringRequired
directionstringRequired
openCloseintegerRequired
bizTypeintegerRequired
positionIdintegerRequired
dealIdintegerRequired
counterpartyDealIdstringRequired
startTimeintegerRequired
endTimeintegerRequired
Responses
200Success
application/json
post
/marketTrade
200Success

做市商委托报表

post
Body
accountTypeintegerRequired
externalOrderIdstringRequired
blacklistbooleanRequired
startTimeintegerRequired
endTimeintegerRequired
symbolNamestringRequired
directionintegerRequired
bizTypeintegerRequired
orderIdintegerRequired
numberStatisticModeintegerRequired
Responses
200Success
application/json
post
/marketEntrust
200Success

做市商日报表

post
Body
accountTypeintegerRequired
datestringRequired
Responses
200Success
application/json
post
/marketDay
200Success

做市商黑名单射单统计报表

post
Body
startTimeintegerRequired
endTimeintegerRequired
symbolNamestringRequired
directionintegerRequired
positionIdintegerRequired
dealIdintegerRequired
externalOrderIdstringRequired
lpDealIdstringRequired
Responses
200Success
application/json
post
/marketStpStatistics
200Success

做市商黑名单射单记录报表

post
Body
accountTypeintegerRequired
externalOrderIdstringRequired
symbolNamestringRequired
directionstringRequired
openCloseintegerRequired
bizTypeintegerRequired
numberStatisticModeintegerRequired
positionIdintegerRequired
dealIdintegerRequired
counterpartyDealIdstringRequired
startTimeintegerRequired
endTimeintegerRequired
lpDealIdstringRequired
Responses
200Success
application/json
post
/marketStpRecord
200Success

做市商净仓统计报表

post
Body
symbolNamestringRequired
Responses
200Success
application/json
post
/marketNetStatistics
200Success

做市商净仓射单记录报表

post
Body
accountTypeintegerRequired
externalOrderIdstringRequired
symbolNamestringRequired
directionstringRequired
openCloseintegerRequired
bizTypeintegerRequired
numberStatisticModeintegerRequired
positionIdintegerRequired
dealIdintegerRequired
counterpartyDealIdstringRequired
startTimeintegerRequired
endTimeintegerRequired
lpDealIdstringRequired
Responses
200Success
application/json
post
/marketNetRecord
200Success

净仓手数统计

post
Body
symbolNamestringRequired
Responses
200Success
application/json
post
/getNetPositionStatistics
200Success

净仓浮动盈亏统计

post
Body
symbolNamestringRequired
Responses
200Success
application/json
post
/getNetFloatProfitStatistics
200Success
Deprecated

添加流动性产品

post

bizType=makerbot.app.MMBotService.addSymbolMMBotConf 添加流动性产品

Header parameters
companystringOptionalExample: {{company}}
tracestringOptionalExample: {{mock_trace}}
TokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: zh-CN
VersionstringOptionalExample: 0.0.1
Body
symbolIdinteger · int64Required

产品ID

lastPricestringRequired

最新成交价

lastPriceAsBidbooleanRequired

初始化盘口最新成交价是否作为bid一档

strategystringRequired

策略编码目前只支持fix_total_amount

maxLimitPricestringRequired

最高价格

minLimitPricestringRequired

最低价格

priceIntervalstringRequired

买方向最低价格

accountIdinteger · int64Optional

做市资金账户ID

amountstringRequired

做市资金金额

currencystringRequired

做市资金账户币种

digitsintegerRequired

做市资金账户资产小数位数

Responses
200Success
application/json
post
/global/makerbot.app.MMBotService.addSymbolMMBotConf
200Success
Deprecated

分页查询流动性产品列表

post

bizType=makerbot.app.MMBotService.querySymbolMMBotConfPageList 分页查询流动性产品列表

Header parameters
companystringOptionalExample: {{company}}
tracestringOptionalExample: {{mock_trace}}
TokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: zh-CN
VersionstringOptionalExample: 0.0.1
Body
sizeinteger · int64Optional

每页条数

currentinteger · int64Optional

当前页

Responses
200Success
application/json
post
/global/makerbot.app.MMBotService.querySymbolMMBotConfPageList
200Success

净仓配置-查询做市商净仓配置

post

bizType=config.app.AppJcStrategyDubboService.getPageView 查询做市商净仓配置

Header parameters
versionstringRequiredExample: 0.0.1
companyIdstringRequiredExample: {{company}}
tracestringRequiredExample: {{mock_trace}}
langstringRequiredExample: zh-CN
tokenstringOptionalExample: {{LoginResult.data.token}}
Body
companyIdstringOptional

公司ID

tracestringRequired

跟踪码

ipstringOptional

IP

langstringOptional

语言

sizestringRequired

每页条数

currentstringRequired

当前页

symbolIdstringRequired

产品ID

statusstringRequired

状态

symbolNamesstringRequired

产品名称

Responses
200Success
application/json
post
/global/config.app.AppJcStrategyDubboService.getPageView
200Success

净仓配置-新增做市商净仓配置

post

bizType=config.app.AppJcStrategyDubboService.add 新增做市商净仓配置

Header parameters
versionstringRequiredExample: 0.0.1
companyIdstringRequiredExample: {{company}}
tracestringRequiredExample: {{mock_trace}}
langstringRequiredExample: zh-CN
tokenstringOptionalExample: {{LoginResult.data.token}}
Body
companyIdstringOptional

公司ID

tracestringRequired

跟踪码

ipstringOptional

IP

langstringOptional

语言

symbolIdstringRequired

产品ID

accountIdstringRequired

交易账户

shortNetPositionstringRequired

空头净仓(手)

longNetPositionstringRequired

多头净仓(手)

waitingTimestringRequired

等待时间(s)

Responses
200Success
application/json
post
/global/config.app.AppJcStrategyDubboService.add
200Success

净仓配置-编辑做市商净仓配置

post

bizType=config.app.AppJcStrategyDubboService.update 启用禁止做市商净仓配置

Header parameters
versionstringRequiredExample: 0.0.1
companyIdstringRequiredExample: {{company}}
tracestringRequiredExample: {{mock_trace}}
langstringRequiredExample: zh-CN
tokenstringOptionalExample: {{LoginResult.data.token}}
Body
companyIdstringOptional

公司ID

tracestringRequired

跟踪码

ipstringOptional

IP

langstringOptional

语言

idstringRequired

记录ID

shortNetPositionstringRequired

空头净仓(手)

longNetPositionstringRequired

多头净仓(手)

waitingTimestringRequired

等待时间(s)

statusstringRequired

状态

Responses
200Success
application/json
post
/global/config.app.AppJcStrategyDubboService.update
200Success

净仓配置-启用禁止做市商净仓配置

post

bizType=config.app.AppJcStrategyDubboService.updateStatus 启用禁止做市商净仓配置

Header parameters
versionstringRequiredExample: 0.0.1
companyIdstringRequiredExample: {{company}}
tracestringRequiredExample: {{mock_trace}}
langstringRequiredExample: zh-CN
tokenstringOptionalExample: {{LoginResult.data.token}}
Body
companyIdstringOptional

公司ID

tracestringRequired

跟踪码

ipstringOptional

IP

langstringOptional

语言

idstringRequired

记录ID

statusstringRequired

状态 1、2、启用、禁用

Responses
200Success
application/json
post
/global/config.app.AppJcStrategyDubboService.updateStatus
200Success

净仓配置-查询未配置产品清单

post

查询未配置产品清单

Header parameters
companyIdstringRequiredExample: {{company}}
tracestringRequiredExample: {{mock_trace}}
langstringRequiredExample: zh-CN
tokenstringOptionalExample: {{LoginResult.data.token}}
Body
tradeTypeinteger · int64Required

玩法ID

namestringOptional

产品名称或者Code

Responses
200Success
application/json
post
/global/config.app.AppJcStrategyDubboService.getSymbolList
200Success

净仓配置-删除做市商净仓配置

post

bizType=config.app.AppJcStrategyDubboService.removeById 删除做市商净仓配置

Header parameters
versionstringRequiredExample: 0.0.1
companyIdstringRequiredExample: {{company}}
tracestringRequiredExample: {{mock_trace}}
langstringRequiredExample: zh-CN
tokenstringOptionalExample: {{LoginResult.data.token}}
Body
companyIdstringOptional

公司ID

tracestringRequired

跟踪码

ipstringOptional

IP

langstringOptional

语言

idstringRequired

记录ID

Responses
200Success
application/json
post
/global/config.app.AppJcStrategyDubboService.removeById
200Success

净仓配置-查询AMM被动做市商账号余额

post

查询未配置产品清单

Header parameters
companyIdstringRequiredExample: {{company}}
tracestringRequiredExample: {{mock_trace}}
langstringRequiredExample: zh-CN
tokenstringOptionalExample: {{LoginResult.data.token}}
Body
objectOptional
Responses
200Success
application/json
post
/global/config.app.AppJcStrategyDubboService.queryJcAllAccount
200Success

自动化做市商给产品首次提供流动性(首次配置)

post

bizType=makerbot.app.MMBotService.addAmmSymbol 自动化做市商给产品首次提供流动性(首次配置)

Header parameters
companystringOptionalExample: {{company}}
tracestringOptionalExample: {{mock_trace}}
TokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: zh-CN
VersionstringOptionalExample: 0.0.1
Body
symbolIdinteger · uint64Required

产品id

lastPricestringRequired

最新成交价(起始价格),必须在最高最低价格范围内

lastPriceAsBidbooleanRequired

初始化盘口最新成交价是否作为bid一档

strategyconst: fix_total_amountRequired

策略编码,目前固定值fix_total_amount

maxLimitPricestringRequired

最高价格

minLimitPricestringRequired

最低价格

priceIntervalstringRequired

每档价格间隔

amountstringRequired

做市资金

accountIdintegerRequired

聚合账户ID

Responses
200Success
application/json
post
/global/makerbot.app.MMBotService.addAmmSymbol
200Success

自动化做市商给产品二次提供流动性(添加新的maker账号)

post

bizType=makerbot.app.MMBotService.addAmmMaker

Header parameters
companystringRequiredExample: {{company}}
tracestringOptionalExample: {{mock_trace}}
TokenstringRequiredExample: {{LoginResult.data.token}}
VersionstringOptionalExample: 0.0.1
langstringOptionalExample: zh-CN
Body
symbolIdinteger · uint64Required

产品id

strategyconst: fix_total_amountRequired

策略编码,目前固定值fix_total_amount

maxLimitPricestringRequired

最高价格

minLimitPricestringRequired

最低价格

priceIntervalstringRequired

每档价格间隔

amountstringRequired

做市资金

accountIdinteger · int64Required

账户id

Responses
200Success
application/json
post
/global/makerbot.app.MMBotService.addAmmMaker
200Success

自动化做市商给产品增加流动资金(已存在的maker账号添加资金)

post

bizType=makerbot.app.MMBotService.addAmmAmount

Header parameters
companystringOptionalExample: {{company}}
tracestringOptionalExample: {{mock_trace}}
TokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: zh-CN
VersionstringOptionalExample: 0.0.1
Body
symbolIdinteger · uint64Required

产品id

amountstringRequired

做市资金

accountIdinteger · int64Required

账户id

Responses
200Success
application/json
post
/global/makerbot.app.MMBotService.addAmmAmount
200Success

自动化做市商根据产品ID获取流动性的产品配置信息

post

bizType=makerbot.app.MMBotService.queryAmmSymbolInfo 返回结果: data空,表示maker可首次配置; data不为空且marketMaker属性为空,表示新maker可二次配置; data不为空且marketMaker属性不为空,表示maker可添加流动资金;

Body
symbolIdinteger · uint64Required

产品id

accountIdstringRequired

账户id

Responses
200Success
application/json
post
/global/makerbot.app.MMBotService.queryAmmSymbolInfo
200Success

自动化做市商根据产品ID获取流动性资金

post

bizType=makerbot.app.MMBotService.getAmmSymbolAmount 返回金额为产品的盈亏币种金额,需要转换成账户币种金额

Body
symbolIdinteger · uint64Required

产品id

accountIdstringRequired

账户id

Responses
200Success
application/json
post
/global/makerbot.app.MMBotService.getAmmSymbolAmount
200Success

自动化做市商查询已提供流动性的产品分页数据

post

bizType=makerbot.app.MMBotService.queryAmmSymbolPage 返回金额为产品的盈亏币种金额,需要转换成账户币种金额

Body
sizeinteger · uint32Required

每页条数

currentinteger · uint32Required

当前页

accountIdinteger · int64Required

账户id

symbolCodestringOptional

产品source编码模糊查询

symbolNamestringRequired

产品名称

Responses
200Success
application/json
post
/global/makerbot.app.MMBotService.queryAmmSymbolPage
200Success

分润-查询未领取的做市收入

post
Body
objectOptional
Responses
200Success
application/json
post
/api/cats-gateway/global/benefit.app.ReportDatadDubboService.getUnclaimedMarketAmount
200Success

分润-提取做市收入

post
Body
objectOptional
Responses
200Success
application/json
Responseobject
post
/api/cats-gateway/global/benefit.app.ReportDatadDubboService.extractUnclaimedMarketAmount
200Success

分润-查询做市等级

post
Body
objectOptional
Responses
200Success
application/json
post
/api/cats-gateway/global/benefit.app.ReportDatadDubboService.getLevel
200Success

分润-做市收入报表查询

post
Body
startTimestringRequired
endTimestringRequired
directionstringRequired
symbolNamestringRequired
dealIdstringRequired
openClosestringRequired
bizTypestringRequired
Responses
200Success
application/json
post
/api/cats-gateway/global/benefit.app.ReportDatadDubboService.marketIncomeReport
200Success

分润-流量统计日报表查询

post
Body
startTimestringRequired
endTimestringRequired
regenerationbooleanRequired
Responses
200Success
application/json
post
/api/cats-gateway/global/benefit.app.ReportDatadDubboService.trafficStatisticsDayReport
200Success

做市商撮合盈亏明细报表

post
Body
accountTypeintegerRequired
externalOrderIdstringRequired
symbolNamestringRequired
directionstringRequired
openCloseintegerRequired
bizTypeintegerRequired
numberStatisticModeintegerRequired
positionIdintegerRequired
dealIdintegerRequired
counterpartyDealIdstringRequired
startTimeintegerRequired
endTimeintegerRequired
Responses
200Success
application/json
post
/api/cats-gateway/global/report.app.ReportDatadDubboService.marketMatchProfitRecord
200Success

做市商射单盈亏明细报表

post
Body
accountTypeintegerRequired
externalOrderIdstringRequired
symbolNamestringRequired
directionstringRequired
openCloseintegerRequired
bizTypeintegerRequired
numberStatisticModeintegerRequired
positionIdintegerRequired
dealIdintegerRequired
counterpartyDealIdstringRequired
startTimeintegerRequired
endTimeintegerRequired
Responses
200Success
application/json
post
/api/cats-gateway/global/report.app.ReportDatadDubboService.marketStpProfitRecord
200Success

做市商结算盈亏日报表

post
Body
startTimeintegerRequired
endTimeintegerRequired
regenerationbooleanRequired
Responses
200Success
application/json
post
/api/cats-gateway/global/benefit.app.ReportDatadDubboService.settlementProfitLossDayReport
200Success

Last updated