OctoBot-Trading icon indicating copy to clipboard operation
OctoBot-Trading copied to clipboard

Difference between Kline and Candle (OHLCV)

Open vlastv opened this issue 4 years ago • 1 comments

I look in https://github.com/Drakkar-Software/OctoBot-Trading/tree/master/octobot_trading/exchange_data/kline and https://github.com/Drakkar-Software/OctoBot-Trading/tree/master/octobot_trading/exchange_data/ohlcv and do not understand the difference.

What is the difference between Kline and Candle (OHLCV)?

vlastv avatar Sep 21 '21 12:09 vlastv

Hi @vlastv, a Kline is the current candle, the one under construction. When its timeframe iteration is complete it becomes closed (added to the candles list) and a new one is created.

Herklos avatar Sep 21 '21 18:09 Herklos