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

Method parse_account_settings

python/ccxt/pacifica.py:742–752  ·  view source on GitHub ↗
(self, settings: List[Any])

Source from the content-addressed store, hash-verified

740 self.options['settings'] = settings
741
742 def parse_account_settings(self, settings: List[Any]) -> dict:
743 settingsLen = len(settings)
744 if settingsLen == 0:
745 return {}
746 settingsBySymbol = {}
747 for i in range(0, len(settings)):
748 marketId = settings[i]['symbol']
749 market = self.safe_market(marketId)
750 symbol = market['symbol']
751 settingsBySymbol[symbol] = settings[i]
752 return settingsBySymbol
753
754 def fetch_margin_mode(self, symbol: str, params={}) -> MarginMode:
755 """

Callers 1

Calls 2

rangeFunction · 0.50
safe_marketMethod · 0.45

Tested by

no test coverage detected