Releases: HasibVortex369/riskkit
Releases · HasibVortex369/riskkit
Release list
v0.4.2 — reject inverted stops and targets
Fixed
Inverted stops (and targets) are now rejected. Two new validator checks — stop_on_protective_side fails any long whose stop sits at or above the entry (short: at or below), and target_on_profit_side fails a target on the losing side of the entry. Previously an inverted stop was silently sized via abs(entry − stop) and approved. Both checks run in PreTradeValidator.validate() and therefore in every RiskManager.evaluate() call; sizing and validation of correctly-oriented trades are unchanged.
Install: pip install riskkit-quant · Docs · Full changelog