From bfe9aac16b4690f86fb4630a3172371f20db5130 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 28 Nov 2025 18:16:26 +0100 Subject: [PATCH] fix(hyperliquid): exclude HIP3 pairs for now part of #12558 --- freqtrade/exchange/hyperliquid.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/freqtrade/exchange/hyperliquid.py b/freqtrade/exchange/hyperliquid.py index 9dcc0e6a4..212505b72 100644 --- a/freqtrade/exchange/hyperliquid.py +++ b/freqtrade/exchange/hyperliquid.py @@ -3,6 +3,7 @@ import logging from copy import deepcopy from datetime import datetime +from typing import Any from freqtrade.constants import BuySell from freqtrade.enums import MarginMode, TradingMode @@ -56,6 +57,13 @@ class Hyperliquid(Exchange): config.update(super()._ccxt_config) return config + def market_is_tradable(self, market: dict[str, Any]) -> bool: + parent_check = super().market_is_tradable(market) + + # Exclude hip3 markets for now - which have the format XYZ:GOOGL/USDT:USDT - + # and XYZ:GOOGL as base + return parent_check and ":" not in market["base"] + def get_max_leverage(self, pair: str, stake_amount: float | None) -> float: # There are no leverage tiers if self.trading_mode == TradingMode.FUTURES: