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

Method update_spot_currency_code

python/ccxt/hyperliquid.py:1048–1052  ·  view source on GitHub ↗
(self, code: str)

Source from the content-addressed store, hash-verified

1046 })
1047
1048 def update_spot_currency_code(self, code: str) -> str:
1049 if code is None:
1050 return code
1051 spotCurrencyMapping = self.safe_dict(self.options, 'spotCurrencyMapping', {})
1052 return self.safe_string(spotCurrencyMapping, code, code)
1053
1054 def fetch_balance(self, params={}) -> Balances:
1055 """

Callers 1

fetch_balanceMethod · 0.95

Calls 2

safe_dictMethod · 0.80
safe_stringMethod · 0.80

Tested by

no test coverage detected