Orderbook
GET /api/v3/orderbook
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| pair | string | pair symbol like BTC_USDT, required |
| limit_buy | integer | limit of buy levels |
| limit_sell | integer | limit of sell levels |
public_api.orderbook('BTC_USDT')
Response
{
"buy": [
{
"amount": 1.0,
"price": 45000.0
},
{
"amount": 2.0,
"price": 44990.0
}
],
"sell": [
{
"amount": 1.0,
"price": 45010.0
},
{
"amount": 2.0,
"price": 45020.0
}
]
}