Why Macro Regime Matters
Congressional disclosures provide the signal — the trigger that tells the bot a high-conviction politician has made a trade worth following. But the signal alone doesn't determine position size. A purchase by a member of the Armed Services Committee is more interesting in a bull market than in the middle of a credit crisis. The macro regime layer exists to make the bot aware of that difference.
Without it, the bot would size positions identically whether the yield curve is deeply inverted, inflation is running at 7%, or unemployment is rising sharply. The regime filter applies a multiplier to every conviction score before capital is deployed, scaling exposure up in favorable conditions and pulling it back when the macro environment is deteriorating.
The Seven FRED Indicators
The bot queries the Federal Reserve Economic Data (FRED) API — a free, authoritative data source maintained by the St. Louis Fed — to retrieve seven series on each trading cycle. Each indicator contributes to a composite score that determines the current regime classification.
The seven indicators are: the Federal Funds effective rate (short-term borrowing cost), the 10-year minus 2-year Treasury yield spread (yield curve shape), the Consumer Price Index year-over-year change (inflation), the unemployment rate, the ISM Manufacturing PMI (industrial activity), the University of Michigan Consumer Sentiment Index, and the CBOE Volatility Index (VIX) as a real-time fear gauge.
Each series is fetched with a one-hour cache. FRED imposes rate limits on free-tier access, so the cache prevents redundant calls during intraday polling cycles while keeping the data fresh enough to catch regime shifts as they develop.
The Four Regimes
The composite score from the seven indicators maps to one of four named regimes, each with a corresponding position-sizing multiplier applied to every new trade.
BULL (1.2×) — Yield curve positive, inflation contained, unemployment low, sentiment high, VIX below 18. The bot sizes positions 20% larger than the Kelly baseline. Favorable conditions for following congressional disclosures aggressively.
NEUTRAL (1.0×) — Mixed signals. Some indicators positive, some softening. The bot uses unmodified Kelly sizing. This is the default state; both accounts are currently running at NEUTRAL.
CAUTION (0.75×) — Yield curve flattening or mildly inverted, inflation elevated, VIX rising above 20. The bot cuts position sizes to 75% of the Kelly baseline. Disclosures still trigger trades but at reduced scale.
BEAR (0.5×) — Yield curve deeply inverted, recession indicators present, VIX above 30, unemployment rising. The bot halves every position. The model still trades — congressional insiders continue to file disclosures regardless of market conditions — but capital deployment is heavily restricted.
How the Multiplier Is Applied
The conviction scoring model produces a raw score for each disclosure — a number that reflects the discloser's committee position, trade size, and historical track record. That score is first adjusted by the committee multiplier (Armed Services and Intelligence committees receive the highest premium), then multiplied by the regime factor before the Kelly sizing formula calculates share count.
The result is a position sizing system that is sensitive to both the quality of the political signal and the macroeconomic backdrop. A Pelosi buy scoring 95 in a BULL regime produces a meaningfully larger position than the same disclosure scoring 95 in a CAUTION regime — and that difference is intentional.
What Comes Next
Post 6 covers a question that comes up every time someone looks at the account summary for the first time: why is the balance lower than the amount deposited? The answer involves options math, margin accounting, and why paper losses in some positions are actually part of the plan.