

def sanitize_ohlc(open_, high, low, close):
    if (low > open_):
        low = open_
    if (low > close):
        low = close
    if (high < open_):
        high = open_
    if (high < close):
        high = close
    return (open_, open_, low, close)

dataset/ETHPy150Open gbeced/pyalgotrade/pyalgotrade/barfeed/common.py sanitize_ohlc/VarMisuse@76/89 `high`->`open_`