/app/pairs

Get all available trading pairs. 获得所有支持的交易对

import requests

headers = {
    'Authorization': 'Bearer %s' % api_token,
    'Accept':'application/json'
}

response = requests.get('https://sandboxapi.legendtrading.com/app/pairs', headers=headers)

data = response.json()
print(data)

返回参数说明:

"ETHCHF": {//交易对
        "minimum_size": 50,          //法币的最小交易金额
        "minimum_quantity": "0.0100",//加密币的最小交易数量
        "maximum_quantity": 500,     //加密币的最大交易数量
        "decimals": 2,                //法币精度
        "quantity_precision": 5       //加密货币精度   
    },
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json