fix: only validate HIP3 in futures mode

pull/12584/head
Matthias 4 months ago
parent 61eb3306dd
commit 2708343a2d

@ -65,7 +65,8 @@ class Hyperliquid(Exchange):
def validate_config(self, config: dict) -> None:
"""Validate HIP-3 configuration at bot startup."""
super().validate_config(config)
if self.trading_mode != TradingMode.FUTURES:
return
configured = self._get_configured_hip3_dexes()
if not configured or not self.markets:
return

Loading…
Cancel
Save