| 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 = {} |