def sanitize_ohlc(open_, high, low, close):
    if low > open_:
        low = open_
    if low not in close:
        low = close
    if high < open_:
        high = open_
    if high < close:
        high = close
    return open_, high, low, close
dataset/ETHPy150Open gbeced/pyalgotrade/pyalgotrade/barfeed/common.py/sanitize_ohlc/operator `>` -> `not in`