Query Trading Pair Precision
Address/openApi/contract/precision
Parameters Received
需要
Submission Method: GET
Example
curl -d /openApi/contract/precision
Submission Parameters
| Parameter Name | Required | Type | Example | Description |
|---|---|---|---|---|
| symbol | No | string | BTC-USDT | Trading pair, optional, if not provided, the precision of all trading pairs will be returned |
Return Parameters
| Parameter Name | Required | Type | Example | Description |
|---|---|---|---|---|
| errno | Yes | int | 0 | Status code |
| errmsg | Yes | success | success | Status message |
| result | Yes | object | See example | List |
result Parameter Description
| Parameter Name | Required | Type | Example | Description |
|---|---|---|---|---|
| amount | Yes | string | LINK-BTC | Quantity Precision |
| price | Yes | string | 2 | Price Precision |
| minQuantity | Yes | string | 0.01 | Minimum order quantity |
| maxQuantity | Yes | string | 100000000 | Maximum order quantity |
| minPrice | Yes | string | 0.01 | Minimum order price |
| maxPrice | Yes | string | 100000000 | Maximum order price |
Return Example
JSON
{
"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"
}
}
}