interview assignment · alva may 2026

Tracking themes through fear & greed.

a note from the author

I spent my first hours on this assignment studying every playbook on the Alva explore page. My initial idea was to build something around my thesis research — tracking how master investors like Buffett and Dalio construct public narratives and how those narratives diverge from their actual portfolios. But someone had already done it. And more honestly — for a working investor making daily decisions, narrative archaeology is fascinating but not immediately useful.

So I went back to what I know. Five years in asset management taught me that what investors want most isn't more analysis — it's a quick read on the room. The concept I kept returning to was fear and greed: a framework every investor already understands, with real transmission power. When I'm investing myself, this is the kind of indicator I'd actually check before doing anything else.

The other thing I noticed: the best playbooks on Alva are deeply personal — one person's strategy, one person's edge. That's the community's strength. But the Content Leader role isn't about being another individual voice. It's about building infrastructure that the community can stand on. So I chose a topic that is foundational rather than opinionated. A Fear & Greed Index doesn't say "buy this." It gives everyone a shared baseline. Individual creators can remix it, layer their own thesis on top, compare their theme's temperature against the market. The official account provides the radar; the community provides the interpretation.

I hope you enjoy exploring it as much as I enjoyed building it.

— Xiaohan

§ I  ·  the template

Every theme has a sentiment cycle.

This template provides a standardized framework to quantify where any investment theme sits in its cycle, using a composite Fear & Greed score (0–100) built from measurable sub-indicators.

The template operates on two layers:

Layer 1 — Market Baseline. Broad US equity risk appetite, benchmarked to the S&P 500. Six sub-indicators, equal-weighted (17/17/16/17/17/16), refreshed daily.

IndicatorMeasuresDirectionSource
VIXINV ↓Market-wide fear gaugeInverseMacro indices
Stocks vs Bonds (20d)SPY minus TLT 20-day return spreadDirectETF kline
Market MomentumS&P 500 vs 125-day MADirectMacro indices
Market BreadthS&P 500 vs 50-day MADirectMacro indices
Junk Bond DemandHYG vs LQD 20-day return spreadDirectETF kline
News SentimentBullish share of market-tagged articlesDirectNews widget

Layer 2 — Theme Module. Theme-specific sentiment from a customizable basket. Default lookback: 126 trading days; exception: Realized Vol uses a fixed 252-day window.

IndicatorMeasuresWeightSwap per theme
Basket Vol (60d)INV ↓Price stability of theme leaders12%Stock basket
Basket Momentum (20d)Equal-weighted basket 20-day return18%Stock basket
Theme ETF Rel Volume5d avg / 60d avg dollar volume15%Theme ETFs
Basket Avg RSI (14d)Mean RSI across basket10%Stock basket
EPS RevisionConsensus FY EPS delta vs prior snapshot12%Stock basket
News SentimentBullish share of theme-tagged articles13%Keywords
Social SentimentBull/bear classification via Grok X search20%Keywords

Scoring: Each raw value → percentile rank within trailing window → mapped to 0–100. Inverse indicators flipped so 100 always means greed.

0–25 Extreme Fear
25–45 Fear
45–55 Neutral
55–75 Greed
75–100 Extreme Greed

The divergence between layers is the actionable signal. Market greed + theme greed = beta-driven rally. Market neutral + theme greed = theme-specific overheating. Market fear + theme resilience = strong conviction.

To apply to a new theme: swap the basket, the ETFs, and the keywords. The scorer logic is reusable.
AI InfrastructureGLP-1 / ObesityNuclear
BasketNVDA, AMD, AVGO, TSM, ARM, MRVL, SMCI, ANETLLY, NVO, AMGN, VKTX, ALT, MDGLCCJ, LEU, SMR, UEC, OKLO
ETFsSMH, SOXXXBI, IBBURA, NLR
Keywords"AI infrastructure", "data center", "GPU""GLP-1", "obesity drug""nuclear energy", "SMR", "uranium"
§ II  ·  worked example

A live playbook, two layers deep.

Fear & Greed Index on Alva
Live data · daily refresh · v1.0 → v3.0.0 · 3 calibration fixes + sub-segment widget
US Market
74
Greed
1d +2.0 · 1w −8.2 · 1m +39.4
AI Infrastructure
65
Greed
AI trails market by 9 pts · 33% weight still collecting

The 1-month delta of +39.4 shows the market moved from Fear (~35) to Greed (74) in a single month. AI trails by 9 points — but this gap is likely overstated: News and Social Sentiment (33% combined weight) are still accumulating. AI is the most discussed theme on social media right now; once live, those indicators will likely push the AI composite toward 70–75.

Sub-indicator snapshot reveals structural tension:

Momentum 92
RSI 87
ETF Flow 68
Vol 19 INV
EPS 50
News
Social

Prices are rising strongly (92) but the ride is bumpy (Vol 19). Earnings revisions are flat (50). This divergence is exactly the insight a composite score alone would miss.

Sub-segment leadership reveals intra-theme rotation:

Market 74 + AI 65 + Memory 100 = late-cycle beta rally with intra-theme rotation, not broad overheating.

The headline 65 masks the fact that Memory is at extreme greed while Networking approaches fear. The AI theme hasn't cooled — it has fragmented.

§ III  ·  rationale

Design decisions.

Why two layers? Theme sentiment can't be interpreted in isolation. Market 80 + theme 80 = beta. Market 50 + theme 90 = overheating. Market 25 + theme 60 = conviction. The two-layer structure makes these distinctions visible.

Why these indicators? Three signal types: price/technical (what the market is doing), fundamental (whether earnings confirm it), and narrative (what people are saying). This avoids the trap of pure price indicators missing narrative shifts, and pure sentiment indicators missing fundamental reality.

What I left out: Qualitative bull/bear cases (this quantifies sentiment, not thesis). Individual stock picks (the basket is input, not output). Valuation models (fair value ≠ sentiment). Put/Call ratio (requires Pro tier). These are deliberate boundaries — the framework tells you where you are in the cycle, not what to do about it.

The framework's job is to tell you where you are in the cycle — not what to do about it.

Iteration history: v1.0 → v3.0.0. Three calibration fixes shipped during the build: gauge color palette, Flow z-score normalization (replaced binary percentile-rank with log-ratio logistic squash), and Vol lookback widened to 252d. Plus the sub-segment leadership widget — splitting the basket into Compute, Memory, Power, Networking by 20-day momentum.

What's next. Direction-adjusted volatility (high vol + up ≠ high vol + down). Full sub-segment composites once baskets have enough constituents for stable ranks. Sentiment backfill on Pro tier. Future indicator candidates: Polymarket odds, congressional trading signals, earnings call tone scoring, options skew.