Skip to main content

ohlcvCandles

Fetch OHLCV candlestick data for a symbol on the given exchange. Times are Unix milliseconds (Float to avoid 32-bit Int overflow). The exchange parameter is validated against the catalog at runtime — use the supportedExchanges query to discover valid ids.

ohlcvCandles(
exchange: String!
symbol: String!
timeframe: CandleTimeframe!
startTime: Float!
endTime: Float!
): OHLCVResponse!

Arguments​

ohlcvCandles.exchange ● String! non-null scalar​

ohlcvCandles.symbol ● String! non-null scalar​

ohlcvCandles.timeframe ● CandleTimeframe! non-null enum​

ohlcvCandles.startTime ● Float! non-null scalar​

ohlcvCandles.endTime ● Float! non-null scalar​

Type​

OHLCVResponse object​

Response wrapper for OHLCV queries