mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 00:23:07 +00:00
chore: remove no longer used helper methods
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user