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

Method fetch_markets

python/ccxt/async_support/pacifica.py:418–428  ·  view source on GitHub ↗

retrieves data on all markets for pacifica :param dict [params]: extra parameters specific to the exchange API endpoint :returns dict[]: an array of objects representing market data

(self, params={})

Source from the content-addressed store, hash-verified

416 return True
417
418 async def fetch_markets(self, params={}) -> List[Market]:
419 """
420 retrieves data on all markets for pacifica
421 :param dict [params]: extra parameters specific to the exchange API endpoint
422 :returns dict[]: an array of objects representing market data
423 """
424 if self.check_required_credentials(False):
425 await self.initialize_client()
426 await self.load_account_settings()
427 swapMarkets = await self.fetch_swap_markets(params)
428 return swapMarkets
429
430 async def fetch_swap_markets(self, params={}) -> List[Market]:
431 """

Callers

nothing calls this directly

Calls 4

initialize_clientMethod · 0.95
load_account_settingsMethod · 0.95
fetch_swap_marketsMethod · 0.95

Tested by

no test coverage detected