Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
def calculate_slopes_ok_threshold(
pos: int,
- min_threshold: float = 0.65,
- max_threshold: float = 0.85,
+ min_threshold: float = 0.75,
+ max_threshold: float = 0.95,
) -> float:
volatility_quantile = calculate_volatility_quantile(pos)
if np.isnan(volatility_quantile):
def calculate_slopes_ok_threshold(
pos: int,
- min_threshold: float = 0.65,
- max_threshold: float = 0.85,
+ min_threshold: float = 0.75,
+ max_threshold: float = 0.95,
) -> float:
volatility_quantile = calculate_volatility_quantile(pos)
if np.isnan(volatility_quantile):