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

Method index_by_stringified_numeric_id

python/ccxt/async_support/delta.py:633–645  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

631 return markets
632
633 def index_by_stringified_numeric_id(self, input):
634 result = {}
635 if input is None:
636 return None
637 keys = list(input.keys())
638 for i in range(0, len(keys)):
639 key = keys[i]
640 item = input[key]
641 numericIdString = self.safe_string(item, 'numericId')
642 if numericIdString is None:
643 continue
644 result[numericIdString] = item
645 return result
646
647 async def fetch_markets(self, params={}) -> List[Market]:
648 """

Callers 1

load_marketsMethod · 0.95

Calls 2

safe_stringMethod · 0.80
rangeFunction · 0.50

Tested by

no test coverage detected