Order Book
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 |
Depth
| Attribute Name | Type | Description | Example |
|---|---|---|---|
| asset_pair_name | string | asset pair name | BTC-USDT |
| bids | PriceLevel array | bids | |
| asks | PriceLevel array | asks |
Order Book is the ask orders and bid orders collection of a asset pair
OrderBook of a asset pair
GET /asset_pairs/{asset_pair_name}/depth
Parameters
| Name | Type | Require | Description | Example |
|---|---|---|---|---|
| asset_pair_name | string | true | asset pair name | ETH-BTC |
| limit | string | false | default 50; max 200 |
Response is depth object.
{
"asset_pair_name": "EOS-BTC",
"bids": [
{
"price": "42",
"order_count": 4,
"quantity": "23.33363711"
}
],
"asks": [
{
"price": "45",
"order_count": 2,
"quantity": "4193.3283464"
}
]
}