mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-17 03:30:33 +00:00
fix: only validate HIP3 in futures mode
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user