def fetch_markets(self, params={}):
    types = self.safe_value(self.options, 'fetchMarkets')
    result = []
    for i in range(0, len(types)):
        markets = self.fetch_markets_by_type(types[i], params)
        result = self.array_concat(result, markets)
    return result
def fetch_markets(self, params={}):
    types = self.safe_value(self.options, 'fetchMarkets')
    result = []
    for i in range(0, len(types)):
        markets = self.fetch_markets_by_type(types[i], params)
        result = self.array_concat(result, markets)
    return result