get_orderbook
Retrieve the current order book snapshot with computed spread, including top bids/asks, spread amount, and percentage, using live WebSocket data when available.
Instructions
Get the current order book snapshot with computed spread.
Returns top-depth bids/asks (capped at 100), spread and
spread_pct, plus freshness fields. Uses the live WebSocket buffer
when warm, otherwise REST.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| symbol | Yes | ||
| exchange | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||