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

Method initialize_client

python/ccxt/hyperliquid.py:1757–1762  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1755 return self.privatePostExchange(request)
1756
1757 def initialize_client(self):
1758 try:
1759 [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
1760 except Exception as e:
1761 return False
1762 return True
1763
1764 def handle_builder_fee_approval(self):
1765 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