Gekko Forum
How candles work ? - Printable Version

+- Gekko Forum (https://forum.gekko.wizb.it)
+-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html)
+--- Forum: Technical Discussion (https://forum.gekko.wizb.it/forum-23.html)
+--- Thread: How candles work ? (/thread-57211.html)



How candles work ? - Greg L. - 05-24-2018

Hello folks,

Gekko stores one-minute candle in database, but I was wondering how it works for x-minute candles.
For example, if I want to get data on 15 minute candles, what records do I need ?
Is opening price at x and close price at x+15 minutes ?

Thanks !


RE: How candles work ? - Ballsy - 05-25-2018

You only need to change the candle size from 1 to "X".


RE: How candles work ? - askmike - 05-25-2018

Yes, Gekko will automatically calculate the candles you want on the fly. The good thing about candles is that it's easy to "calculate" 15min candles by taking 15 one minute candles.


RE: How candles work ? - Greg L. - 05-27-2018

Got it. Thanks !