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

Method set_positions_cache

python/ccxt/pro/hyperliquid.py:1162–1165  ·  view source on GitHub ↗
(self, client: Client, symbols: Strings = None)

Source from the content-addressed store, hash-verified

1160 return self.filter_by_symbols_since_limit(cache, symbols, since, limit, True)
1161
1162 def set_positions_cache(self, client: Client, symbols: Strings = None):
1163 if self.positions is not None:
1164 return
1165 self.positions = ArrayCacheBySymbolBySide()
1166
1167 def handle_positions(self, client, message):
1168 if self.positions is None:

Callers 1

watch_positionsMethod · 0.95

Calls 1

Tested by

no test coverage detected