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

Method load_account_settings

python/ccxt/pacifica.py:735–740  ·  view source on GitHub ↗
(self, refresh: bool = False, params={})

Source from the content-addressed store, hash-verified

733 return self.parse_account_settings(self.safe_list(response, 'data', []))
734
735 def load_account_settings(self, refresh: bool = False, params={}):
736 settings = self.handle_option('loadAccountSettings', 'settings', None)
737 if (settings is None) or (refresh is True):
738 self.options['settings'] = self.create_safe_dictionary()
739 settings = self.fetch_account_settings(params)
740 self.options['settings'] = settings
741
742 def parse_account_settings(self, settings: List[Any]) -> dict:
743 settingsLen = len(settings)

Callers 3

fetch_marketsMethod · 0.95
fetch_leverageMethod · 0.95
fetch_margin_modeMethod · 0.95

Calls 3

handle_optionMethod · 0.80

Tested by

no test coverage detected