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

Method common_currency_code

python/ccxt/base/exchange.py:6677–6680  ·  view source on GitHub ↗
(self, code: str)

Source from the content-addressed store, hash-verified

6675 }
6676
6677 def common_currency_code(self, code: str):
6678 if not self.substituteCommonCurrencyCodes:
6679 return code
6680 return self.safe_string(self.commonCurrencies, code, code)
6681
6682 def currency(self, code: str):
6683 keys = list(self.currencies.keys())

Callers 6

market_codesMethod · 0.95
safe_currencyMethod · 0.95
parse_tradeMethod · 0.80
fetch_marketsMethod · 0.80
parse_tradeMethod · 0.80
fetch_marketsMethod · 0.80

Calls 1

safe_stringMethod · 0.95

Tested by

no test coverage detected