Ticker
PriceLevel
Attribute Name | Type | Description | Example |
---|---|---|---|
price | string | price | 5098.37 |
quantity | string | quantity | 0.0679 |
order_count | string | order count in this level | 10 |
Ticker
Ticker is the current state of one asset pair, with 24 hour trading data
Attribute Name | Type | Description | Example |
---|---|---|---|
asset_pair_name | string | name of asset pair | BTC-USDT |
bid | PriceLevel | latest bid | |
ask | PriceLevel | latest ask | |
open | string | open price in last 24h | 3100.0 |
close | string | close price in last 24h | 3100.0 |
high | string | highest deal price in last 24h | 3100.0 |
low | string | lowest deal price in last 24h | 3100.0 |
volume | string | total volume in last 24h | 3100.0 |
daily_change | string | change in last 24h | 0.00001 |
Ticker of one asset pair
GET /asset_pairs/{asset_pair_name}/ticker
Parameters
Name | Type | Require | Description | Example |
---|---|---|---|---|
asset_pair_name | string | true | asset pair id | BTC-USDT |
Response is a Ticker object.
{
"volume": "190.4925000000000000",
"open": "0.0777371200000000",
"asset_pair_name": "ETH-BTC",
"low": "0.0742925600000000",
"high": "0.0789150000000000",
"daily_change": "-0.00029",
"close": "0.0774425600000000", // last price
"bid": {
"price": "0.0764777900000000",
"order_count": 4,
"quantity": "6.4248000000000000"
},
"ask": {
"price": "0.0774425600000000",
"order_count": 2,
"quantity": "1.1741000000000000"
}
}
Ticker of multiple asset pairs
GET /asset_pairs/tickers
Parameters
Name | Type | Require | Description | Example |
---|---|---|---|---|
pair_names | string | false | names of asset pair, separated by comma | BTC-USDT,PCX-BTC,GXC-USDT |
Response is a Ticker array.
{
"code": 0,
"data": [
{
"asset_pair_name": "PCX-BTC",
"bid": {
"price": "0.0007346",
"order_count": 1,
"quantity": "0.03"
},
"ask": {
"price": "0.0007367",
"order_count": 1,
"quantity": "0.235"
},
"open": "0.0007468",
"high": "0.0007551",
"low": "0.000715",
"close": "0.0007357",
"volume": "16230.195",
"daily_change": "-0.0000111"
},
{
"asset_pair_name": "GXC-USDT",
"bid": {
"price": "1.2",
"order_count": 1,
"quantity": "7.43"
},
"ask": {
"price": "1.3584",
"order_count": 1,
"quantity": "27.33"
},
"open": "1.28",
"high": "1.28",
"low": "1.2",
"close": "1.2",
"volume": "488.8",
"daily_change": "-0.08"
}
]
}