Candles (OHLC) 데이터 제품은 원래 Trades에서 직접 집계해야 할 바 (Open / High / Low / Close / Volume)의 사전 집계 버전입니다. 다중 구간으로 토큰 / 페어 / 풀 단위로 제공됩니다.Documentation Index
Fetch the complete documentation index at: https://docs.chainstream.io/llms.txt
Use this file to discover all available pages before exploring further.
필드
| 필드 | 설명 |
|---|---|
open, high, low, close | USD 또는 quote 표시 (설정 가능) |
volumeUsd, volumeBase, volumeQuote | 방향별 거래량 |
trades | 바 내 거래 수 |
buyers, sellers | 고유 주소 수 |
timestamp | 바 시작 시각 (UTC) |
구간
1s / 1m / 5m / 15m / 1h / 4h / 1d / 1w
접근
REST
tokens/{address}/candles, pools/{address}/candles.WebSocket
dex-candle:{chain}_{tokenAddress}_{resolution}(USD) 및 dex-candle-in-native:...(네이티브 통화). SDK: client.stream.subscribeTokenCandles({ chain, tokenAddress, resolution, callback }).GraphQL
메타데이터와 함께 조회.
SDK
client.token.getCandles(chain, tokenAddress, { resolution })는 타입이 부여된 배열을 반환합니다.다음 단계
Trades
틱 단위가 필요한 경우.
DEX Pools
풀 단위 OHLC.

