Order book
Order book includes all bids and asks (aggregated by price).
GET /v1/market/orderbook
Query Parameters
| Param | type | Example | description |
|---|---|---|---|
| symbol | string | "KLV-USDT" | a valid trading symbol code. e.g. KLV-USDT |
| limit | integer | 10 | amount of bid and asks |
Response
| Param | Type | Example | Description |
|---|---|---|---|
| bids | [][]string | [["48542.01", "0.8"]] | [[ price,size ]] |
| asks | [][]string | [["48542.01", "0.8"]] | [[ price,size ]] |
| time | Timestamp | 1647648489 | timestamp |
Data Sort
- Asks: Sort price from low to high
- Bids: Sort price from high to low
Response Example
{
"success": true,
"data": {
"bids": [
[
"48542.01",
"0.8"
],
[
"47220.44",
"0.36"
]
],
"asks": [
[
"3.945454",
"5.5"
],
[
"6",
"14"
]
],
"time": 1647648489
}
}