def calculate_depth(
pos: int,
- min_depth: int = 6,
- max_depth: int = 26,
+ min_depth: int = 8,
+ max_depth: int = 28,
) -> int:
volatility_quantile = calculate_volatility_quantile(pos)
if np.isnan(volatility_quantile):
def calculate_min_slope_strength(
pos: int,
- min_strength: float = 0.4,
- max_strength: float = 1.8,
+ min_strength: float = 0.5,
+ max_strength: float = 1.7,
volatility_exponent: float = 1.5,
) -> float:
volatility_quantile = calculate_volatility_quantile(pos)
def calculate_depth(
pos: int,
- min_depth: int = 6,
- max_depth: int = 26,
+ min_depth: int = 8,
+ max_depth: int = 28,
) -> int:
volatility_quantile = calculate_volatility_quantile(pos)
if np.isnan(volatility_quantile):
def calculate_min_slope_strength(
pos: int,
- min_strength: float = 0.4,
- max_strength: float = 1.8,
+ min_strength: float = 0.5,
+ max_strength: float = 1.7,
volatility_exponent: float = 1.5,
) -> float:
volatility_quantile = calculate_volatility_quantile(pos)