MCPcopy Create free account
hub / github.com/ccxt/ccxt / get_supported_mapping

Method get_supported_mapping

python/ccxt/base/exchange.py:5819–5823  ·  view source on GitHub ↗
(self, key, mapping={})

Source from the content-addressed store, hash-verified

5817 return self.safe_value(fees, code)
5818
5819 def get_supported_mapping(self, key, mapping={}):
5820 if key in mapping:
5821 return mapping[key]
5822 else:
5823 raise NotSupported(self.id + ' ' + key + ' does not have a value in mapping')
5824
5825 def fetch_cross_borrow_rate(self, code: str, params={}):
5826 self.load_markets()

Callers 11

fetch_closed_ordersMethod · 0.80
fetch_closed_ordersMethod · 0.80
parse_ws_positionMethod · 0.80
watch_my_tradesMethod · 0.80
watch_balanceMethod · 0.80
handle_balanceMethod · 0.80
watch_positionsMethod · 0.80
watch_ordersMethod · 0.80
watch_ordersMethod · 0.80
watch_balanceMethod · 0.80

Calls 1

NotSupportedClass · 0.90

Tested by

no test coverage detected