v13

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-0815390371.2 KB
Market Data

Get Order Book

Get order book snapshot with specified depth.

Args: request: Order book request with connector, trading pair, and depth market_data_manager: Injected market data feed manager

Returns: Order book snapshot with bids and asks

Raises: HTTPException: 500 if there's an error fetching order book

post/market-data/order-book

Request body

connector_namestring required

Name of the connector

trading_pairstring required

Trading pair

depthinteger

Number of price levels to return

Response

Successful Response

trading_pairstring required

Trading pair

timestampnumber required

Snapshot timestamp