Initialize order book for a trading pair.
This endpoint dynamically adds a trading pair to a connector’s order book tracker. It uses the best available connector (trading connectors are preferred over data connectors).
Args: request: Request with connector name, trading pair, optional account name, and timeout
Returns: TradingPairResponse with success status and message
Raises: HTTPException: 500 if initialization fails
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Request model for adding a trading pair to order book tracking
Name of the connector (e.g., 'binance', 'binance_perpetual')
Trading pair to add (e.g., 'BTC-USDT')
Optional account name for trading connector preference
Timeout in seconds for order book initialization
1 <= x <= 120