Market Data Vendor Readiness
This register keeps TradeMate's market-data architecture vendor-neutral. The MVP should use cache and ingested data first, Alpaca IEX for controlled provider fallback, and keep all provider-specific code behind adapters.
Current MVP Providers
| Provider | Role | Status | Notes |
|---|---|---|---|
| Alpaca Market Data | Primary MVP OHLCV/news/streaming adapter | Implemented | Use server-owned market-data keys. IEX is the safe MVP default; SIP only when the account/license allows it. |
| yfinance | Best-effort fallback | Implemented | Useful during MVP development only. Not a production SaaS redistribution feed. |
| FRED | Macro/economic series | Implemented | Specialized macro provider, not part of equity quote entitlement. |
| EDGAR | Public company fundamentals | Implemented | Public SEC data path for fundamentals. |
Later Production Candidates
| Provider | Viability | Best Use | Watch Item |
|---|---|---|---|
| Databento | Strong production candidate | Licensed normalized historical/intraday feeds with clean APIs | Confirm redistribution terms and per-user display rights before paid tiers rely on it. |
| IBKR Market Data | Useful founder/internal or bring-your-own-account path | Cheap personal/pro account data and broker-coupled workflows | Typically account-entitlement based; SaaS redistribution is a licensing conversation, not a simple shared-key setup. |
| dxFeed | Strong enterprise candidate | Production real-time equities/options feeds | Commercial licensing and redistribution costs. |
| Intrinio | Viable fundamentals/news/equities candidate | Fundamentals, estimates, normalized company data | Product and redistribution tier must match TradeMate's user tiers. |
| LSEG | Enterprise-grade long-term candidate | Broadest institutional coverage | Likely too heavy/expensive for MVP. |
| Polygon | Viable but cost-sensitive | US equities/options/websockets | Business pricing may be too high before revenue. |
Tier Policy
Free users should receive cache/DB-backed delayed or daily data only. Pro users can receive controlled provider fallback and larger batch/screener limits. Elite users are the only tier intended for licensed real-time streaming. Anonymous users should be blocked or limited to very small cached public responses.
Open Checkpoints
- Add final company-owned market-data credentials when TradeMate moves beyond founder/paper-key MVP usage.
- Confirm exact Alpaca market-data subscription/entitlements before enabling SIP or real-time display.
- Confirm production redistribution/display rights before any provider feeds free or paid user-facing market data at scale.
Verification
Phase 11 entitlement verification is covered by:
- API tests for
/market-data/access-policyand free-tier refresh denial. - DataRouter tests proving cache-only access blocks live provider fallback for price, fundamentals, economics, and news.
- Ingestion control tests proving provider usage and circuit-breaker telemetry
are visible through
/ingestion/control/status. - Alpaca stream tests proving stock/news fanout writes durable rows, updates latest-cache keys, and invalidates stale aggregates.