Overview
Beyond Treasury yields, Whether ingests macro indicators to refine regime classification. These signals adjust the tightness and risk appetite scores when markets show stress beyond what the yield curve captures.Data Sources
Bureau of Labor Statistics (BLS)
Series ID:
CUUR0000SA0Endpoint: https://api.bls.gov/publicAPI/v2/timeseries/data/Calculation: Year-over-year percent changeUsage: Inflation pressure signalSeries ID:
LNS14000000Endpoint: https://api.bls.gov/publicAPI/v2/timeseries/data/Calculation: Latest monthly valueUsage: Labor market health signalFederal Reserve Economic Data (FRED)
Series ID:
BAA10YEndpoint: https://fred.stlouisfed.org/series/BAA10YDescription: Moody’s Baa Corporate Bond Yield relative to 10-Year TreasuryUsage: Investment-grade credit stress signalSeries ID:
BAMLH0A0HYM2Endpoint: https://fred.stlouisfed.org/series/BAMLH0A0HYM2Description: ICE BofA US High Yield Option-Adjusted SpreadUsage: Junk bond stress signal; triggers tightness adjustments when ≥4.5%Series ID:
NFCIEndpoint: https://fred.stlouisfed.org/series/NFCIDescription: Chicago Fed National Financial Conditions IndexUsage: Broad financial tightening signal; positive values add to tightnessSeries ID:
VIXCLSEndpoint: https://fred.stlouisfed.org/series/VIXCLSDescription: CBOE Volatility Index (closing value)Usage: Equity market fear gauge; reduces risk appetite when ≥20How Indicators Adjust Scores
Tightness Adjustments
Macro indicators can increase the tightness score when stress is detected:High-Yield Credit Spread
(5.5 - 4.5) * 6 = 6 points to tightness (capped at 15).
Chicago Financial Conditions Index
0.5 * 10 = 5 points to tightness (capped at 10).
Risk Appetite Adjustments
Macro indicators can reduce risk appetite when investor caution spikes:VIX Index
(30 - 20) * 1.5 = 15 points from risk appetite (capped at -20).
VC Funding Velocity
abs(-8 - (-5)) * 1.5 = 4.5 points (rounded to 5, capped at 10).
Tech Layoff Trend
(75 - 65) * 0.6 = 6 points from risk appetite (capped at -12).
Policy Assessment Scoring
Whether uses a subset of macro indicators for its Policy Spec v1 scoring system:Composite Tightness Score (CTS)
Combines base rate and BBB credit spread:- Base rate: 0.7
- BBB credit spread: 0.3
Composite Risk Appetite Score (RAS)
Combines curve slope and BBB credit spread:- Curve slope: 0.6
- BBB credit spread: 0.4 (inverted)
Z-Score Normalization
All signals are normalized to z-scores before weighting:"HIGHER_IS_TIGHTER": Positive z-score indicates tightening (e.g., base rate, BBB spread, CPI, unemployment)"HIGHER_IS_LOOSER": Positive z-score indicates loosening (e.g., curve slope)
Fetching and Caching
BLS API
Whether fetches BLS data via POST request:FRED CSV
Whether fetches FRED data via CSV endpoint:Fallback to Snapshot
If any live fetch fails, Whether falls back todata/macro_snapshot.json:
isLive: false and displays an “OFFLINE” badge in the UI.
Response Structure
Enum:
CPI_YOY | UNEMPLOYMENT_RATE | BBB_CREDIT_SPREAD | HY_CREDIT_SPREAD | CHICAGO_FCI | VIX_INDEX | ...Human-readable name (e.g., “CPI Year-over-Year”)
Latest value in the series
Enum:
% | bps | x | indexPlain-English description of what the indicator measures
Source attribution (e.g., “BLS public API”, “FRED”)
Link to the original data source
Link to documentation explaining the calculation
ISO date of the data point
ISO timestamp when Whether fetched the data
true if fetched from live API; false if using snapshotArray of
{ date: string, value: number | null } for time-series chartsBoundary Contributors
When macro adjustments push scores across regime boundaries, Whether tracks the contributors:Weak Read Warnings
Whether counts how many macro adjustments are active:Related
- Treasury Yields - Core yield curve data
- Data Provenance - Freshness and audit trails
- Regime Scoring - How all signals combine into regime classification