4. Scoring Formulas (Mathematical Specification)
Variables are per stock unless noted. Percent-style inputs from IBD (e.g. Price_Change_Pct) are converted to decimals where noted.
4.1 Leader Score (Brokerage)¶
[ \text{Leader_Score} = (RS \times 0.6) + (EPS \times 0.2) + (ACC_Numeric \times 4) ]
RS, EPS: IBD RS Rating and EPS Rating (numeric).
ACC_Numeric: from ACC/DIS letter: A→5, B→4, C→3, D→2, E→1; missing/invalid → 3.
4.2 RS floor¶
RS_LEADER_FLOOR = 83 — equities with
RS_Rating< 83 are excluded from IRA/Brokerage watchlists (and Brokerage “LEADER” status uses this same floor).
4.3 CAPM required return¶
[ R_{\text{required}} = R_f + \beta \times MRP ]
(R_f): 10-year Treasury, live from ^TNX (see §5); fallback 0.043 (4.3%).
MRP: default 0.055 (5.5%).
β: yfinance
info['beta']; fallback 1.0.
4.4 Beta penalty¶
[ \text{Beta_Penalty} = \frac{1}{1 + \max(0,,\beta - 1.0)} ]
For (\beta \le 1), penalty = 1 (no reduction).
4.5 Risk-adjusted scores¶
[ \text{Risk_Adj_Leader_Score} = \text{Leader_Score} \times \text{Beta_Penalty} ]
[ \text{Risk_Adj_Score} = \text{Composite_Rating} \times \text{Beta_Penalty} \quad \text{(IRA)} ]
4.6 Alpha gap (CAPM)¶
[ \text{Alpha_Gap} = \text{Expected_Return} - R_{\text{required}} ]
Expected_Return (decimal): in ingest and growth flows, typically
Price_Change_Pct / 100. In portfolio_analyzer,Gain_Loss_Pct / 100(position P&L proxy vs cost).If either operand is NaN,
Alpha_Gapis NaN.
4.7 WACC (per stock, simplified)¶
[ \text{WACC} = \frac{E}{V} R_e + \frac{D}{V} R_d (1 - \tau) ]
(R_e): CAPM required return (same as §4.3).
(R_d): interest expense / total debt when both positive; else if debt > 0, proxy (R_f + 0.02); if no debt, 0.
E: market cap; D: total debt; V = E + D; τ = tax rate (default 0.21).
4.8 WACC spread (IRA quality)¶
[ \text{WACC_Spread} = \frac{\text{Annual_ROE}}{100} - \text{WACC_Stock} ]
Uses IBD Annual ROE when present; aligns with “economic profit” intuition (return on equity vs cost of capital).
4.9 Multi-list logic (IRA)¶
Multi_List = true if ticker appears in both BC20 and IBD50 merges.
Sort:
_multidescending (multi-list first), thenIBD_Rankascending.Note: There is no separate constant
MULTI_LIST_BONUS_PTSin code today—the “bonus” is ordering priority, not an additive points column. A numeric bonus could be added later for SaaS (see §12).
4.10 Default assumptions (summary)¶
| Parameter | Value |
|---|---|
| MRP | 5.5% (0.055) |
| Tax rate | 21% (0.21) |
| (R_f) fallback | 4.3% (0.043) |
| Beta fallback | 1.0 |
4.11 Valuation Score — Enhancement 10¶
The Gap in Pure Momentum Systems¶
Momentum signals tell you WHAT the market wants and WHEN institutions are buying. They do not tell you WHETHER the price is justified by the underlying business fundamentals.
A stock can have RS 99 and be 3x overvalued. A stock can have RS 60 and be deeply undervalued. Valuation bridges this gap.
PEG Ratio — Primary Valuation Tool¶
PEG = P/E Ratio divided by EPS Growth Rate
| PEG Range | Interpretation | Grade |
|---|---|---|
| Under 0.5 | Deeply undervalued for growth | A |
| 0.5-1.0 | Undervalued — growth not fully priced | B |
| 1.0-2.0 | Fair value — growth matches price | C |
| 2.0-3.0 | Premium — paying for expected growth | D |
| Above 3.0 | Expensive — priced to perfection | F |
Real examples from portfolio history:
SSRM: P/E 12 / growth 126% = PEG 0.095 (A — deeply cheap)
BKV: P/E 20 / growth 27% = PEG 0.74 (B — fair)
COKE: P/E 26 / growth 9% = PEG 2.89 (D — pricey)
NVDA: P/E 35 / growth 77% = PEG 0.45 (A — reasonable)
WACC Spread — Value Creation Signal (already in system)¶
WACC_Spread = Expected_Return minus WACC_Stock
Positive: company earning above cost of capital — creating shareholder value
Negative: company destroying shareholder value
Valuation Grade Scale¶
A: PEG under 1.0 + positive WACC spread
B: PEG 1.0-2.0 or positive WACC alone
C: PEG 2.0-3.0 neutral WACC
D: PEG above 3.0 or negative WACC
F: No earnings or deeply negative WACC
Pre-Earnings Run-Up Rule (added May 2026)¶
Stocks that run 10%+ in the 2 weeks before earnings often produce muted or negative reactions on earnings day regardless of how strong the beat is.
Mechanism: The run-up IS the market’s anticipation. When the beat arrives — profit-taking offsets new buying.
Conditions for priced-to-perfection (all five = muted likely):
Stock up 10%+ in 2 weeks before earnings
80%+ analyst consensus bullish
Whisper number above consensus estimate
Options pricing modest move (under 6%)
Contrarian analyst(s) cautious despite consensus
Real examples documented:
NVDA May 2026: beat revenue +7%, EPS +5.6% — muted. All five conditions present.
MRVL May 2026: prediction recorded May 21. All five conditions present. [Outcome recorded May 28]
EARNINGS_CATALYST signal downgrade:
IF stock up 10%+ in prior 2 weeks:
Downgrade to EARNINGS_CAUTION
Reaction likely muted regardless of beat
Consider waiting for post-earnings base
Apply to all three accounts.
4.12 Qualitative Analysis Framework — Enhancement 10¶
Five Elements of Qualitative Investment Analysis¶
Every compelling investment narrative contains:
THESIS: What kind of company is this REALLY? Not sector — what role does it play in the economy?
Example: NVDA is not a chip company — it is the computing substrate of the AI economy.
PROOF: What operational evidence validates the thesis? Not just revenue — what does the product actually DO?
Example: GE Aerospace 26% production lift on Palantir AIP. Navy ShipOS: 200 hours to 15 seconds approval time.
MOAT: Why can competitors not replicate this? Switching cost / network effect / IP / regulation.
Example: CUDA ecosystem — 4M+ developers writing AI code for NVDA. Switching means rewriting everything.
TRAJECTORY: Where is this in 3-5 years at scale? What is the next product cycle or demand inflection?
Example: Agentic AI inference > training over time. NVDA uniquely positioned for both.
MISPRICING: What is the market measuring incorrectly? What multiple framework should apply vs what does?
Example: Market prices NVDA as cyclical chip company. Should price as platform with software economics. 74.9% gross margin confirms software-like economics.
Thesis Type Classification (added to pre-buy template)¶
Before completing the pre-buy thesis, identify the thesis type:
Type A — Secular Growth:
Multi-year demand cycle supported by macro trend
Multiple quarters of external validation
Example: AMD — AI GPU demand, hyperscaler capex trend
Behavior: Sustains through corrections if thesis intact
Sell rule: Apply enhanced §16.15 — check macro first
Type B — Catalyst Event:
Single contract, product launch, or news event
One-time demand spike not recurring
Example: MRAM — $40M Navy contract drove spike
Behavior: Moves sharply then fades when priced in
Sell rule: Apply strictly at 8% — no enhanced hold
Type C — Macro Rotation:
Sector benefits from macro shift (rates, oil, policy)
Multiple names in same group move simultaneously
Example: Gold miners on Iran/Hormuz news
Behavior: Moves with macro — exits with macro
Sell rule: Apply strictly but watch for re-entry (§4.15 Type 2 watchlist)
Type B theses require tighter monitoring and faster exits.
Pre-Buy Thesis Template — MANDATORY¶
No position opened without completing this template. Written BEFORE the trade executes. If you cannot complete it — you cannot buy the stock.
---
TICKER: [X] | DATE: [X] | ACCOUNT: [IRA/Brokerage/Aggressive]
THESIS TYPE: [A / B / C]
A = Secular growth (multi-year, enhanced §16.15 on sell)
B = Catalyst event (strict 8%, tighter monitoring)
C = Macro rotation (strict 8%, re-entry watch if macro clears)
ONE-LINE THESIS:
I am buying [TICKER] because it is the [role] in [market]
and the market has not yet priced in [specific insight].
WHAT KIND OF COMPANY IS THIS REALLY?
OPERATIONAL EVIDENCE — WHY NOW? (3 specific proof points)
1.
2.
3.
THE MOAT — WHY CANNOT THIS BE REPLICATED?
QUANTITATIVE CONFIRMATION:
Composite: [X] (85+)
RS Rating: [X] (80+)
Acc/Dis: [X] (B+)
Beta: [X] (IRA under 1.5 / Aggressive any)
Entry Score: [X]/100 (60+)
From Pivot: [X]% (under 5%)
Base stage: [X] (Stage 1-2 preferred; 4+ = do not buy)
Volume ratio: [X]x (1.40x+ after 1pm)
Consecutive wks:[X] (2+)
PEG ratio: [X] (under 1.0 = undervalued)
WACC Spread: [X] (positive = value creation)
Valuation Grade:[A/B/C/D/F]
WHAT WOULD CHANGE MY MIND?
1. [specific fundamental deterioration]
2. [specific rating deterioration]
3. [specific macro change breaking thesis]
SELL RULE APPROACH (from thesis type):
Type A: Enhanced §16.15 — distinguish macro vs company-specific
Type B: Strict 8% — no enhanced hold; exit on first breach
Type C: Strict 8% — add to Thesis Intact Exits if macro-driven
ACCOUNT FIT AND SIZING:
Account: [X] reason: [tax/beta/strategy]
Shares: [X]
Cost: $[X]
Sell rule: $[X]
Max loss: $[X]
---4.13 Macro Tier Classification System¶
Overview¶
Not all entry-threshold failures are equal. The Tier system lets documented structural macro conditions relax CONTEXTUAL thresholds by one standard step — while preserving Category 1 rules absolutely.
Category 1 Rules — NEVER Flex¶
Acc/Dis D or E: close chart immediately
Stage 4+: do not buy
8% sell rule: always execute
IRA beta mandate: under 1.5 (retirement account protection)
Pre-buy thesis: always required
Tier 1 — Structural Monopoly or Oligopoly¶
Definition: Controls essential infrastructure with no viable substitute or competitor.
Examples:
ASML: only EUV lithography maker globally
MU: only US-listed HBM supplier, sold out through 2026
NVDA: only AI training platform at scale
Flexibility granted (with documented one-sentence proof):
Acc/Dis: B+ → B (one step)
Flexibility NOT granted:
IRA beta mandate
Stage 4+ prohibition
Acc/Dis D or E
Extension beyond 10% (no tier overrides this)
Tier 2 — Dominant Secular Leader¶
Best company in a strong growing industry. Standard checklist, no flexibility.
Examples: AMD, MRVL, CRDO, ARM, FLEX.
Tier 3 — Strong Momentum¶
High IBD ratings, strong base. Standard checklist, no flexibility.
Examples: COCO, OII, STRL, HEI.
Documentation Requirement¶
Tier 1 requires a one-sentence proof: “[Company] is the [monopoly/oligopoly] in [market] because [structural reason that cannot be replicated].” If you cannot write it in one sentence, it is not Tier 1. This prevents rationalization.
Applied Examples¶
ASML +6% from pivot: Tier 1 flex allows 7%, qualifies on price, but Acc/Dis B- (two steps from B+) blocked it.
MU +127%: Tier 1 confirmed, but +127% exceeds any flex. Wait for new base. Tier 1 earns a watchlist slot, not a rule bypass.
KLAC beta 1.79 for IRA: even Tier 1 does not override the IRA beta mandate. Aggressive account only.
4.14 Anomaly / Hypothesis Investing Framework (Aggressive Account)¶
Purpose¶
The momentum checklist measures trailing data (RS, base structure, pivot proximity). It systematically misses companies being structurally REPRICED faster than trailing data confirms. This framework provides a disciplined method for these outliers — distinct from momentum trading and from impulsive speculation.
Where It Lives¶
Aggressive account ONLY. Two sub-strategies:
Strategy A: Momentum (standard checklist + Tier 1 flex)
Strategy B: Anomaly (this framework)
Never in IRA or Brokerage.
Three Evidence Layers (all required)¶
Layer 1 — Structural Macro Catalyst: document what changed that trailing data misses; cite specific evidence (earnings, industry data).
Layer 2 — Smart Money Confirmation: 13F filings showing concentrated active managers accumulating.
Tier 1 funds (Berkshire, Coatue, Tiger, Pershing, Baupost, TCI, Lone Pine, Viking) weighted 2x
Tier 2 growth specialists (Baillie Gifford, ARK, Altimeter, Dragoneer, Whale Rock) weighted 1x
Index managers (Vanguard, BlackRock, State Street) EXCLUDED as signal
13F is 45-day delayed — fine for slow theses.
Layer 3 — Government/Strategic Signal (if applicable): CHIPS Act, Defense Production Act, strategic reserves.
The Falsifiable Hypothesis (mandatory)¶
State: “I believe [X] because [structural reason]. I will know I am WRONG if [specific measurable event].” If you cannot state what falsifies it, it is faith, not hypothesis — do not enter.
Guardrails¶
Paper first — test thesis-generation skill before real money
Smaller size — half a normal position (it is a bet)
Written falsification criteria
8% sell rule still applies — exit discipline absolute
Separate tracking — measure anomaly hit rate independently
Entry Timing Still Matters¶
The framework changes WHETHER to own, not WHEN to buy. A structural thesis does NOT excuse buying at an extended entry.
LESSON (MU, June 2026): entered as anomaly at +127% extended with Layer 1 only (Layer 2 pending). Macro pullback hit June 5; closed -16.6%. The structural thesis may still be true, but the extended entry had no margin of safety. Anomaly entries require Layer 1 AND Layer 2 confirmation AND a sane entry point.
4.15 Macro Interruption Filter — Enhancement 11¶
Overview¶
When a sell rule triggers, classify the exit type before executing to inform re-entry decisions. Two types of sell signals look identical in the moment but require different post-exit strategies.
Type 1 — Thesis Broken (Permanent Exit)¶
Indicators:
Company-specific bad news (earnings miss, guidance cut)
Acc/Dis drops in strong market week (no macro excuse)
RS deteriorates while peers in same sector hold up
Earnings surprise negative two consecutive quarters
Action: Permanent exit — do not re-enter without full thesis rebuild event (new CEO, new product)
Real examples:
UTHR: Acc/Dis D- + earnings -17% + weak sector. Continued to 566.
BKV: Acc/Dis E + RS 51 + Composite 53 — collapse. Every fundamental signal simultaneously failed.
Type 2 — Macro Interruption (Thesis Intact)¶
Indicators:
10-year yield spiked >20bps that week
Stock’s sector in bottom 10 IBD groups that week
Distribution days at 4+ on major indexes
Drop on LIGHT volume (<1.0x average)
Peers in same sector also declined (not company-specific)
Action: Execute sell rule (rules are rules). Add to Thesis Intact Exits watchlist. Monitor for re-entry when macro clears.
Real example:
DY: Acc/Dis B→D during rate spike + telecom sector rotation. Sold at 551 when macro cleared. Re-entry watch: Acc/Dis must recover to B+ first.
The Re-Entry Decision¶
Macro interruption exit → watch for:
Acc/Dis recovery to B+ or better
RS recovery above 80
Price within 5% of new pivot
All three required simultaneously for re-entry signal.
Thesis broken exit → no re-entry unless fundamental change in business (new management, new product cycle, strategic acquisition).
The Sell Rule Remains Inviolable¶
Regardless of classification — execute the sell rule. Classification only determines the post-exit watchlist. The rule protects capital. The classification guides whether to watch for re-entry.
See also §16.15 Enhanced Sell Rule Framework for volume context at the moment of the sell decision.
Conference Call Risk (from MRVL experiment May 2026)¶
When a stock reports earnings on a call — the stock price may react to two distinct information events:
Event 1: The headline numbers (EPS, revenue)
Event 2: The CEO explanation during the call
The gap between initial reaction and post-call settlement represents information asymmetry:
Retail buys/sells on headline numbers
Institutional analysts process CEO language details
Final price = institutional assessment
MRVL May 2026: 219 (numbers) → 206 (settle)
The 193 drop happened because:
Celestial AI EPS dilution $0.20/share confirmed
Insider selling at $186.80 revealed
Revenue recognition back-loaded to FY2028
Lesson: Price immediately after earnings ≠ final assessment. Wait for full call digest before re-assessing position.
4.16 Disciplined Discretion — Off-Method Trades¶
Distinct from §4.14 Anomaly Investing. Anomaly trades have trailing data that LAGS a structural repricing — the evidence layers still apply. Off-method trades have NO price history at all (fresh IPOs like EROC, SPCX) — the eight layers cannot be computed yet.
The Principle¶
An investor may take a position the method cannot yet evaluate ONLY under these constraints:
SMALL SIZE. Off-method positions are sized far smaller than method-confirmed entries. Conviction in a story does not earn size — only the method earns size.
THE METHOD MUST CATCH UP TO ADD. Increase ONLY when the ticker develops enough price history for the layers (RS, base, Acc/Dis, pivot) to be computed and to CONFIRM the thesis. Until then, small.
THE 8% RULE IS NON-NEGOTIABLE. Regardless of conviction, business thesis, or institutional demand, the 8% hard stop governs absolutely.
SEPARATE TRACKING. Off-method trades are logged and measured separately from system trades AND from anomaly trades, so the baseline measures the METHOD, not discretionary bets.
Why This Exists¶
Fresh IPOs have no price history — no layer can be computed. A rigid “never deviate” rule forbids participating in a compelling new business; an undisciplined “buy the story” approach bypasses every risk control. This principle allows participation while containing risk: small size limits damage, the 8% stop enforces exit discipline, and the requirement that the method confirm before adding ensures size is only ever earned by verifiable strength.
Worked Examples (W24, June 2026)¶
EROC: IPO, behind-the-meter data-center power thesis. 1 share (minimal). Gapped below 8% in 2 days; stopped out -25%. The stop worked exactly as designed — conviction did not override it.
SPCX: IPO (confirmed ticker per Yahoo Finance). Space-based data centers / satellite internet thesis. 10 shares (small). +19% on IPO momentum. Plan: hold for quarterly reports; add ONLY when the method can evaluate it. 8% rule governs.
Both small, both tracked separately. Neither is evidence about whether the 8-layer method works — they measure disciplined discretion, a distinct question.