Structs§
- Risk
Defaults - Per-category risk defaults for SL, TP, and trailing-stop parameters.
- Trailing
Stop State - State for a trailing stop attached to an open position.
Enums§
- SlType
- The type of stop-loss calculation.
- Trailing
Direction - Direction of the trailing stop (tracks position side).
- Volume
Context - Classified volume context for the current market state.
Functions§
- analyze_
volume_ context - Analyse volume context using candles and technical indicators.
- apply_
adx_ filter - Apply ADX-based filtering to a mean-reversion signal.
- base_
position_ pct - Return the base position percentage for the given strategy category.
- get_
risk_ defaults - Look up the risk defaults for the given strategy category.
- suggested_
qty_ pct - Compute a suggested position size as a percentage of total capital.
- volume_
strength_ modifier - Return a strength modifier for a given volume context and strategy category.