From 9b08b51ad85eb5d328b564d356120fbdc55956ad Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 23 Apr 2025 19:40:03 +0200 Subject: [PATCH] chore: cleanup dead code --- freqtrade/strategy/parameters.py | 39 -------------------------------- 1 file changed, 39 deletions(-) diff --git a/freqtrade/strategy/parameters.py b/freqtrade/strategy/parameters.py index 31e1d075d..4072b8490 100644 --- a/freqtrade/strategy/parameters.py +++ b/freqtrade/strategy/parameters.py @@ -27,45 +27,6 @@ from freqtrade.exceptions import OperationalException logger = logging.getLogger(__name__) -# class DimensionProtocol(Protocol): -# name: str - - -# class ft_CategoricalDistribution(CategoricalDistribution): -# def __init__( -# self, -# name: str, -# categories: Sequence[Any], -# **kwargs, -# ): -# self.name = name -# return super().__init__(categories) - - -# class ft_IntDistribution(IntDistribution): -# def __init__( -# self, -# name: str, -# low: int | float, -# high: int | float, -# **kwargs, -# ): -# self.name = name -# return super().__init__(int(low), int(high), **kwargs) - - -# class ft_FloatDistribution(FloatDistribution): -# def __init__( -# self, -# name: str, -# low: float, -# high: float, -# **kwargs, -# ): -# self.name = name -# return super().__init__(low, high, **kwargs) - - class BaseParameter(ABC): """ Defines a parameter that can be optimized by hyperopt.