phase 17: fix scheduler config parsing, worker entry points, and seed data for Polygon sources

This commit is contained in:
Celes Renata
2026-04-12 02:45:37 -07:00
parent 1410d324b7
commit f2b9d6c00a
4 changed files with 70 additions and 42 deletions
+3 -3
View File
@@ -174,15 +174,15 @@
## Phase 17 - First Vertical Slice: Live Pipeline End-to-End
- [ ] 17. Activate the full data pipeline for a set of tracked symbols
- [ ] 17.1 Seed initial symbols and configure sources via the dashboard
- [-] 17. Activate the full data pipeline for a set of tracked symbols
- [x] 17.1 Seed initial symbols and configure sources via the dashboard
- Use the dashboard Companies page to add 5-10 symbols (e.g. AAPL, MSFT, GOOGL, AMZN, TSLA, NVDA, META, JPM, V, UNH)
- For each company, add sources via the Company Detail → Sources tab: one `market_api` source (Polygon), one `news_api` source, one `filings_api` source
- Configure source `config` JSON with the correct Polygon endpoint patterns per ticker
- Verify companies and sources appear in the dashboard and via `curl https://stonks-registry.celestium.life/companies`
- _Requirements: 1.1, 1.2, 1.3, 2.1_
- [ ] 17.2 Wire the scheduler to enqueue ingestion jobs for active sources
- [-] 17.2 Wire the scheduler to enqueue ingestion jobs for active sources
- Verify the scheduler service reads active companies and sources from PostgreSQL
- Verify it enqueues Redis jobs for each source on its polling interval
- Check scheduler logs: `kubectl logs -n stonks-oracle deployment/scheduler --tail=50`