Market Data

Restart Order Book Tracker

Changed on

Restart the order book tracker for a connector.

Use this endpoint when the order book is stale (WebSocket disconnected). This will:

  1. Stop the existing order book tracker
  2. Restart it with the same trading pairs
  3. Wait for the WebSocket to reconnect

Args: connector_name: The connector to restart (e.g., "binance") account_name: Optional account name for trading connectors

Returns: Restart status with success/failure and trading pairs

post/market-data/order-book/restart/{connector_name}

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/market-data/order-book/restart/{connector_name}
  • Auth
    HTTP basic

Path parameters

connector_namestring required

Query parameters

account_namestring

Response

Successful Response

unknown required

Changes