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

Method load_markets

python/ccxt/delta.py:623–631  ·  view source on GitHub ↗
(self, reload=False, params={})

Source from the content-addressed store, hash-verified

621 })
622
623 def load_markets(self, reload=False, params={}):
624 markets = super(delta, self).load_markets(reload, params)
625 currenciesByNumericId = self.safe_dict(self.options, 'currenciesByNumericId')
626 if (currenciesByNumericId is None) or reload:
627 self.options['currenciesByNumericId'] = self.index_by_stringified_numeric_id(self.currencies)
628 marketsByNumericId = self.safe_dict(self.options, 'marketsByNumericId')
629 if (marketsByNumericId is None) or reload:
630 self.options['marketsByNumericId'] = self.index_by_stringified_numeric_id(self.markets)
631 return markets
632
633 def index_by_stringified_numeric_id(self, input):
634 result = {}

Callers 15

fetch_tickerMethod · 0.95
fetch_tickersMethod · 0.95
fetch_order_bookMethod · 0.95
fetch_tradesMethod · 0.95
fetch_ohlcvMethod · 0.95
fetch_balanceMethod · 0.95
fetch_positionMethod · 0.95
fetch_positionsMethod · 0.95
create_orderMethod · 0.95
edit_orderMethod · 0.95
cancel_orderMethod · 0.95
cancel_all_ordersMethod · 0.95

Calls 2

safe_dictMethod · 0.80

Tested by 2

mainFunction · 0.36
test_binanceFunction · 0.36