def get_ohlc(kline):
    """Creates open, high, low, close data from kline

    Arguments:
        kline {list} -- kline data

    Returns:
        list -- lists of open, high, low, close data
    """
    opn = [float(o[1]) for o in kline]
    close = [float(d[4]) for d in kline]
    high = [float(h[2]) for h in kline]
    low = [float(l[3]) for l in kline]

    return opn, high, low, close