def fetch_fees(self):
    trading = {}
    funding = {}
    try:
        trading = self.fetch_trading_fees()
    except AuthenticationError:
        pass
    except AttributeError:
        pass
    try:
        funding = self.fetch_funding_fees()
    except AuthenticationError:
        pass
    except AttributeError:
        pass
    return {'trading': trading, 'funding': funding}
def fetch_fees(self):
    trading = {}
    funding = {}
    try:
        trading = self.fetch_trading_fees()
    except AuthenticationError:
        pass
    except AttributeError:
        pass
    try:
        funding = self.fetch_funding_fees()
    except AuthenticationError:
        pass
    except AttributeError:
        pass
    return {'trading': trading, 'funding': funding}