chore: remove no longer used helper methods

This commit is contained in:
Matthias
2025-11-01 15:58:50 +01:00
parent 886c15a7fb
commit 97afb4a56a
2 changed files with 1 additions and 10 deletions

View File

@@ -71,15 +71,6 @@ class HyperOptAuto(IHyperOpt):
)
return []
def buy_indicator_space(self) -> list["Dimension"]:
return self.get_indicator_space("buy")
def sell_indicator_space(self) -> list["Dimension"]:
return self.get_indicator_space("sell")
def protection_space(self) -> list["Dimension"]:
return self.get_indicator_space("protection")
def generate_roi_table(self, params: dict) -> dict[int, float]:
return self._get_func("generate_roi_table")(params)

View File

@@ -231,7 +231,7 @@ class HyperOptimizer:
# Enable Protections if protection space is selected.
self.config["enable_protections"] = True
self.backtesting.enable_protections = True
self.spaces[space] = self.custom_hyperopt.protection_space()
self.spaces[space] = self.custom_hyperopt.get_indicator_space(space)
elif space == "roi":
self.spaces[space] = self.custom_hyperopt.roi_space()
elif space == "stoploss":