Congress Trading Monitor What it is A dashboard that tracks every stock trade disclosed by member...Congress Trading Monitor What it is A dashboard that tracks every stock trade disclosed by member...
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
Congress Trading Monitor
What it is A dashboard that tracks every stock trade disclosed by members of the U.S. Congress and senior executive-branch officials, cross-references it against real market prices, and runs two autonomous, AI-driven paper-trading engines that act on those signals — one on Trading 212 (stocks), one on Capital.com (leveraged CFDs on metals, oil, FX, and Nasdaq 100).
Components & how it works
Frontend — React (Vite) SPA styled with Tailwind CSS on top of a re-skinned GOV.UK Frontend component set (tables, tags, summary lists, breadcrumbs) for dense financial data; a custom "kit" library adds the buttons, nav bar, and data tables. Dark "terminal" theme by default, with a light mode toggle driven entirely by CSS custom properties.
Data pipeline — server-side scrapers (houseScraper.js, senateScraper.js) pull disclosures directly from the Clerk of the House, the Office of Government Ethics, and the Senate's eFD system, normalize them, and pre-render static per-filer and per-ticker JSON that the SPA fetches on demand.
Market data — Yahoo Finance and Financial Modeling Prep feed live prices, used to compute each disclosed trade's return and excess return vs. SPY from trade date to today.
AI decision layer — a thin proxy (server/ai.js) forwards prompts to the Anthropic Messages API; the model reasons over each disclosure plus live chart data to produce BUY/SELL/HOLD decisions with written rationale, which a human can review before (or instead of) letting the engine execute automatically.
Trading engines — two independent, mutually-exclusive loops (autoTradeLoop.js for Trading 212 stocks, capitalcomTradeLoop.js for Capital.com CFDs), each with its own risk sizing, stop-loss/take-profit tiers, trailing stops, and daily/weekly circuit breakers; both trade on demo/paper accounts only.
Everything else — a command palette (⌘K) for fast navigation, a follow/watchlist system for specific filers or tickers, and a chat page that lets you ask the AI questions directly over the underlying dataset.
Post image
Post image
Post image
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started