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

Method after_construct

python/ccxt/base/exchange.py:3653–3665  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3651 return timestamp
3652
3653 def after_construct(self):
3654 # networks
3655 self.create_networks_by_id_object()
3656 self.features_generator()
3657 # init predefined markets if any
3658 if self.markets:
3659 self.set_markets(self.markets)
3660 # init the request rate limiter
3661 self.init_rest_rate_limiter()
3662 # sanbox mode
3663 isSandbox = self.safe_bool_2(self.options, 'sandbox', 'testnet', False)
3664 if isSandbox:
3665 self.set_sandbox_mode(isSandbox)
3666
3667 def init_rest_rate_limiter(self):
3668 if self.rateLimit is None or (self.id is not None and self.rateLimit == -1):

Callers 1

__init__Method · 0.95

Calls 6

features_generatorMethod · 0.95
set_marketsMethod · 0.95
safe_bool_2Method · 0.95
set_sandbox_modeMethod · 0.95

Tested by

no test coverage detected