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

Method __init__

python/ccxt/async_support/base/exchange.py:79–89  ·  view source on GitHub ↗
(self, config: ConstructorArgs = {})

Source from the content-addressed store, hash-verified

77 timeout_on_exit = 250 # needed for: https://github.com/ccxt/ccxt/pull/23470
78
79 def __init__(self, config: ConstructorArgs = {}):
80 if 'asyncio_loop' in config:
81 self.asyncio_loop = config['asyncio_loop']
82 self.aiohttp_trust_env = config.get('aiohttp_trust_env', self.aiohttp_trust_env)
83 self.verify = config.get('verify', self.verify)
84 self.own_session = 'session' not in config
85 self.cafile = config.get('cafile', certifi.where())
86 self.throttler = None
87 super(Exchange, self).__init__(config)
88 self.markets_loading = None
89 self.reloading_markets = False
90
91 async def load_lighter_library(self, path, chainId, privateKey, apiKeyIndex, accountIndex, createClient):
92 return self.load_lighter_library_helper(path, chainId, privateKey, apiKeyIndex, accountIndex, createClient)

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected