venueMarketOutcomeId. The same path as Market-data API: GET /charts/history/manifest returns authorized references to immutable CDN chunks, then GET /charts/bars returns the unfinished tail.
The manifest returns at most eight CDN chunks. Fetch those URLs yourself, then fetch the tail with /charts/bars. The API does not merge candles.
to is Unix milliseconds and is required on both calls. History references are Get versioned chart history references. The tail is Get chart bars.
mergeCandles() in @agg-build/sdk is a client-side volume-weighted merge of candle objects the caller already has. It is not a chart API parameter, and the API does not merge candles.
Supported resolutions
The SDK takes the human-readable form and translates it. REST usesresolution. There is no interval parameter. Sending interval does not choose a bar size. Omit resolution and the call uses the default 5 (5 minutes). A resolution other than 1, 5, 60, or 1D is rejected.
Live orderbook and trade frames, if you draw a forming bar yourself, are on WebSocket Protocol. There is no midpoint channel.
Related
Market-data API
Manifest, tail, and the other market-data reads.
WebSocket Protocol
Orderbook and trade frames. No midpoint channel.
Real-Time Orderbook
Subscribe with
venueMarketOutcomeId.