Market Data
Add Trading Pair
Changed onInitialize 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
post/market-data/trading-pair/add
Request
- Base URLhttp://localhost:8000
- URLhttp://localhost:8000/market-data/trading-pair/add
- AuthHTTP basic
Request body
Response
Successful Response
Changes
- info
endpoint added
- info