All URIs are relative to https://localhost/api/v1
Method | HTTP request | Description |
---|---|---|
OrderBookGet | Get /orderBook | Get current orderbook [deprecated, use /orderBook/L2]. |
OrderBookGetL2 | Get /orderBook/L2 | Get current orderbook in vertical format. |
[]OrderBook OrderBookGet($symbol, $depth)
Get current orderbook [deprecated, use /orderBook/L2].
Name | Type | Description | Notes |
---|---|---|---|
symbol | string | Instrument symbol. Send a series (e.g. XBT) to get data for the nearest contract in that series. | |
depth | float32 | Orderbook depth. | [optional] [default to 25] |
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]OrderBookL2 OrderBookGetL2($symbol, $depth)
Get current orderbook in vertical format.
Name | Type | Description | Notes |
---|---|---|---|
symbol | string | Instrument symbol. Send a series (e.g. XBT) to get data for the nearest contract in that series. | |
depth | float32 | Orderbook depth per side. Send 0 for full depth. | [optional] [default to 25] |
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
[Back to top] [Back to API list] [Back to Model list] [Back to README]