10.4. Guardrails
Some limits belong to you, whatever the position. You may never want more than a certain share of your capital in one stock, whichever strategy that stock runs. Writing that limit into every strategy would repeat it many times, and risk missing one.
A guardrail is a rule that applies to every position under a strategy, at once. Guardrails are checked before a strategy's own exit rules, so a guardrail that fires takes precedence.
Open Plan → Rules. At the top, Global Rules (Guardrails) lists the rules that apply to every position. Choose + Add from Library to arm a rule from your library as a guardrail. Only Sell, Trim and Hold rules can be guardrails; Add belongs to a strategy.
Our example's guardrail trims any position above the maximum position threshold:
total_invested / capital * 100 > max_position_pct
with the reason Above my max position % of capital. With a 6% maximum and no position above 5% of the ₹50 lakh capital, it is quiet. A guardrail that stays quiet is doing its work: the limit has been kept.
Guardrails, like rules and strategies, belong to your account, so a guardrail applies across every portfolio you keep.
Last, let's set a strategy against the trades you actually made: your rules against your trades.