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

Method load_markets

python/ccxt/extended.py:345–350  ·  view source on GitHub ↗
(self, reload=False, params={})

Source from the content-addressed store, hash-verified

343 })
344
345 def load_markets(self, reload=False, params={}):
346 markets = super(extended, self).load_markets(reload, params)
347 currenciesByNumericId = self.safe_dict(self.options, 'currenciesByNumericId')
348 if (currenciesByNumericId is None) or reload:
349 self.options['currenciesByNumericId'] = self.index_by_stringified_numeric_id(self.currencies)
350 return markets
351
352 def index_by_stringified_numeric_id(self, input):
353 result = {}

Callers 15

fetch_tickerMethod · 0.95
fetch_tickersMethod · 0.95
fetch_order_bookMethod · 0.95
fetch_tradesMethod · 0.95
fetch_my_tradesMethod · 0.95
fetch_funding_historyMethod · 0.95
fetch_ohlcvMethod · 0.95
fetch_balanceMethod · 0.95
fetch_ledgerMethod · 0.95
fetch_transactionsMethod · 0.95

Calls 2

safe_dictMethod · 0.80

Tested by

no test coverage detected