def calculate_rate_limiter_cost(self, api, method, path, params, config={}, context={}):
    if (('noMarket' in config) and (not ('market' in params))):
        return config['noMarket']
    return self.safe_value(config, 'cost', 1)
def calculate_rate_limiter_cost(self, api, method, path, params, config={}, context={}):
    if (('noMarket' in config) and (not ('market' in params))):
        return config['noMarket']
    return self.safe_value(config, 'cost', 1)