Product rule list
bizType=config.admin.AdminSymbolDubboService.getSymbolByCompanyId
Note: tradeRule structure:
{"minTradeAmount": "0.1","maxTradeAmount": "900000","minOrderValue": "5","maxOrderValue": "9000000"}
They are: minimum quantity, maximum quantity, minimum amount, maximum amount
Header parameters
companyIdstringRequiredExample:
Company ID
{{company}}
tracestringRequiredExample:
Global link unique identifier
{{mock_trace}}
apiKeystringRequiredExample:
apiKey
{{apikey}}
recvWindowstringOptionalExample:
time window
5000
signaturestringRequiredExample:
sign
{{sign}}
langstringOptionalExample:
language
zh-CN
versionstringOptionalExample:
Interface version
0.0.1
Body
exchangeCodestringOptional
Exchange code Binance: binance, OKX: okx
Responses
200Success
application/json
post
POST /global/config.admin.AdminSymbolDubboService.getSymbolRuleByCompanyId HTTP/1.1
Host:
companyId: text
trace: text
apiKey: text
signature: text
Content-Type: application/json
Accept: */*
Content-Length: 26
{
"exchangeCode": "binance"
}
200Success
{
"bizCode": "text",
"code": "text",
"fail": true,
"msg": "text",
"msgParams": "text",
"ok": true,
"tm": 1,
"trace": "text",
"data": [
{
"symbolId": 1,
"exchangeCode": "text",
"exchangeSymbolCode": "text",
"tradeRule": "text"
}
]
}
Last updated