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

Method initialize_client

python/ccxt/async_support/hyperliquid.py:1758–1763  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1756 return await self.privatePostExchange(request)
1757
1758 async def initialize_client(self):
1759 try:
1760 await asyncio.gather(*[self.handle_builder_fee_approval(), self.set_ref(), self.is_unified_enabled('fetchBalance', None, False, {})]) # for now only fetchBalance requires the unified knowledge, but we can self.extend self to other methods
1761 except Exception as e:
1762 return False
1763 return True
1764
1765 async def handle_builder_fee_approval(self):
1766 buildFee = self.safe_bool(self.options, 'builderFee', True)

Callers 7

fetch_currenciesMethod · 0.95
create_twap_orderMethod · 0.95
create_ordersMethod · 0.95
cancel_ordersMethod · 0.95
edit_ordersMethod · 0.95

Calls 3

set_refMethod · 0.95
is_unified_enabledMethod · 0.95

Tested by

no test coverage detected