Enum KlineIntervalType

java.lang.Object
java.lang.Enum<KlineIntervalType>
org.knowm.xchange.kucoin.dto.KlineIntervalType
All Implemented Interfaces:
Serializable, Comparable<KlineIntervalType>, java.lang.constant.Constable

public enum KlineIntervalType extends Enum<KlineIntervalType>
The Kucoin KlineInterval is similar to the Binance KlineInterval enum. This is used to convert back and forth between the string candlestick type patterns and durations in seconds for each type. The seconds property can be useful when doing time calculations for fetch periods.

The supported pattern types are: 1min, 3min, 5min, 15min, 30min, 1hour, 2hour, 4hour, 6hour, 8hour, 12hour, 1day, 1week

See https://docs.kucoin.com/#get-klines for more info kline fetch.