Rules
The kernel checks every order against these 26 rules, in this order (operations and process first). Each rule has a grade: HARD blocks until the owner signs an override, SOFT warns once with the measured number, LOG records silently. The owner sets grades and caps in the mandate; the 4 floor rules are always HARD and cannot be regraded. Loosening a grade or a cap waits out the cooling-off. See the guide for how rules show up in the app and architecture for how the kernel runs.
| # | Rule | Family | Mandate key | Floor |
|---|---|---|---|---|
| 1 | L-OPS-HALT | operations | always HARD | |
| 2 | L-RESTRICTED | compliance | always HARD | |
| 3 | L-PROC-DEBATE | process | debate | |
| 4 | L-PROC-PREMORTEM | process | ||
| 5 | L-PROC-STALE | process | max_data_age_min | |
| 6 | L-LIVE-PRICE | process | always HARD | |
| 7 | L-LIVE-SIZE | exposure | live_max_order | |
| 8 | L-LOSS-DAILY | loss | daily_loss_pct | |
| 9 | L-LOSS-DD | loss | drawdown_pct | |
| 10 | L-CASH | exposure | always HARD | |
| 11 | L-SHORT-SINGLE | exposure | allow_short | |
| 12 | L-EXP-GROSS | exposure | gross_pct | |
| 13 | L-EXP-NET | exposure | net_pct | |
| 14 | L-CONC-NAME | concentration | name_pct | |
| 15 | L-LIQ-ADV | liquidity | adv_pct | |
| 16 | L-CONC-SECTOR | concentration | sector_pct | |
| 17 | L-CONC-COUNTRY | concentration | country_pct | |
| 18 | L-FX-CCY | fx | ccy_pct | |
| 19 | L-FACTOR-BETA | factor | beta_max | |
| 20 | L-EVENT-WINDOW | event | event_window_days | |
| 21 | L-EU-KID | compliance | ||
| 22 | L-PROC-COOLING | process | idea_cooling_sessions | |
| 23 | L-RUNG | process | live_min_rung | |
| 24 | L-STRESS-WORST | stress | stress_loss_pct | |
| 25 | L-CONC-COUNT | concentration | max_positions | |
| 26 | L-COST-WARN | cost | cost_warn_pct |
Operations
L-OPS-HALT
No active halt covers this order. Floor rule: always HARD.
- Measures: Whether a halt (kill switch, drawdown, reconciliation) covers the order.
- Why: A halt means something is wrong with the fund itself; no single order outranks that.
- Usual in practice: Always HARD everywhere. A halt is cleared by a person, never by an order.
Compliance
L-RESTRICTED
Instrument is not on the restricted list. Floor rule: always HARD.
- Measures: Whether the instrument is on the restricted list.
- Why: Some names must never be traded: inside information, a conflict, a legal hold.
- Usual in practice: Always HARD. Compliance lists are not graded anywhere.
L-EU-KID
A packaged product has a KID for a retail investor.
- Measures: Whether the instrument is a packaged retail product under PRIIPs (a fund, an ETF, a structured product) without a Key Information Document, ordered by an EU retail investor. Shares are not PRIIPs and always pass.
- Why: EU brokers may not sell a PRIIP to a retail investor without a KID; a US-domiciled ETF usually has none. The order would likely be refused at the broker, and the product lacks the standard cost and risk disclosure.
- Usual in practice: SOFT: a warning with the reason. An EU-domiciled UCITS share class with a KID usually tracks the same index.
Process
L-PROC-DEBATE
The view was debated before sizing. Set by the mandate key debate.
- Measures: Whether the view behind an order that adds risk went through the bear seats and the judge.
- Why: An idea that never met its strongest objection is sized on enthusiasm.
- Usual in practice: HARD. Investment committees do not size an idea nobody argued against.
L-PROC-PREMORTEM
A pre-mortem names how this fails and when to leave.
- Measures: Parts missing from the pre-mortem of an order that adds risk: three failure modes and an exit trigger dated today or later.
- Why: Imagining the position has already failed surfaces the reasons enthusiasm hides, and a dated exit decided in advance is harder to argue away later.
- Usual in practice: HARD, like the debate. Klein's pre-mortem is standard practice in investment committees and project reviews.
L-PROC-STALE
Price data is fresh. Set by the mandate key max_data_age_min.
- Measures: Minutes since the price the order was checked against.
- Why: Every other rule is computed from that price; a stale price makes them all wrong at once.
- Usual in practice: HARD, 30–60 minutes for a daily desk.
L-LIVE-PRICE
A live order is priced from a real feed. Floor rule: always HARD.
- Measures: Whether a real-money order was priced from a real market feed.
- Why: A synthetic or fallback price must never reach a broker.
- Usual in practice: Always HARD.
L-PROC-COOLING
The owner's idea has cooled before commitment. Set by the mandate key idea_cooling_sessions.
- Measures: Market sessions since the owner first submitted the idea, against the cooling-off.
- Why: Research on an idea is instant; commitment waits, because the most exciting ideas are the most expensive ones.
- Usual in practice: HARD, one session or more. An owner can override it only by a signed, reasoned override.
L-RUNG
The fund stands on the readiness rung live money needs. Set by the mandate key live_min_rung.
- Measures: The readiness rung measured from the Record (sessions, calibration, reconciliation, restore drill, rehearsal).
- Why: Real money waits until the evidence the ladder asks for exists.
- Usual in practice: HARD. A signed override is recorded and counted at review.
Exposure
L-LIVE-SIZE
The live order is inside the live order cap. Set by the mandate key live_max_order.
- Measures: Base-currency notional of a real-money order that adds risk.
- Why: Caps the damage of a mistake while real money is new to the fund.
- Usual in practice: HARD, starting small (1,000) and raised by signed change.
L-CASH
Cash covers the purchase (no leverage). Floor rule: always HARD.
- Measures: Cost of a purchase, fees included, against the cash available.
- Why: The fund does not borrow. A purchase cash cannot cover is leverage by accident.
- Usual in practice: Always HARD.
L-SHORT-SINGLE
No single-name short unless the mandate allows it. Set by the mandate key allow_short.
- Measures: Shares short in a single name after the order.
- Why: A short can lose more than it cost. It is allowed only when the owner signed for it.
- Usual in practice: HARD for a long-only fund.
L-EXP-GROSS
Gross exposure is inside the cap. Set by the mandate key gross_pct.
- Measures: Sum of long and short positions as a percentage of NAV.
- Why: Gross above 100% means borrowed money is at work.
- Usual in practice: HARD at 100% for long-only; long/short funds run 150–250%.
L-EXP-NET
Net exposure is inside the cap. Set by the mandate key net_pct.
- Measures: Longs minus shorts as a percentage of NAV.
- Why: Net exposure is the market bet the book is making.
- Usual in practice: SOFT. Long-only owners sit near 100%; long/short funds run 20–60%.
Loss
L-LOSS-DAILY
Daily loss is inside the halt level. Set by the mandate key daily_loss_pct.
- Measures: Today's loss as a percentage of NAV.
- Why: Stops adding risk on a crash day, when judgement is worst. Closing is always allowed.
- Usual in practice: HARD. Professional books stop at 1–3% of capital a day.
L-LOSS-DD
Drawdown is inside the halt level. Set by the mandate key drawdown_pct.
- Measures: How far NAV sits below its peak.
- Why: Decides whether the fund is still investing after a bad year. New risk halves at 75% of the limit and stops at 100%.
- Usual in practice: HARD. Multi-manager platforms cut a book at 5–10%; personal accounts choose 10–20%.
Concentration
L-CONC-NAME
Single name is inside the cap. Set by the mandate key name_pct.
- Measures: One position's weight after the order.
- Why: One company should not be able to decide the year.
- Usual in practice: HARD. 5% at professional funds, 8–10% for a concentrated book; UCITS caps at 10%.
L-CONC-SECTOR
Sector is inside the cap. Set by the mandate key sector_pct.
- Measures: Weight of the order's sector after the order.
- Why: Ideas cluster in one theme; one theme fails together.
- Usual in practice: SOFT. 25–35%; the MSCI World itself holds about a quarter in technology.
L-CONC-COUNTRY
Country is inside the cap. Set by the mandate key country_pct.
- Measures: Weight of the order's country after the order.
- Why: One regulator, one currency, one political cycle.
- Usual in practice: LOG by default: a home bias is common and is recorded rather than blocked. 50–70% typical.
L-CONC-COUNT
The book holds no more names than the mandate allows. Set by the mandate key max_positions.
- Measures: The number of distinct names the book would hold after an order that opens a new one.
- Why: Every position needs a thesis the owner can restate and a falsifier they check; past a point one person stops following them.
- Usual in practice: HARD, 8–15 names for a person managing alone. Adding to a name already held, trimming and closing are never counted.
Liquidity
L-LIQ-ADV
Order is a small share of daily volume. Set by the mandate key adv_pct.
- Measures: Order size as a percentage of the instrument's average daily volume.
- Why: Large orders move the price against you and are hard to leave in a hurry.
- Usual in practice: HARD. 1–5% of ADV professionally; 10–20% moves the price.
Fx
L-FX-CCY
Unhedged foreign currency is inside the cap. Set by the mandate key ccy_pct.
- Measures: Unhedged weight in the order's currency when it is not the base currency.
- Why: A currency move changes NAV with no stock moving.
- Usual in practice: SOFT, 30–50%.
Factor
L-FACTOR-BETA
Portfolio beta is inside the cap. Set by the mandate key beta_max.
- Measures: The book's sensitivity to the market after the order.
- Why: Beta says how much of a market fall the book takes: 1.3 means a 10% fall costs about 13%.
- Usual in practice: SOFT, 0.8–1.3.
Event
L-EVENT-WINDOW
No new entry just before a scheduled event. Set by the mandate key event_window_days.
- Measures: Scheduled events (earnings, dividends, meetings) the owner entered for this name within the window, counted in calendar days from today.
- Why: A dated event can move the price more in a day than the thesis expects in a month; entering just before it is a bet on the event, not the view.
- Usual in practice: SOFT, 2–5 days before earnings. Closing is always allowed.
Stress
L-STRESS-WORST
The worst stress scenario is inside the cap. Set by the mandate key stress_loss_pct.
- Measures: The largest loss, % NAV, the post-trade book shows across the day's scenarios: the worst benchmark days replayed, market −10%, volatility +20%, each sector −15%, currencies ±10%, a gap on the largest position, liquidity evaporating and a funding shock.
- Why: Caps and betas describe an average day; a stress says what the book loses on a bad one.
- Usual in practice: SOFT, 10–15% for a long-only equity book.
Cost
L-COST-WARN
Round-trip costs are a small share of the order. Set by the mandate key cost_warn_pct.
- Measures: The estimated fees to enter and later leave the position (twice the entry fee estimate), % of the order's notional.
- Why: Costs are the one certain part of a trade's return; on a small order a fixed fee can be the whole edge.
- Usual in practice: SOFT, about 3%. It bites on small orders, where the minimum commission is a large share.