All URIs are relative to https://localhost/api/v1
Method | HTTP request | Description |
---|---|---|
OrderBookGetL2 | Get /orderBook/L2 | Get current orderbook in vertical format. |
[]OrderBookL2 OrderBookGetL2(ctx, symbol, optional) Get current orderbook in vertical format.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
symbol | string | Instrument symbol. Send a series (e.g. XBT) to get data for the nearest contract in that series. | |
optional | *OrderBookGetL2Opts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a OrderBookGetL2Opts struct
Name | Type | Description | Notes |
---|
depth | optional.Float32| Orderbook depth per side. Send 0 for full depth. | [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]