API latency (candles)
For the REST API, the typical delay after a candle closes is 0.3 to 2 minutes, depending on the instrument.
This delay comes from processing steps required to:
collect tick data
clean the data
build the candle
store it in the database
run other required operations
Example
If a 1-minute candle closes at 10:01:00, the completed candle may be available via the API around 10:01:18 to 10:03:00, depending on the instrument.
WebSocket latency (ticks)
If minimizing delay is critical, use WebSocket. WebSocket provides a delay of up to ~170 ms, depending on the instrument.
Read more
