https://github.com/sponsors/robcaulk
"""
- version = "3.7.62"
+ version = "3.7.63"
@cached_property
def _optuna_config(self) -> dict:
def calculate_min_slope_strength(
pos: int,
- min_strength: float = 0.9,
+ min_strength: float = 0.8,
max_strength: float = 1.6,
) -> float:
volatility_quantile = calculate_volatility_quantile(pos)
INTERFACE_VERSION = 3
def version(self) -> str:
- return "3.3.64"
+ return "3.3.65"
timeframe = "5m"
return self.freqai_info["feature_parameters"].get("label_period_candles", 50)
def set_label_period_candles(self, pair: str, label_period_candles: int):
- if label_period_candles and isinstance(label_period_candles, int):
+ if isinstance(label_period_candles, int):
self._label_params[pair]["label_period_candles"] = label_period_candles
def get_label_natr_ratio(self, pair: str) -> float:
)
def set_label_natr_ratio(self, pair: str, label_natr_ratio: float):
- if label_natr_ratio and isinstance(label_natr_ratio, float):
+ if isinstance(label_natr_ratio, float):
self._label_params[pair]["label_natr_ratio"] = label_natr_ratio
def get_entry_natr_ratio(self, pair: str) -> float:
def calculate_min_slope_strength(
pos: int,
- min_strength: float = 0.9,
+ min_strength: float = 0.8,
max_strength: float = 1.6,
) -> float:
volatility_quantile = calculate_volatility_quantile(pos)