API
For the API, the typical delay after a candle closes ranges from 0.3 to 2 minutes, depending on the instrument. This delay occurs due to the algorithm processing time required to collect tick data, form the candle, store it in the database, and perform other necessary operations.
WebSocket
If minimizing delay is critical, the WebSocket is the ideal choice, offering just a 170 ms delay and real-time tick-level updates.