Product rule list

Product rule list

post

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
companyIdstringRequired

Company ID

Example: {{company}}
tracestringRequired

Global link unique identifier

Example: {{mock_trace}}
apiKeystringRequired

apiKey

Example: {{apikey}}
recvWindowstringOptional

time window

Example: 5000
signaturestringRequired

sign

Example: {{sign}}
langstringOptional

language

Example: zh-CN
versionstringOptional

Interface version

Example: 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