Multi-MarketsReference
1.0.0
OAS 3.0.1

MultiMarkets-开放接口文档

Client Libraries
Shell
Ruby
Node.js
PHP
Python
C
More

接口认证鉴权

Authentication

Headers
  • trace
    required
    string
Body
application/json
appId
required
string
appSecret
required
string
Responses
  • 200
POST/auth/admin.admin.CompanyAuthDubboService.auth
Shell cURL
{
  "msg": "…",
  "trace": "…",
  "code": "…",
  "data": {
    "code": "…",
    "timezone": 1,
    "id": 1,
    "lang": "…",
    "token": "…",
    "name": "…"
  },
  "bizCode": "…",
  "tm": 1,
  "msgParams": "…"
}

合约机器人配置

Maker机器人配置

Body
application/json
symbolId
required
integer
symbolSourceCode
required
string
lastPrice
required
string
baseCurrency
required
string
profitCurrency
required
string
lastPriceAsBid
required
boolean
maxLimitPrice
required
string
minLimitPrice
required
string
priceInterval
required
string
minVolume
required
string
contractSize
required
integer
symbolDigits
required
integer
supplyHeight
required
integer
cancelHeight
required
integer
marketMakers
required
array
Responses
  • 200
POST/placeOrderBook
Shell cURL
{}

合约交易相关

获取单个产品详情

Headers
  • trace
    required
    string
  • companyId
    required
    string
  • token
    required
    string
Body
application/json
companyId
required
string
symbolId
required
number
tradeType
integer
Responses
  • 200
POST/global/config.admin.AdminSymbolDubboService.getSymbolDetail
Shell cURL
{}