def parse_ohlcvs(self, ohlcvs, market=None, timeframe='1m', since=None, limit=None):
    ohlcvs = self.to_array(ohlcvs)
    num_ohlcvs = len(ohlcvs)
    result = []
    i = 0
    while (i < num_ohlcvs):
        if (limit and (len(result) >= limit)):
            break
        ohlcv = self.parse_ohlcv(ohlcvs[i], market, timeframe, since, limit)
        i = (i + 1)
        if (since and (ohlcv[0] < since)):
            continue
        result.append(ohlcv)
    return self.sort_by(result, 0)
def parse_ohlcvs(self, ohlcvs, market=None, timeframe='1m', since=None, limit=None):
    ohlcvs = self.to_array(ohlcvs)
    num_ohlcvs = len(ohlcvs)
    result = []
    i = 0
    while (i < num_ohlcvs):
        if (limit and (len(result) >= limit)):
            break
        ohlcv = self.parse_ohlcv(ohlcvs[i], market, timeframe, since, limit)
        i = (i + 1)
        if (since and (ohlcv[0] < since)):
            continue
        result.append(ohlcv)
    return self.sort_by(result, 0)