Market Data
Get Candles
Changed onGet real-time candles data for a specific trading pair.
This endpoint uses the MarketDataProvider to get or create a candles feed that will automatically start and maintain real-time updates. Subsequent requests with the same configuration will reuse the existing feed for up-to-date data.
Args: request: FastAPI request object candles_config: Configuration for the candles including connector, trading_pair, interval, and max_records
Returns: Real-time candles data or error message
post/market-data/candles
Request
- Base URLhttp://localhost:8000
- URLhttp://localhost:8000/market-data/candles
- AuthHTTP basic
Request body
Response
Successful Response
unknown required
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- breaking
the response's body type changed from
objectto no type for status
- breaking