def fetch_trading_fees(self, params={}):
    self.load_markets()
    response = self.privateGetFees(params)
    payload = self.safe_value(response, 'payload', {})
    fees = self.safe_value(payload, 'fees', [])
    result = {}
    for i in range(0, len(fees)):
        fee = fees[i]
        marketId = self.safe_string(fee, 'book')
        symbol = self.safe_symbol(marketId, None, '_')
        result[symbol] = {'info': fee, 'symbol': symbol, 'maker': self.safe_number(fee, 'maker_fee_decimal'), 'taker': self.safe_number(fee, 'taker_fee_decimal'), 'percentage': True, 'tierBased': True}
    return result
def fetch_trading_fees(self, params={}):
    self.load_markets()
    response = self.privateGetFees(params)
    payload = self.safe_value(response, 'payload', {})
    fees = self.safe_value(payload, 'fees', [])
    result = {}
    for i in range(0, len(fees)):
        fee = fees[i]
        marketId = self.safe_string(fee, 'book')
        symbol = self.safe_symbol(marketId, None, '_')
        result[symbol] = {'info': fee, 'symbol': symbol, 'maker': self.safe_number(fee, 'maker_fee_decimal'), 'taker': self.safe_number(fee, 'taker_fee_decimal'), 'percentage': True, 'tierBased': True}
    return result