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

Method load_trading_limits

python/ccxt/async_support/base/exchange.py:999–1007  ·  view source on GitHub ↗
(self, symbols: Strings = None, reload=False, params={})

Source from the content-addressed store, hash-verified

997 })
998
999 async def load_trading_limits(self, symbols: Strings = None, reload=False, params={}):
1000 if self.has['fetchTradingLimits']:
1001 if reload or not ('limitsLoaded' in self.options):
1002 response = await self.fetch_trading_limits(symbols)
1003 for i in range(0, len(symbols)):
1004 symbol = symbols[i]
1005 self.markets[symbol] = self.deep_extend(self.markets[symbol], response[symbol])
1006 self.options['limitsLoaded'] = self.milliseconds()
1007 return self.markets
1008
1009 async def fetch2(self, path, api: Any = 'public', method='GET', params={}, headers: Any = None, body: Any = None, config={}):
1010 if self.enableRateLimit:

Callers

nothing calls this directly

Calls 4

fetch_trading_limitsMethod · 0.95
deep_extendMethod · 0.95
millisecondsMethod · 0.95
rangeFunction · 0.50

Tested by

no test coverage detected