@sujith but if sometimes it taking time for database query to update last candle data then no need to send the wrong data. You can wait for 1 seconds only. I don't think that it will take more than 1 second to for previous candle update. And this is…