地址/openApi/contract/precision
接收参数
提交方式: GET
示例
curl -d /openApi/contract/precision
提交参数
参数名
|
是否必填
|
类型
|
示例
|
说明
|
---|---|---|---|---|
symbol
|
否
|
string
|
BTC-USDT
|
交易对,非必填,不填时返回所有交易对精度
|
返回参数
参数名
|
是否必填
|
类型
|
示例
|
说明
|
---|---|---|---|---|
errno
|
是
|
int
|
0
|
状态码
|
errmsg
|
是
|
success
|
success
|
状态信息
|
result
|
是
|
object
|
见示例
|
列表
|
result 参数说明
参数名
|
是否必需
|
类型
|
示例
|
说明
|
---|---|---|---|---|
amount
|
是
|
string
|
LINK-BTC
|
数量精度
|
price
|
是
|
string
|
LINK-BTC
|
价格精度
|
minQuantity
|
是
|
string
|
0.01
|
委托最小单量
|
maxQuantity
|
是
|
string
|
100000000
|
委托最大单量
|
minPrice
|
是
|
string
|
0.01
|
委托最低价
|
maxPrice
|
是
|
string
|
100000000
|
委托最高价
|
返回示例
{
"errno": 0,
"errmsg": "success",
"result": {
"ETH-USDT": {
"amount": "3",
"minQuantity": "0.01",
"maxQuantity": "10000",
"price": "4",
"minPrice": "100",
"maxPrice": "5000"
},
"EOS-USDT": {
"amount": "2",
"minQuantity": "10",
"maxQuantity": "100000000",
"price": "2",
"minPrice": "0.5",
"maxPrice": "50"
},
"BTC-USDT": {
"amount": "2",
"minQuantity": "0.000001",
"maxQuantity": "10000",
"price": "2",
"minPrice": "0.000001",
"maxPrice": "100000"
}
}
}
评论
0 条评论
文章评论已关闭。