def fetch_markets(self, params={}):
    response = self.wwwGet(params)
    parts = response.split('do=currencyPairSelector-selectCurrencyPair" class="active">')
    currencyParts = parts[1].split('<div class="currency-pair-label">')
    result = []
    for i in range(1, len(currencyParts)):
        currencyPart = currencyParts[i]
        idParts = currencyPart.split('</div>')
        id = idParts[0]
        id = id.replace('/', '-')
        id = id.lower()
        (baseId, quoteId) = id.split('-')
        base = baseId.upper()
        quote = quoteId.upper()
        base = self.safe_currency_code(base)
        quote = self.safe_currency_code(quote)
        symbol = ((base + '/') + quote)
        precision = {'amount': 8, 'price': 8}
        result.append({'id': id, 'symbol': symbol, 'base': base, 'quote': quote, 'baseId': baseId, 'quoteId': quoteId, 'info': id, 'active': True, 'precision': precision, 'limits': {'amount': {'min': math.pow(10, (- precision['amount'])), 'max': math.pow(10, precision['amount'])}, 'price': {'min': math.pow(10, (- precision['price'])), 'max': None}, 'cost': {'min': 0, 'max': None}}})
    return result
def fetch_markets(self, params={}):
    response = self.wwwGet(params)
    parts = response.split('do=currencyPairSelector-selectCurrencyPair" class="active">')
    currencyParts = parts[1].split('<div class="currency-pair-label">')
    result = []
    for i in range(1, len(currencyParts)):
        currencyPart = currencyParts[i]
        idParts = currencyPart.split('</div>')
        id = idParts[0]
        id = id.replace('/', '-')
        id = id.lower()
        (baseId, quoteId) = id.split('-')
        base = baseId.upper()
        quote = quoteId.upper()
        base = self.safe_currency_code(base)
        quote = self.safe_currency_code(quote)
        symbol = ((base + '/') + quote)
        precision = {'amount': 8, 'price': 8}
        result.append({'id': id, 'symbol': symbol, 'base': base, 'quote': quote, 'baseId': baseId, 'quoteId': quoteId, 'info': id, 'active': True, 'precision': precision, 'limits': {'amount': {'min': math.pow(10, (- precision['amount'])), 'max': math.pow(10, precision['amount'])}, 'price': {'min': math.pow(10, (- precision['price'])), 'max': None}, 'cost': {'min': 0, 'max': None}}})
    return result