EarningsScores System Workflow
What every source supplies, how the data is transformed, where it is stored and which product experience consumes it.
Website intelligence
The customer-facing earnings, market research and scoring path.
Market + company sources
Massive, Finnhub, FMP, Alpaca, Alpha Vantage, Polygon and FRED
Vercel API normalization
Earnings, results, ticker, news, technicals, fundamentals and economics routes
Intelligence engines
Pre-earnings score, reaction score, safety rules, reports and chat context
Website experiences
Dashboard, calendar, news, scorecards, technicals, fundamentals and reports
Continuous strategy research
The independent worker path that runs beyond Vercel request lifetimes.
Alpaca bars + movers
Minute history, rotating live IEX universe, protected open positions and extreme-mover discovery
Render strategy factory
Generates 100 ideas every hour, screens history and promotes candidates
Neon PostgreSQL
Bars, strategies, signals, rejected ideas, paper trades, cycles and daily results
Strategy Research Lab
Factory leaderboard, expectancy, live results, peak timing and fade studies
Paper decision and measurement
How a signal becomes a controlled experiment and a comparable result.
Qualified decision
Signal strength and exposure limits; one position per symbol
Risk controls
Hourly cap, position cap, ATR sizing, stops, targets and daily kill switch
Paper ledger
Internal simulated positions; optional Alpaca paper execution remains disabled
Accuracy + research
P&L, win rate, expectancy, drawdown, exit reasons and symbol attribution
Data ownership matrix
Primary identifies the preferred source; fallback and supplemental sources fill gaps or add context.
| System | What we derive | Used by | Role |
|---|---|---|---|
| Massive | Primary earnings calendar and reported results | /api/earnings · /api/results · alerts | Primary |
| Finnhub | Quotes, profiles, estimates, financial metrics and news | Scoring · fundamentals · ticker lookup · chat | Primary |
| FMP | Financial statements, profile and earnings fallbacks | Fundamentals · enrichment · news fallback | Fallback |
| Alpaca Market Data | IEX bars, snapshots, movers and live minute stream | Technicals · mover research · strategy worker | Primary |
| Alpha Vantage | Supplemental market and economic indicators | Six-layer earnings score | Supplemental |
| Polygon / Massive API | Options and previous-close context | Six-layer earnings score | Supplemental |
| FRED | Macro regime: rates, inflation, growth and sentiment | Economics · macro scoring layer | Supplemental |
| Anthropic | Earnings score, reaction, reports, chat and uploads | AI processing routes | Primary |
| Clerk | Accounts, sessions and private research access | Dashboard · strategy lab · private APIs | Control |
| Resend | Subscriber, score, weekly and feedback email | Scheduled alerts · feedback | Output |
What runs when
The website is request-driven; the research worker is continuous and state is persisted in Neon.
Builds and deploys the Next.js website and serverless APIs
Streams bars, discovers movers, generates ideas and manages paper positions
Creates 100 variants, historically screens them and promotes the strongest
Adds unusual 40%+ movers and backfills their minute history
Refreshes live research, paper positions and market information
Morning, score, audit and weekly email workflows
Next.js pages, serverless API normalization, Clerk middleware and scheduled routes.
Always-on market stream, mover discovery, strategy generation and simulated position management.
Durable bars, experiments, signals, rejections, trades and aggregate performance.
IEX market data, movers, account state and optional paper-order execution.