Address
Receiving parameter
Submit
Example
curl -d /openApi/market/detail
Submit parameter
ParamName |
Y/N |
Type |
Example |
Description |
symbol |
Yes |
string |
BTC-USDT |
Trading pair |
Return parameter
ParamName |
Y/N |
Type |
Example |
Description |
errno |
Yes |
int |
0 |
Status code |
errmsg |
Yes |
success |
success |
Status information |
result |
Yes |
array |
see the example |
Return result |
RESULT Description
{
"id": 响应id,
"amount": 以基础币种计量的交易量,
"count": 24小时成交笔数,
"open": 24小时开盘价,
"close": 24小时收盘价,
"low": 24小时最低价,
"high": 24小时最高价,
"vol": 以结算币种计量的交易量
}
Return example
{
"errno": 0,
"errmsg": "success",
"result": {
"id": 1499184000,
"amount": 37593.0266,
"count": 1234,
"open": 1935.2000,
"close": 1879.0000,
"low": 1856.0000,
"high": 1940.0000,
"vol": 71031537.97866500
}
}
{
"errno": 10010,
"errmsg": "Failed"
}
Comments
0 comments
Article is closed for comments.