Skip to main content

Dataset Reference

This chapter is generated from the canonical platform doc, which lives in docs/ (single source of truth).

SBFoundation Domain & Dataset Reference

Last Updated: 2026-11-09 (F-533 / SBM-7 TASK-5946 — two SEC EDGAR datasets for delisting-reason confirmation: sec-form-index (quarterly full-index form.idx, Form 25 / 25-NSE rows only — the dead-name CIK source) and sec-submissions (per-filing submissions of each CIK the delist CIK match marks matched); keymap 72 → 74 entries, eow 58 → 60, SEC 2 → 4 datasets. The counts below also take in symbol-change (B-282.17 / TASK-5869, 2026-11-08), which was declared without a count bump: 71 → 72 entries, FMP 30 → 31.) Previously 2026-11-03 (F-531 / ACC-13 TASK-5797 — getdeploying-gpu-prices-weekly, the first getdeploying-source dataset (GetDeploying weekly GPU rental prices; Silver-only, read by the capital-cycle monitor’s I6 GPU leg); keymap 70 → 71 entries, eow 56 → 57, sources 6 → 7). Previously 2026-10-21 (B-082.1 / TASK-5040 — the four Quarter datasets are fetched under a FISCAL label SET rather than one calendar-season label; see the Quarter Domain fiscal-label bullet. No dataset added or removed and no declaration changed — keymap still 70 entries; the fix is entirely in QuarterBronzeIngester dispatch.) Previously 2026-10-20 (F-523 / ACC-3 TASK-4979 — sec-companyfacts, SEC XBRL companyfacts for the capital-cycle cohort, one long Silver table filtered to the governed config/capital_cycle/sec_tags.yaml whitelist; keymap 69 → 70 entries, eow 55 → 56, SEC 1 → 2 datasets). Previously 2026-10-20 (F-523 / ACC-3 TASK-4978 — sec-company-tickers, the first sec-source dataset (SEC EDGAR company_tickers.json, the ticker → CIK map the SEC companyfacts route resolves cohort tickers through); keymap 68 → 69 entries, eow 54 → 55, sources 5 → 6). Previously: 2026-10-15 (TASK-4767 — openrouter-model-prices and census-construction-data-center cadence RECONCILED with the DELIVERED series: the EOW date-walk’s bypass_run_days=True arm was dispatching every DateListPlan and SnapshotGatePlan recipe per planned Saturday, so census fetched against its own run_days: [sat] on 2026-10-12/10-13 and openrouter’s TASK-4614 cooldown fix went unexercised on those nights. Bypass narrowed to DateListPlan only. No declaration changed, no dataset added or removed, keymap still 68 entries). Previously: 2026-10-13 (TASK-4615 — openrouter-model-prices observed_date provenance CORRECTED: the Bronze coverage fallback was stamped from the machine-LOCAL calendar date (date.today()) while ingested_at is UTC, so a BST fetch in the 23:00–24:00 UTC band stamped a day AHEAD of its own run — measured on run 261009_aa2d71. Now read from the artifact’s own UTC now. Forward-only: no artifact or Silver row re-dated, no dataset added or removed, keymap still 68 entries). Previously 2026-10-13 (TASK-4614 — openrouter-model-prices min_age_days 1 → 0: the delivered history was ~1 of 7 calendar days, not the 5 of 7 TASK-4466 accepted, because RunRequest.canRun()’s cooldown arm compared <= against a COVERAGE GAP that is always 0 for a daily accumulator; both the operator (<) and the declaration (0) were required. No dataset added or removed, keymap still 68 entries; no captured observation re-dated). Previously 2026-10-07 (F-494 / ACC-1b TASK-4466 — openrouter-model-prices records its MEASURED cadence: daily config, 5 of 7 calendar days delivered, weekend observations accepted as permanently lost rather than chased with a weekend trigger; no dataset added or removed, keymap still 68 entries). Previously 2026-10-07 (F-494 / ACC-1b TASK-4453 — census-construction-data-center, the first census-source dataset (monthly Census C30 private data-center construction spending, from the auth-free privtime.xlsx workbook); keymap 67 → 68 entries, eow 53 → 54, sources 4 → 5). Previously 2026-10-07 (F-494 / ACC-1b TASK-4450 — openrouter-model-prices, the first openrouter-source dataset (daily OpenRouter model-price accumulator); keymap 66 → 67 entries, eow 52 → 53, sources 3 → 4). Previously 2026-10-07 (F-492 / ACC-2 TASK-4447 — three capital-cycle cohort datasets: quarterly revenue-product-segmentation, earnings-transcript-index, earnings-transcript; keymap 63 → 66 entries, eow 49 → 52, FMP 27 → 30). Previously 2026-08-30 (TASK-3649 / B-450.2 — grades gains lifecycle_scope: all, the first use of the new per-dataset symbol-lifecycle keymap key)

This document is the comprehensive reference for all data domains and datasets in SBFoundation. For API usage and pipeline operations, see docs/api-usage.md. For dataset configuration details, see config/dataset_keymap.yaml.


Domain Overview

SBFoundation ingests data across 5 domains containing 78 datasets from 7 sources (FMP, FRED, FINRA, OpenRouter, Census, SEC, GetDeploying). (Counts corrected against config/dataset_keymap.yaml on 2026-08-18 — the previous “4 domains / 54 datasets” wording predated the etf domain and the revenue-segmentation feeds; +4 FRED series for F-489 / TASK-4397 on 2026-10-04; +3 FMP capital-cycle cohort datasets for F-492 / ACC-2 on 2026-10-07; +1 OpenRouter model-price dataset and +1 Census construction-spending dataset for F-494 / ACC-1b on 2026-10-07; +2 SEC datasets (ticker → CIK map, XBRL companyfacts) for F-523 / ACC-3 on 2026-10-20; +1 GetDeploying dataset for F-531 / ACC-13 on 2026-11-03; +1 FMP symbol-change for B-282.17 on 2026-11-08; +2 SEC datasets (form index, submissions) for F-533 / SBM-7 on 2026-11-09; +4 FRED release-date datasets for F-554 / EC-4 on 2026-11-28.)

Domain Datasets Scope Description API Entry Point
eod 3 Mixed End-of-day prices and company profiles api.run_eod()
quarter 4 Global Quarterly financial statements and key metrics api.run_quarter()
annual 5 Global Annual financial statements, key metrics, and ratios api.run_annual()
eow 64 Mixed End-of-week: index constituents, macro indicators, FRED macro release dates (F-554), FX rates, stock splits, analyst estimates, analyst rating actions (grades, F-450), earnings surprises, revenue segmentation, capital-cycle cohort earnings transcripts (F-492), OpenRouter model prices (F-494, daily), Census data-center construction spending (F-494), SEC EDGAR ticker → CIK map + XBRL companyfacts (F-523), SEC EDGAR form index + submissions for delisting-reason confirmation (F-533), short interest api.run_eow()
etf 2 Per-ticker ETF reference data (info + holdings, F-343 / EU-2); folded into the EOW cadence bucket ingest-etf CLI

Execution order: eod → quarter → annual → eow

Data sources: - FMP (Financial Modeling Prep) — 31 datasets; requires FMP_API_KEY - FRED (Federal Reserve Economic Data) — 39 datasets; requires FRED_API_KEY - FINRA (Financial Industry Regulatory Authority) — 1 dataset; no API key required - OpenRouter (LLM model-routing marketplace, GET /api/v1/models) — 1 dataset; no API key required (F-494 / ACC-1b) - Census (U.S. Census Bureau, C30 construction-spending workbook construction/c30/xls/privtime.xlsx) — 1 dataset; no API key required (F-494 / ACC-1b) - SEC (U.S. Securities and Exchange Commission EDGAR APIs) — 4 datasets; no API key, but SEC Fair Access requires a contact-email User-Agent, read from the env var SB_SEC_USER_AGENT (unset or blank ⇒ no request is sent) (F-523 / ACC-3; F-533 / SBM-7)


EOD Domain (3 datasets)

End-of-day market data and company profiles. This is the primary daily-refresh domain.

Market Data

Dataset Scope Silver Table Key Columns Refresh API Path
eod-bulk-price global fmp_eod_bulk_price symbol, date Daily (1) eod-bulk
eod-price-history per_ticker fmp_eod_bulk_price symbol, date Daily (0) historical-price-eod/dividend-adjusted
  • eod-bulk-price: Daily bulk CSV of OHLCV + adjusted close for all instruments. Primary source for gold.fact_eod. At Gold promotion, OHLC columns are adjusted by the adj_close / close ratio so all prices are split- and dividend-adjusted.
  • eod-price-history: Per-ticker historical price backfill (deep-history backfill-eod-chunked + delisted survivorship backfill). Writes to the same Silver table as eod-bulk-price. B-147.6 (F-147): endpoint corrected from historical-price-eod/full (which returns no adjClose → NULL adj_close for ~28% of gold.fact_eod) to historical-price-eod/dividend-adjusted (returns adjOpen/adjHigh/adjLow/adjClose), mapped via the dedicated EodDividendAdjustedPriceDTO — adjClose populates both close and adj_close, so the rows are already-adjusted and identical to the bulk path through Gold’s back-adjustment math. B-147.9 (F-147): the keymap dto_schema api: keys are the projection authority for this adjusted endpoint. open/high/low/close declare api: adjOpen/adjHigh/adjLow/adjClose and adj_close declares api: adjClose (TASK-3881). The Silver path (DTOProjection._project_from_schema) does not read the DTO field metadata. Before that fix, about 8.95M adjusted rows (4,737 symbols) projected NULL open/high/low/close. The stored-row repair is the runbook’s B-147.9 section (TASK-3947). The normal nightly EOD pass still excludes it. Since B-448.12 it is also driven nightly by the Split Re-fetch pass (EodBronzeIngester._run_split_refetch), only for the tickers sbbronze.split_refetch_planner.plan_split_refetch lists: those with a new eod-bulk-price jump flag, or a split dated on or after 2026-01-01, later than their last promotable pull. Each listed ticker’s full history is pulled from 1980-01-01, at most 500 tickers a run, under kill switch SB_SPLIT_REFETCH_ENABLED. It is otherwise driven by the backfill/delisted commands. The entry declares silver_row_watermark: none (TASK-6543): without it, the per-(dataset, ticker) Silver row watermark would drop every old-dated row of a second pull for the same ticker.
  • Fields: symbol, date, open, high, low, close, adj_close, volume, data_quality_flag (F-086 — DTO-time severity-wins flag: non_positive_close (error) / non_positive_volume (warn) / ohlcv_corrected (info)). B-086.2: FMP ships no such field. The flag and the high/low repair are computed on promote in EodBulkPriceDTO.transform_df_content (repair_ohlc_frame), because a dto_schema promote never calls from_row(). The keymap column is declared derived: true, which exempts it from the B-356.2 empty-mapped-column warning (a batch with no OHLC violation leaves it legitimately empty).
  • Symbol filter: symbol_filter_col: symbol — only allowlisted instruments promoted to Silver
  • Calendar guard (B-448.6 / TASK-3874): both eod-bulk-price and eod-price-history declare calendar_guard: weekday_only — an optional keymap field (vocabulary: weekday_only; absent = no guard; an unknown value is rejected by DatasetKeymapEntry.from_payload). At Silver promotion SilverService._apply_calendar_guard drops every row whose row_date_col falls on a Saturday or Sunday, and quarantines the whole artifact (zero rows promoted, one WARNING) when its weekend-row fraction is ≥ sbsilver.settings.WEEKEND_ROW_QUARANTINE_FRACTION (0.05). Why: FMP’s historical-price-eod/dividend-adjusted endpoint returned WLL’s entire history shifted one calendar day early (878 Sunday bars), and the (symbol, date) MERGE turned that into overwrite + insert + stranded NULL-adj_close rows. Of 4,561 tickers compared across both endpoints, 4,545 are clean and 16 carry weekend bars. A shifted series mislabels its weekday rows too, which is why a payload over the threshold is refused rather than trimmed. US-holiday weekdays are deliberately not guarded (non-US listings trade on them). The stored-data repair is six deferred, approval-gated migrations under db/migrations/pending/20260911_101..106_*.sql.pending (operator TASK-3880). Detail → docs/sbfoundation-steps.md Step 3.
  • Quality thresholds (F-086 / TASK-313): eod-bulk-price carries an optional quality_thresholds block consumed by PriceDataQualityService during the factor phase. Defaults: flag_high_price_z=5.0, flag_high_volume_z=5.0, max_gap_business_days=5, and — TASK-3197 — adjacency_ratio_upper=4.0, adjacency_ratio_lower=0.25, adjacency_sub_cent_floor=0.01 for the fourth detector flag_adjacency_discontinuity (single-day adj_close discontinuity = vendor back-adjustment artifact; fires when the adjacent ratio falls outside [lower, upper], or when the prior close is sub-cent — below the $0.01 US minimum tick, hence an artifact denominator). TASK-3863 adds frozen_price_min_run_bars=21 for the fifth detector flag_frozen_price (an adj_close unchanged across >= N consecutive bars, one finding per streak; keyed on price rather than volume, since a frozen vendor series often carries real volume). Detect-only: neither detector mutates stored prices or gates a run. Override per-key in config/dataset_keymap.yaml; missing keys fall back to the service defaults. A key absent from sbsilver.settings.DEFAULT_QUALITY_THRESHOLDS is ignored by the resolver, so a new threshold must be added there first.
  • Documentation: FMP EOD Bulk | FMP Historical Price

Company Metadata

Dataset Scope Silver Table Key Columns Refresh API Path
company-profile-bulk global fmp_company_profile_bulk symbol Daily (1) profile-bulk
  • company-profile-bulk: Snapshot of all company profiles (name, exchange, sector, industry, country, market cap, IPO date, etc.). Paginated via part parameter. Feeds gold.dim_instrument, gold.dim_company, and the promotion allowlist.
  • Open operator follow-up (TASK-2677): on at least one observed run, FMP returned "Invalid or missing query parameter" for this recipe at part>=4 (an otherwise well-formed, unchanged-shape paginated request), and pages 1-3 also showed minor row-count shortfalls vs. the expected ~22,616 rows/page. BronzeService._process_paginated_recipe now retries this specific error (bounded, same backoff as the existing 429/502/503/504 classes) and, if the retry budget is exhausted, records it as a genuine Bronze failure (logged at ERROR with the raw FMP body, and surfaced on the ingest_bronze sidecar’s per-domain failed_pages alert) instead of the pre-fix behavior of silently treating it as end-of-pagination — but the root cause on FMP’s side (transient bulk-endpoint glitch vs. a durable part-parameter validation bug beyond some threshold) has not been confirmed with FMP support. An automated agent cannot open a support ticket; a human operator should verify the part parameter’s documented behavior for profile-bulk against FMP’s current API docs/support (see help_url above) and confirm whether the page>=4 failure recurs across the next several nightly runs (also tracked as Tier-4-pending on TASK-2677).
  • is_etf allowlist semantics (F-247 / EU-1): the bulk feed carries is_etf per row; InvestableUniverseService.rebuild() writes it onto every silver.fmp_promotion_allowlist row (allowed and rejected). With sbuniverse.settings.ALLOW_ETFS=False (the default, env SB_ALLOW_ETFS) ETFs reject with rejection_reason='ETF_FLAG', byte-identical to today; with ALLOW_ETFS=True the ETF arm is skipped so ETFs land is_allowed=TRUE and flow Silver→Gold (the funds / mutual-fund 5X / warrant / preferred / ADR / rights arms are untouched). Downstream surfaces partition by is_etf — the equity research _SPINE + StrategyUniverseService + UniverseRepo.get_filtered_tickers re-exclude ETFs so the equity factor cross-section stays equity-only (TASK-1903), and the F-247 / TASK-1904 EtfFactorIcService scores the 7 price factors against instrument_class="etf" only.
  • Documentation: FMP Profile Bulk

Quarter Domain (4 datasets)

Quarterly financial statements and key metrics ingested as global bulk CSVs. One file per quarter covers all allowlisted instruments.

Dataset Silver Table Key Columns Refresh API Path
income-statement-bulk-quarter fmp_income_statement_bulk_quarter symbol, period, calendar_year Daily (1) income-statement-bulk?period=quarter
balance-sheet-bulk-quarter fmp_balance_sheet_bulk_quarter symbol, period, calendar_year Daily (1) balance-sheet-statement-bulk?period=quarter
cashflow-bulk-quarter fmp_cashflow_bulk_quarter symbol, period, calendar_year Daily (1) cash-flow-statement-bulk?period=quarter
key-metrics-bulk-quarter fmp_key_metrics_bulk_quarter symbol, period, calendar_year Daily (1) key-metrics-bulk?period=quarter

Bulk fundamental cooldown (TASK-6599): every FMP bulk fundamental entry in the quarter and annual domains declares min_age_days: 1, so the nightly re-fetches each open fiscal label on its run day while companies keep filing (and only inside the earnings season, QuarterBronzeIngester.is_earnings_season / AnnualBronzeIngester.is_annual_season). key-metrics-bulk-quarter (90) and key-metrics-bulk-annual / ratios-bulk-annual (365) used to drift. Because the cooldown is per dataset, not per label, each fiscal label froze at its early filers: key-metrics 2026 Q3 held 9,530 symbols against cashflow’s 30,990 (TASK-6598). Pinned by tests/unit/sbcontracts/test_task6599_bulk_fundamental_cadence.py.

Quarter bulk entries exempt from the Silver row watermark (B-082.4 / TASK-6119): income-statement-bulk-quarter, balance-sheet-bulk-quarter, cashflow-bulk-quarter and key-metrics-bulk-quarter all declare silver_row_watermark: none. A quarter file is keyed by fiscal label and its period-end dates are not monotone in fetch order, so a label recovered late (balance-sheet 2026 Q4: 593 allowlisted rows, 2 landed) sat at or below the watermark and was dropped uncounted. Pinned by tests/unit/sbcontracts/test_b082_4_quarter_row_watermark_exempt.py (every domain: quarter entry). The untargeted promote still skips already-promoted files and the MERGE on key_cols is idempotent; rows already lost need an operator re-promote.

  • Gold table: gold.fact_quarter — one row per (instrument_sk, period_date_sk, period). Built from income + balance sheet + cashflow via optional LEFT JOINs.
  • Key fields — income: revenue, gross_profit, operating_income, net_income, ebitda, eps, eps_diluted, interest_expense, depreciation_and_amortization, weighted_average_shs_out, weighted_average_shs_out_diluted; filing stamp (F-534 / TASK-5948): filing_date (filingDate), accepted_date (acceptedDate, naive timestamp as delivered)
  • Key fields — balance sheet: total_assets, total_liabilities, total_stockholders_equity, cash_and_cash_equivalents, long_term_debt, net_debt, goodwill_and_intangible_assets, retained_earnings; quarterly only (F-489 / ACC-1): capital_lease_obligations (capitalLeaseObligations), capital_lease_obligations_current (capitalLeaseObligationsCurrent), capital_lease_obligations_non_current (capitalLeaseObligationsNonCurrent), property_plant_equipment_net (propertyPlantEquipmentNet), filing_date (filingDate), accepted_date (acceptedDate, naive timestamp as delivered)
  • Key fields — cashflow: operating_cash_flow, capital_expenditure, free_cash_flow, dividends_paid, common_stock_repurchased; quarterly only (F-489 / ACC-1): depreciation_and_amortization (depreciationAndAmortization), interest_paid (interestPaid), filing_date (filingDate), accepted_date (acceptedDate)
  • ⚠ A 0 in the F-489 columns is not a measurement. FMP writes 0 where a value is unreported. Measured 2026-10-04 on the newest quarterly Bronze files (9,172 balance-sheet / 8,962 cash-flow rows): interestPaid 0 on 95.0% of rows (MSFT and ORCL included), capitalLeaseObligationsCurrent 89.8%, capitalLeaseObligationsNonCurrent 77.6%, capitalLeaseObligations 76.8%, depreciationAndAmortization 68.0%, propertyPlantEquipmentNet 54.5%. Silver stores the value verbatim; a consumer must not read it as a measured zero. The annual tables do not carry these columns.
  • Key fields — metrics: roic, invested_capital, capex_to_ocf, ev_to_ebitda, days_sales_outstanding, days_payables_outstanding, days_inventory
  • Symbol filter: All use symbol_filter_col: symbol
  • Row-level quality flag (F-086 / TASK-307+TASK-310): fmp_balance_sheet_bulk_quarter and fmp_income_statement_bulk_quarter each gain a nullable data_quality_flag VARCHAR column. DTOs stamp balance_sheet_identity_violation (severity warn) when |total_assets - (total_liabilities + total_stockholders_equity)| / |total_assets| > 0.05, and net_income_exceeds_revenue (severity warn) when revenue > 0 AND net_income > revenue. Each fired flag also lands a row in ops.silver_anomaly.
  • Season gate: QuarterService skips runs outside earnings windows unless year+period are provided explicitly.
  • ⚠ Fiscal-label fetch set (B-082.1): these files are keyed by fiscal year/period, and FMP names a fiscal year for the calendar year it ends in (MSFT, FYE June, period-end 2026-03-31 → 2026 Q3; NVDA, FYE January, 2025-10-26 → 2026 Q3; ORCL, FYE May, 2026-02-28 → 2026 Q3). The earnings-season gate derives a calendar label, so the two coincide only for a December-FYE filer — before B-082.1 every other filer’s quarter reached Bronze only when the calendar season matching its fiscal label came round, up to a year late (measured: 1,288 of 1,674 non-December-FYE filers, 77%, carried no quarter row after 2026-04-30). Each in-season run now requests the primary calendar-season label on the normal cadence path, then up to five additional fiscal labels — every label a period-end in the trailing sbbronze.settings.QUARTER_FISCAL_LABEL_WINDOW_MONTHS (6) months could carry — on a second force pass, gated on that dataset’s primary request having actually fetched (the force arm bypasses both the same-day dedupe, which carries no year/period and would otherwise score the extra labels duplicate, and the run-day gate, so the primary’s verdict is the extra labels’ only cadence gate). backfill-quarter does not fan out and stays the route for history older than that window. Watermark bound (B-082.3): a vendor-misdated row (period end after the fetch date, e.g. 3463.T 2026 Q2 dated 2027-01-31) sets coverage_to in the future; the cadence watermark is therefore bounded at min(MAX(coverage_to) + 1, last_ingestion_date + 1 day), so such a row can no longer freeze the primary request (and with it the fan-out) behind a negative coverage gap. The catalog keeps the vendor’s coverage_to as fetched. No keymap entry, cadence or min_age_days declaration changed. See sbfoundation-steps.md § Quarter.
  • Documentation: FMP Financial Statements Bulk | FMP Key Metrics Bulk

Annual Domain (5 datasets)

Annual (FY) financial statements, key metrics, and ratios. Same bulk CSV pattern as quarterly.

Dataset Silver Table Key Columns Refresh API Path
income-statement-bulk-annual fmp_income_statement_bulk_annual symbol, calendar_year Monday (1) income-statement-bulk?period=FY
balance-sheet-bulk-annual fmp_balance_sheet_bulk_annual symbol, calendar_year Tuesday (1) balance-sheet-statement-bulk?period=FY
cashflow-bulk-annual fmp_cashflow_bulk_annual symbol, calendar_year Wednesday (1) cash-flow-statement-bulk?period=FY
key-metrics-bulk-annual fmp_key_metrics_bulk_annual symbol, calendar_year Thursday (1) key-metrics-bulk?period=FY
ratios-bulk-annual fmp_ratios_bulk_annual symbol, calendar_year Friday (1) ratios-bulk?period=FY
  • Gold table: gold.fact_annual — one row per (instrument_sk, period_date_sk). Merged from income + balance sheet + cashflow + key metrics + ratios via optional LEFT JOINs.
  • Key fields — income: revenue, gross_profit, operating_income, net_income, ebitda, eps, eps_diluted, interest_expense, depreciation_and_amortization, weighted_average_shs_out, weighted_average_shs_out_diluted; filing stamp (F-534 / TASK-5948): filing_date (filingDate), accepted_date (acceptedDate, naive timestamp as delivered)
  • Key fields — balance sheet: total_assets, total_liabilities, total_stockholders_equity, cash_and_cash_equivalents, long_term_debt, net_debt, goodwill_and_intangible_assets, retained_earnings; filing stamp (F-534 / TASK-5948): filing_date (filingDate), accepted_date (acceptedDate, naive timestamp as delivered)
  • Key fields — cashflow: operating_cash_flow, capital_expenditure, free_cash_flow, dividends_paid, common_stock_repurchased; filing stamp (F-534 / TASK-5948): filing_date (filingDate), accepted_date (acceptedDate, naive timestamp as delivered)
  • Key fields — ratios: gross_profit_margin, operating_profit_margin, net_profit_margin, effective_tax_rate, debt_ratio, interest_coverage
  • Symbol filter: All use symbol_filter_col: symbol
  • Row-level quality flag (F-086 / TASK-307+TASK-310): fmp_balance_sheet_bulk_annual and fmp_income_statement_bulk_annual each gain a nullable data_quality_flag VARCHAR column. Same detectors as the quarter variants — balance_sheet_identity_violation (warn) and net_income_exceeds_revenue (warn) — with each fired flag also landing a row in ops.silver_anomaly.
  • Season gate: AnnualService skips runs outside Jan–Mar unless year is provided explicitly.
  • Documentation: FMP Financial Statements Bulk | FMP Key Metrics Bulk | FMP Ratios Bulk

EOW Domain (64 datasets)

End-of-week data: index constituent history, macro indicators, FX rates, company delisted list, mergers & acquisitions, stock splits, analyst estimates, analyst rating actions (grades, F-450), earnings surprises, revenue segmentation, OpenRouter model prices (daily — see below), Census data-center construction spending (monthly series, weekly refetch — see below), and FINRA equity short interest. Keymap default cadence is run_days: [sat]; since F-356 (EU-6) the weekly deep run (Friday NIGHTLY_FULL, or an ad-hoc --research-mode nightly-full) force-refreshes the whole bucket by bypassing that weekday gate (force_weekly=True → bypass_run_days=True). ⚠ That flag bypasses the min_age_days floor as well — the earlier claim here, “with min_age_days still gating”, was false and is corrected by B-102.1: BronzeService._process_run_request nulls the ingestion watermark under the flag, so decide_cadence can never return too_soon. Plain Mon–Thu NIGHTLY stays cadence-gated, and since B-102.1 that is true per plan variant: the weekday EOW branch hands the bypass only to date_list / snapshot recipes (the FRED series the EOW date-walk exists to gap-fill), while the seven symbol_list per-ticker datasets (analyst-estimates ×2, earnings-surprises, grades, revenue-product-segmentation, revenue-geographic-segmentation, stock-split) resolve their own declared run_days / min_age_days. Before that fix a permanently-unsatisfiable FRED anchor put the whole domain on the bypass branch every Monday and Tuesday, re-fetching all seven nightly. Bronze-only task: ingest_bronze_eow_task; Silver promotion: promote_silver_eow_task.

Index Constituent History

Dataset Silver Table Key Columns Refresh API Path
sp500-constituent-history fmp_sp500_constituent_history symbol, date_of_change Weekly (7, Sat) historical-sp500-constituent
nasdaq100-constituent-history fmp_nasdaq100_constituent_history symbol, date_of_change Weekly (7, Sat) historical-nasdaq-constituent
djia-constituent-history fmp_djia_constituent_history symbol, date_of_change Weekly (7, Sat) historical-dowjones-constituent
  • Gold table: gold.fact_index_constituent — one row per (index_sk, instrument_sk, effective_from). effective_to = NULL means still a member. Built by GoldIndexService by replaying Silver change-log tables.
  • Fields: symbol, date_of_change, added_security, removed_ticker, removed_security, reason
  • No symbol filter — index constituent data includes removed tickers by design.
  • Reliable from: SP500 Oct 2008; NASDAQ100 Jan 1995; DJIA Jan 1994.
  • Documentation: FMP SP500 | FMP NASDAQ | FMP DJIA

Company Metadata (EOW)

Dataset Scope Silver Table Key Columns Refresh API Path
company-delisted global fmp_company_delisted symbol Weekly (7, Sat) delisted-companies
mergers-acquisitions global fmp_mergers_acquisitions symbol, targeted_symbol, transaction_date Weekly (7, Sat) mergers-acquisitions-latest
symbol-change global fmp_symbol_change old_symbol, new_symbol, date Weekly (7, Sat) symbol-change
  • company-delisted: List of delisted companies with IPO and delisting dates. Feeds gold.dim_instrument lifecycle columns (delisting_date). No symbol filter — this dataset defines the allowlist boundary.
  • mergers-acquisitions: FMP M&A “latest” feed (stable mergers-acquisitions-latest, paginated via page) capturing acquirer (symbol, company_name, cik) and acquired target (targeted_symbol, targeted_company_name, targeted_cik) plus transaction_date, acceptance_time, url. B-356.1: the legacy v4/mergers-acquisitions-rss-feed path 404’d under the /stable/ base (no promotable Bronze → silver.fmp_mergers_acquisitions was never created); corrected to the stable mergers-acquisitions-latest endpoint. B-356.2: two of the nine columns were mapped to vendor keys that do not exist — the payload sends acceptedDate and link, not acceptanceTime/url, so acceptance_time and url were empty on 100% of Silver rows while the other seven populated cleanly. Verified against stored Bronze Parquet (CLAUDE.md §2 constraint 7), not the vendor docs: all 48 stored files (4,701 rows, every one HTTP 200) carry the uniform column set symbol, companyName, cik, targetedCompanyName, targetedCik, targetedSymbol, transactionDate, acceptedDate, link, with acceptedDate/link non-null on 4,701/4,701. The fix remaps both — metadata={"api": ...} on MergersAcquisitionsDTO and an api: override on the keymap dto_schema column, because the Silver promotion path (DTOProjection._project_from_schema) resolves by SchemaColumn.name/.api and never reads the dataclass metadata; a DTO-only fix would have left Silver empty. Silver column names and types are unchanged (acceptance_time/url, both str/VARCHAR): acceptance_time matches SEC EDGAR’s own ACCEPTANCE-DATETIME header — the quantity this actually is — and keeping VARCHAR preserves the vendor string verbatim; renaming or retyping would be Silver DDL under F-455 change control for no domain gain. Bronze already holds the values, so recovery is a re-promote (promote-silver mergers-acquisitions) with no re-ingest and no vendor call. The delisting-reason source (F-312): targeted_symbol is the join key linking a delisted instrument to its M&A event. Silver-only; no Gold promotion yet. TASK-6279 (run 261113_66bb8c): the B-356.2 empty-column check warned on targeted_symbol and targeted_cik, but the mapping is right — Bronze (581 files, 57,341 rows, newest 2026-11-13) carries targetedSymbol/targetedCik populated on 71% / 36% of rows; the flagged promote landed one row (99 watermarked) with no target. Both columns are now sparse: true in the keymap (exempt from the check, as FINRA revision_flag, B-086.4); the vendor keys are pinned by tests/unit/sbsilver/test_task6279_sparse_vendor_keys_ma_and_companyfacts.py. No Silver DDL.
  • symbol-change (TASK-5869): FMP’s market-wide symbol-changes list: old_symbol became new_symbol on date (plus company_name). Silver-only, because each row names two symbols, so there is no single instrument_sk join. silver_row_watermark: none, because a rename can be listed after a later-dated one and the row watermark would drop it (the TASK-5961 / TASK-5962 loss class). A row only ever PROPOSES a ticker succession (TASK-5969’s needs-a-look item); nothing applies one (TASK-5780 AC#1, B-282.17 D1), because a wrong feed row would silently merge two holdings. The vendor keys (date, companyName, oldSymbol, newSymbol) are from FMP’s docs and UNVERIFIED until the TASK-5970 live pull checks a real Bronze file (CLAUDE.md §2 constraint 7). One request, no pagination (TASK-6227, 2026-11-16). The recipe carried page: 0 / paginate_param: page, and each pull walked to PAGINATION_MAX_PAGES (1,000). Measured on runs 261113_ce31b6 and 261113_66bb8c: all 2,000 Bronze files were status 200 with 100 rows each and ONE sbf.payload_hash (first row 2026-11-13 PTL LTD PTLE→ZYN, span 2026-08-21..2026-11-13), so the endpoint ignores page. The recipe now makes a single request (query_vars: {}). Its bound is a deliberate, documented truncation: the vendor’s latest 100 changes (~12 weeks at the measured span) against the weekly Saturday cadence. No limit var is declared, because whether FMP honours it here is unmeasured.
  • Documentation: FMP Delisted Companies | FMP Latest Mergers & Acquisitions

Stock Splits

Dataset Scope Silver Table Key Columns Refresh API Path
stock-split per_ticker fmp_stock_split symbol, date Monthly (30, Sat) splits
  • Purpose: Historical stock split events (numerator, denominator, split type). Feeds gold.fact_stock_split.
  • Row watermark (2026-11-10, B-495.4 / TASK-5962): the entry declares silver_row_watermark: none. Every fetch returns the whole split history, and a ticker’s early captures carried only its newest split, so the Silver row watermark dropped the older events a later capture listed (78 keys across 42 tickers). Splits already missing need an operator re-promote (promote-silver -> promote-gold -> promote-factors).
  • Fields: symbol, date, numerator, denominator, split_type
  • Documentation: FMP Stock Splits

Macro / Economics Indicators

Dataset Source Silver Table Key Columns Refresh API Path
fred-dgs10 fred fred_dgs10 date Saturday (1) series/observations
fred-usrecm fred fred_usrecm date Saturday (28) series/observations
fred-dgs1mo fred fred_dgs1mo date Saturday (1) series/observations
fred-dgs3mo fred fred_dgs3mo date Saturday (1) series/observations
fred-dgs1 fred fred_dgs1 date Saturday (1) series/observations
fred-dgs2 fred fred_dgs2 date Saturday (1) series/observations
fred-dgs5 fred fred_dgs5 date Saturday (1) series/observations
fred-dgs30 fred fred_dgs30 date Saturday (1) series/observations
fred-t10y2y fred fred_t10y2y date Saturday (1) series/observations
fred-baa10y fred fred_baa10y date Saturday (1) series/observations
fred-vixcls fred fred_vixcls date Saturday (1) series/observations
fred-bamlh0a0hym2 fred fred_bamlh0a0hym2 date Saturday (1) series/observations
fred-bamlc0a0cm fred fred_bamlc0a0cm date Saturday (1) series/observations
fred-bamlc0a4cbbb fred fred_bamlc0a4cbbb date Saturday (1) series/observations
fred-pcu518210518210 fred fred_pcu518210518210 date Saturday (28) series/observations
fred-release-dates-cpi fred fred_release_dates_cpi release_date Saturday (6) release/dates
fred-release-dates-employment fred fred_release_dates_employment release_date Saturday (6) release/dates
fred-release-dates-gdp fred fred_release_dates_gdp release_date Saturday (6) release/dates
fred-release-dates-fomc fred fred_release_dates_fomc release_date Saturday (6) release/dates
market-risk-premium fmp fmp_market_risk_premium country Saturday (30) market-risk-premium
  • fred-dgs10: 10-Year Treasury Constant Maturity Rate (risk-free rate proxy for CAPM/DCF). Series starts 1962-01-01. Used by EowHistoryService as the representative EOW freshness cursor.
  • fred-usrecm: NBER U.S. Recession Indicator (1 = recession, 0 = expansion). Series starts 1967-01-01.
  • F-317 FRED macro-series expansion (9 datasets): Silver-only macro time-series (each series/observations, Saturday cadence, min_age_days: 1), sharing one generic FredObservationDTO over {date, value}. Data-only — no macro-style factor is derived from them yet (deferred to Wave 2).
    • fred-dgs1mo / fred-dgs3mo: 1-Month / 3-Month Treasury Constant Maturity Rate — the short-end of the curve, the correct excess-return risk-free tenor (the 10Y fred-dgs10 stays the cost-of-equity / WACC proxy).
    • fred-dgs1 / fred-dgs2 / fred-dgs5 / fred-dgs30: 1/2/5/30-Year Treasury Constant Maturity Rate — the Treasury constant-maturity yield curve.
    • fred-t10y2y: 10-Year minus 2-Year Treasury term spread (yield-curve / regime signal).
    • fred-baa10y: Moody’s Baa corporate yield minus 10-Year Treasury credit spread (credit-regime signal).
    • fred-vixcls: CBOE Volatility Index (VIX) close (volatility-regime signal).
  • F-489 / ACC-1 capital-cycle inputs (4 datasets, TASK-4397): Silver-only, same series/observations + Saturday cadence + shared FredObservationDTO over {date, value}. Data-only — read by the AI capital-cycle monitor, no factor derived.
    • fred-bamlh0a0hym2 / fred-bamlc0a0cm / fred-bamlc0a4cbbb: ICE BofA US High Yield / US Corporate (IG) / BBB US Corporate option-adjusted spreads (min_age_days: 1). ⚠ Since April 2026 FRED serves only a rolling 3-year window of ICE series, so the stored history accumulates from first ingest (Bronze is the only copy of anything older than 3 years from that point); designed_earliest_date 1996-12-31 is the series start, not what the vendor will return.
    • fred-pcu518210518210: PPI — data processing, hosting and related services (monthly, Index Dec 2000=100; min_age_days: 28, like fred-usrecm).
  • F-554 / EC-4 Macro Release Dates (4 datasets, TASK-6615): Silver-only FRED release calendars, each release/dates with its own release_id, Saturday cadence (min_age_days: 6), sharing one FredReleaseDateDTO over {release_date, release_id} (vendor date → release_date, key col release_date). Query vars: release_id, file_type: json, realtime_start: '1776-07-04' (FRED’s all-history value), realtime_end: '9999-12-31', include_release_dates_with_no_data: 'false' (realized dates only, so a rescheduled release never leaves a stale row), sort_order: asc, limit: 10000; json_content_key: release_dates. Capture only — no Gold table, no factor yet.
    • fred-release-dates-cpi: Consumer Price Index (release_id 10).
    • fred-release-dates-employment: Employment Situation (release_id 50).
    • fred-release-dates-gdp: Gross Domestic Product (release_id 53).
    • fred-release-dates-fomc: FOMC Press Release (release_id 101).
    • ⚠ The release ids and the vendor field names {release_id, date} are UNVERIFIED against a live pull; operator task TASK-6616 checks each against its help_url page and a Bronze file. No designed_earliest_date: FRED decides how far back each calendar goes.
  • market-risk-premium: Equity risk premium by country (total equity risk premium, country risk premium).
  • Gold: All FRED + market-risk-premium datasets are Silver-only — no instrument_sk FK. Consumed directly by the feature engine.
  • Requires: FRED_API_KEY for FRED datasets.
  • Documentation: FRED DGS10 | FRED USRECM | FRED DGS1MO | FRED DGS3MO | FRED DGS1 | FRED DGS2 | FRED DGS5 | FRED DGS30 | FRED T10Y2Y | FRED BAA10Y | FRED VIXCLS | FRED BAMLH0A0HYM2 | FRED BAMLC0A0CM | FRED BAMLC0A4CBBB | FRED PCU518210518210 | FRED release 10 (Consumer Price Index) | FRED release 50 (Employment Situation) | FRED release 53 (Gross Domestic Product) | FRED release 101 (FOMC Press Release) | FRED release/dates API | FMP Market Risk Premium

Foreign Exchange Rates (FRED FX)

Dataset Source Silver Table Series Currency Convention Refresh
fred-dexuseu fred fred_dexuseu DEXUSEU EUR usd_per_foreign Saturday (1)
fred-dexusuk fred fred_dexusuk DEXUSUK GBP usd_per_foreign Saturday (1)
fred-dexusal fred fred_dexusal DEXUSAL AUD usd_per_foreign Saturday (1)
fred-dexusnz fred fred_dexusnz DEXUSNZ NZD usd_per_foreign Saturday (1)
fred-dexcaus fred fred_dexcaus DEXCAUS CAD foreign_per_usd Saturday (1)
fred-dexjpus fred fred_dexjpus DEXJPUS JPY foreign_per_usd Saturday (1)
fred-dexnous fred fred_dexnous DEXNOUS NOK foreign_per_usd Saturday (1)
fred-dexszus fred fred_dexszus DEXSZUS CHF foreign_per_usd Saturday (1)
fred-dexbzus fred fred_dexbzus DEXBZUS BRL foreign_per_usd Saturday (1)
fred-dexmxus fred fred_dexmxus DEXMXUS MXN foreign_per_usd Saturday (1)
fred-dexchus fred fred_dexchus DEXCHUS CNY foreign_per_usd Saturday (1)
fred-dexinus fred fred_dexinus DEXINUS INR foreign_per_usd Saturday (1)
fred-dexkous fred fred_dexkous DEXKOUS KRW foreign_per_usd Saturday (1)
fred-dexsius fred fred_dexsius DEXSIUS SGD foreign_per_usd Saturday (1)
fred-dextaus fred fred_dextaus DEXTAUS TWD foreign_per_usd Saturday (1)
fred-dexsdus fred fred_dexsdus DEXSDUS SEK foreign_per_usd Saturday (1)
fred-dexdnus fred fred_dexdnus DEXDNUS DKK foreign_per_usd Saturday (1)
fred-dexsfus fred fred_dexsfus DEXSFUS ZAR foreign_per_usd Saturday (1)
fred-dexhkus fred fred_dexhkus DEXHKUS HKD foreign_per_usd Saturday (1)
fred-ccusma02ilm618n fred fred_ccusma02ilm618n CCUSMA02ILM618N ILS foreign_per_usd Saturday (1) — OECD monthly avg (no daily H.10 shekel series)
  • TASK-3143 / F-444 FRED FX expansion (20 datasets): Silver-only daily exchange-rate series (each series/observations, Saturday cadence, min_age_days: 1, max_date_quantity: 8), all sharing the generic FredObservationDTO over {date, value} (key col date). Reporting currency → USD conversion source for a later task that converts non-USD Gold fundamentals to USD; the currency → series + quoting-convention mapping is governed in config/fx_pairs.yaml (loaded by sbcontracts.fx_pairs.FxPairConfigService).
    • Convention: usd_per_foreign — rate is USD per 1 unit foreign → to-USD factor = rate (multiply). foreign_per_usd — rate is foreign units per 1 USD → to-USD factor = 1/rate (divide).
    • Gold: Silver-only — no instrument_sk FK (FX series have no instrument). Requires FRED_API_KEY.
    • Caveat: the DEX* series ids and quoting directions in fx_pairs.yaml are best-effort per the design brief; the operator verifies them against live FRED metadata at ingest (F-444 §14.1 / TASK-3147).

Analyst Estimates & Earnings Surprises

Dataset Discriminator Scope Silver Table Key Columns Refresh API Path
analyst-estimates annual per_ticker fmp_analyst_estimates ticker, fiscal_year, fiscal_quarter, as_of_date Weekly (7, Sat) analyst-estimates?symbol=__ticker__&period=annual&limit=10
analyst-estimates quarter per_ticker fmp_analyst_estimates ticker, fiscal_year, fiscal_quarter, as_of_date Weekly (7, Sat) analyst-estimates?symbol=__ticker__&period=quarter&limit=20
earnings-surprises — per_ticker fmp_earnings_surprises ticker, date Quarterly (90, Sat) earnings?symbol=__ticker__
  • analyst-estimates: Forward-looking consensus estimates (EPS, revenue, EBITDA, net income) with high/low ranges and analyst count. Two recipes share one Silver table: discriminator=annual writes fiscal-year rows (fiscal_quarter=0); discriminator=quarter writes quarterly rows (fiscal_quarter=1..4). fiscal_year/fiscal_quarter are derived in AnalystEstimatesDTO.transform_df_content from the period-end date using a row-density heuristic (annual if rows/unique_years < 2). 2026-04-14: migrated from the retired v3 endpoint to /stable/analyst-estimates; upstream field names flattened (epsAvg, revenueAvg, ebitdaAvg, numAnalystsEps) and mapped back to unchanged Silver column names via api: keys in dto_schema. TASK-3001: as_of_date (synthesized by SilverService from the Bronze manifest coverage date — row_date_col stays unset) was appended to the natural key of BOTH recipe blocks, so the weekly Saturday re-pull persists a weekly consensus time-series (one row per snapshot date) instead of UPSERT-overwriting a single row per (ticker, fiscal_year, fiscal_quarter). AnalystEstimatesDTO.KEY_COLS is kept in lockstep.
  • earnings-surprises: Historical actual-vs-estimated EPS per reporting date. Feeds gold.fact_earnings_surprises and is aggregated into beat-rate statistics for gold.fact_eps_forecast. 2026-04-14: migrated from retired v3 /api/v3/earnings-surprises to /stable/earnings; fields epsActual / epsEstimated map to Silver actual_earning_result / estimated_earning. 2026-11-10 (B-495.4 / TASK-5961): the entry declares silver_row_watermark: none, so a restated row (a scheduled announcement’s NULL epsActual later filled by the vendor) dated at or below the Silver row watermark is no longer dropped; the MERGE on (ticker, date) replaces the NULL. Rows already stored with a NULL actual need an operator re-promote (promote-silver -> promote-gold -> promote-factors).
  • Key fields — analyst-estimates: estimated_eps_avg, estimated_eps_high, estimated_eps_low, estimated_revenue_avg, estimated_revenue_high, estimated_revenue_low, estimated_ebitda_avg, estimated_net_income_avg, number_analyst_estimated
  • Key fields — earnings-surprises: actual_earning_result, estimated_earning
  • Symbol filter: Both use symbol_filter_col: ticker — ticker, not symbol (B-041.1 / TASK-3241): symbol_filter_col names the Silver column the allowlist gate filters on, and these DTOs project ticker. It read symbol until 2026-08, which made the Silver gate a silent no-op here (real enforcement was upstream in IngestPlannerService, which only ever requests allowlisted symbols). See CLAUDE.md §2 constraint 10.
  • Gold: Drives three Gold fact tables — fact_analyst_estimates, fact_earnings_surprises, fact_eps_forecast (the last built by EpsForecastService).
  • Documentation: FMP /stable/ Analyst Estimates | FMP /stable/ Earnings

Analyst Grades — sell-side rating actions (F-450 / EC-5)

Dataset Scope Silver Table Key Columns Refresh API Path
grades per_ticker fmp_grades ticker, date, grading_company, new_grade Weekly (6, Sat) grades?symbol=__ticker__&limit=5000
  • Purpose (F-450 / TASK-3220…3226): firm-level sell-side rating actions — one row per grading firm × action. This is the platform’s first analyst rating feed; analyst-estimates above is forward consensus numbers (EPS / revenue / EBITDA), never a rating. DTO AnalystGradeDTO (sbcontracts.dtos.fundamentals.analyst_grade_dto) maps symbol/date/gradingCompany/previousGrade/newGrade/action → ticker/date/grading_company/previous_grade/new_grade/action.
  • new_grade is IN the natural key — deliberate. The obvious key (ticker, date, grading_company) is not unique: measured on AAPL, 2 collisions in 1,786 records (one byte-identical Jefferies duplicate, one genuine Wells Fargo Perform-vs-Market Perform variant on the same day). Adding action does not disambiguate. AnalystGradeDTO.KEY_COLS, the keymap key_cols, and the Silver PK are kept in lockstep.
  • first_seen_at is the survivorship receipt. Declared via the keymap’s insert_only_cols: [first_seen_at], so SilverService stamps it on INSERT and excludes it from the MERGE’s WHEN MATCHED THEN UPDATE SET clause — every other column (incl. the lineage trio) refreshes on re-promote, this one never does. It is the only durable evidence that this platform held a record before the vendor deleted it.
  • lifecycle_scope: all (B-450.2 / TASK-3649) — the ONLY dataset that carries it. Every other per-ticker dataset resolves its fetch universe as Allowlist ∩ is_actively_trading = TRUE (a join to silver.fmp_company_profile_bulk in sbbronze.domain_ingest._allowlist.resolve_allowlisted_tickers), which is correct for price history — a delisted name has none to fetch. It is self-defeating here: this feed exists because FMP purges grades as names age out, and the coverage detector below compares successive observations of a symbol, so never re-fetching the delisted cohort makes a purge of exactly those names undetectable. Measured 2026-08-30, the default resolved 6,410 of 9,831 allowlisted symbols, stranding 3,385 — 2,802 of them delisted — on a single observation. The default’s stated premise is also false for this endpoint: run 260818_7b8941 fetched all 9,731 symbols, HTTP 200 on every one, and 1,382 of the excluded names returned records (77,929 in total). Costs ~15 min per pull at ~230 files/min; the FMP 3,000/min throttle is not binding. EowBronzeIngester partitions its per-ticker recipes by scope and drives one Bronze batch per distinct scope, so the six other per-ticker EOW datasets are provably unaffected (pinned by a byte-identical-SQL assertion in tests/unit/sbbronze/test_lifecycle_scope_allowlist.py).
  • silver.fmp_grades_coverage — the vendor-purge detector. A derived Silver table (migration 20260818_004), not a keymap dataset — same status as silver.fmp_promotion_allowlist. One observation row per (ticker, pulled_at) carrying n_records, min_date, max_date, run_id. Written fail-open by GradesCoverageService (src/sbsilver/coverage/) from SilverService._project_artifact; a coverage failure logs a WARNING and the promote continues. Purely observational — nothing gates on it. It exists because the idempotent UPSERT promote can only ever make silver.fmp_grades grow, so a vendor purge leaves no trace there at all; a falling n_records or a forward-moving min_date for a symbol is the only visible purge signal. min_date/max_date are nullable so the most important observation of all — a total purge, n_records = 0 with no span — is representable.
  • Gold: gold.fact_analyst_grade (migration 20260818_005), PK (instrument_sk, date_sk, grading_company, new_grade), built by GoldFactService._build_fact_analyst_grade. Unlike every sibling builder in that file, the symbol → instrument_sk join is lifecycle-aware — explicit ipo_date / delisting_date predicates, so a rating can only attach to an instrument that was alive on the rating’s own date. Without them, ticker recycling staples a live company’s ratings onto a dead instrument_sk (measured: 3% of covered delisted names carry post-delisting records; P / Pandora Media, delisted 2019-01-31, returns 240 records through 2026-08-13 belonging to whoever now holds the ticker). Unresolved rows are counted and logged in two classes (symbol absent from dim_instrument vs instrument not alive on the grade date) rather than silently dropped.
  • grade_ordinal — fail-open, NULLABLE on purpose. config/analyst_grade_scale.yaml (loaded by sbcontracts.analyst_grade_scale) maps the bounded 23-string vendor vocabulary onto a 5-point ordinal (1 bearish … 3 neutral … 5 bullish). An unmapped string resolves to NULL and is logged once per distinct value — never coerced to the neutral midpoint, which would fabricate a “Hold” no analyst ever issued. The raw new_grade stays authoritative; the ordinal is derived and disposable, so a mapping judged wrong later is fixed additively in the YAML without touching the fact.
  • Deliberately NOT a factor: no factor YAML, no ACTIVE_FACTOR_IDS change, no gate math, no enforcement switch, no SPA surface. Display / diagnostics only.
  • HARD NON-GOAL — do not backtest against the vendor’s 2012–2026 history. FMP purges grade history continuously as names age out of the listed universe. Measured 2026-08-18: liquidity-matched delisted names show 35% coverage against a 91% live-liquid baseline (a 56pp gap), and 2016 / 2017 / 2018 delistings return exactly 0%. Beyond roughly three years back this is a survivor list, not a panel — and the missing names are disproportionately failures, so any factor measured on it looks better than reality and would clear the promotion gates for the wrong reason (the gates test whether a signal is real, not whether the panel is complete). The platform’s own accumulated history starts 2026-08 and becomes honestly testable in roughly four quarters. This is the first dataset ingested specifically because the vendor is known to delete it — hence the urgency is data decay, not feature demand.
  • Symbol filter: symbol_filter_col: ticker — ticker, not symbol (B-041.1 / TASK-3241); it names the Silver column, and AnalystGradeDTO projects ticker. See CLAUDE.md §2 constraint 10.
  • Plan variant: SymbolListPlan — a per-ticker full-history feed with no date pagination, so max_date_quantity is null by construction. max_symbol_quantity is also null deliberately: IngestPlannerService._dispatch_variant truncates the symbol list alphabetically at the cap, so any finite value would permanently pin the feed to the alphabetically-first N symbols. Conservatism rides on the weekly cadence gate (run_days: [sat] + min_age_days: 6) instead.
  • State series, not an event series: reiterations dominate — all-history 80% maintain / 10% upgrade / 10% downgrade; rating changes are sparse (~15/trading day across the liquid universe) while rating state is dense (~173 events/trading day).
  • Documentation: FMP /stable/ Grades

Revenue Segmentation (product / geographic)

Dataset Discriminator Scope Silver Table Key Columns Refresh API Path
revenue-product-segmentation FY per_ticker fmp_revenue_product_segmentation ticker, fiscal_year, segment Yearly (365, Sat) revenue-product-segmentation?symbol=__ticker__&period=annual
revenue-geographic-segmentation FY per_ticker fmp_revenue_geographic_segmentation ticker, fiscal_year, segment Yearly (365, Sat) revenue-geographic-segmentation?symbol=__ticker__&period=annual
  • TASK-3175: annual (period=annual, discriminator: FY) revenue breakdowns. The vendor returns one object per (symbol, fiscal year) carrying a nested data dict whose keys are dynamic segment names ({"iPhone": 209586000000, "Mac": ...} / {"Americas": ..., "Europe": ...}). RevenueSegmentationDTO.transform_df_content melts that dict 1→N into one Silver row per segment, lifting the parent identity columns onto every child (symbol→ticker, fiscalYear→fiscal_year, date, reportedCurrency→reported_currency). Audit-first: a malformed/absent data payload contributes zero rows and never raises.
  • Shared DTO, separate tables: both datasets map to the single RevenueSegmentationDTO (identical vendor shape) but — unlike analyst-estimates — each writes its own Silver table, so a product segment and a geographic segment of the same name never collide on the (ticker, fiscal_year, segment) natural key.
  • domain: eow is load-bearing: sbshared.settings.DOMAINS is [eod, quarter, annual, eow, etf]; a recipe whose domain is absent from that list is silently skipped with no error. A 2026-03 iteration of these very datasets used domain: fundamentals and consequently never produced a single row.
  • Key fields: segment (dynamic vendor segment name, part of the natural key), revenue, reported_currency, date (row_date_col, the fiscal period-end).
  • Symbol filter: both use symbol_filter_col: ticker — ticker, not symbol (B-041.1 / TASK-3241); it names the Silver column, and RevenueSegmentationDTO projects ticker. See CLAUDE.md §2 constraint 10.
  • Gold: both feeds promote into the single gold.fact_revenue_segment (TASK-3178), one row per (instrument_sk, period_date_sk, segment_kind, segment_name) where segment_kind discriminates 'product' vs 'geographic'. segment_name is a degenerate text column — vendor labels stored verbatim, never resolved to a dimension. Display-only: no _f column, no factor lift, ACTIVE_FACTOR_IDS untouched; the sole consumer is sbscreen (the screen_segments.json sidecar behind GET /api/screen-segments).
  • Documentation: FMP /stable/ Revenue Product Segmentation | FMP /stable/ Revenue Geographic Segmentation

Capital-Cycle Cohort Datasets (F-492 / ACC-2)

Dataset Discriminator Scope Silver Table Key Columns Refresh API Path
revenue-product-segmentation quarter per_ticker, symbol_scope: capital_cycle_cohort fmp_revenue_product_segmentation_quarter ticker, fiscal_year, period, segment Weekly (30, Sat) revenue-product-segmentation?symbol=__ticker__&period=quarter
earnings-transcript-index — per_ticker, symbol_scope: capital_cycle_cohort fmp_earnings_transcript_index ticker, fiscal_year, quarter Weekly (6, Sat) earning-call-transcript-dates?symbol=__ticker__
earnings-transcript — per_ticker, symbol_scope: capital_cycle_cohort, bespoke ingester only fmp_earnings_transcript ticker, fiscal_year, quarter On demand (backfill-transcripts CLI) earning-call-transcript?symbol=__ticker__&year=…&quarter=…
  • Scope — the Capital-Cycle Cohort (see THESAURUS.md): all three carry symbol_scope: capital_cycle_cohort, so IngestPlannerService resolves their symbol list as the 21-name roster in config/capital_cycle/cohort.yaml (5 layers, cohort_version: 1, loaded by sbcontracts.cohort_config) intersected with the allowlist, logging one WARNING per cohort name the allowlist drops. symbol_scope is validated by value (VALID_SYMBOL_SCOPES = etf, capital_cycle_cohort). The scheduled EOW ingest honours the scope through the planner’s own resolution (TASK-4463), so these datasets never fan out to the ~10k-symbol allowlist.
  • Quarterly product segmentation (TASK-4443): same endpoint and dataset name as the annual entry above, switched by query_vars.period: quarter (the analyst-estimates two-discriminator precedent). Its own Silver table, keyed on period as well — without it the four quarters of a fiscal year would MERGE onto one key and silently keep the last. period is declared on this entry only; the annual table is unchanged. Same RevenueSegmentationDTO melt. min_age_days: 30, run_days: [sat]. Exempt from the Silver row watermark (B-495.4 / TASK-5625): silver_row_watermark: none (vocabulary: none; absent = the dates > watermark filter applies; an unknown value is rejected by DatasetKeymapEntry.from_payload). Each call returns the whole history, so a late-filled period end arrives at or below the watermark; FMP’s fill of ORCL 2025-11-30 and 2026-05-31 was dropped this way. Re-promotion is idempotent through the MERGE on key_cols. The annual and geographic entries are not exempt. The melt also drops a segment whose value is None/NaN: Parquet pads every row with every label in the file, and a row for that padding would MERGE a NULL over a live, since-relabelled segment. A present non-numeric value still emits NULL revenue.
  • Transcript index (TASK-4444): FMP /stable/earning-call-transcript-dates — the ledger of which earnings calls the vendor holds a transcript for, one row per (ticker, fiscal_year, quarter); EarningsTranscriptIndexDTO. The vendor row carries no symbol, so ticker is stamped by ticker_override. ⚠ call_date is UNTRUSTED vendor data — measured rows carry dates years off the real call — so it is not a key and row_date_col is deliberately empty. Rows are flagged, never dropped, by the Silver QA detector flag_transcript_date_implausible (sbsilver.quality.transcript_date_quality, TASK-4445), run after the index promote: a per-ticker Theil–Sen fit of call day against fiscal_year * 4 + (quarter - 1), flagging any row more than 120 days (TRANSCRIPT_DATE_TOLERANCE_DAYS) off its implied date into ops.silver_anomaly at severity='warn'. A DQ flag gates nothing.
  • Transcript content (TASK-4446): FMP /stable/earning-call-transcript — the raw text (content, ~56 KB/call) of one call per (ticker, fiscal_year, quarter); EarningsTranscriptDTO rewrites the vendor’s period ("Q4") to an integer quarter. ⚠ Bespoke-ingester only: the endpoint needs year + quarter, which the recipe engine has no placeholder for, so the dataset is in sbbronze.settings.BESPOKE_INGESTER_ONLY_DATASETS and neither IngestPlannerService.build_plan nor EowBronzeIngester ever selects it; the keymap entry exists for Silver promotion and DTO registration. It is fetched by CapitalCycleTranscriptBronzeIngester via python -m sborchestration.cli backfill-transcripts [--symbols A,B] [--limit N] (default limit 5 requests — a quota probe), which requests only indexed calls not yet in Silver. Bronze-only; finalize with promote-silver eow. call_date is untrusted here too (not a key, row_date_col empty).
  • HISTORICAL_EOD_SKIP_DATASETS deliberately unchanged: that set filters EOD-domain recipes only, and all three datasets are domain: eow, so listing them there would be a no-op.
  • DTO registration: both transcript DTOs are in DTO_REGISTRY; the quarterly segmentation entry reuses RevenueSegmentationDTO.
  • Gold: none — all three are Silver-only (see Silver-Only Datasets below). Evidence for the AI Capital-Cycle Monitor epic’s later milestones, not an input to any factor, gate or signal.
  • Documentation: FMP /stable/ Revenue Product Segmentation | FMP /stable/ Earning Call Transcript Dates | FMP /stable/ Earning Call Transcript

OpenRouter Model Prices (F-494 / ACC-1b)

Dataset Source Scope Silver Table Key Columns Refresh API Path
openrouter-model-prices openrouter global openrouter_model_prices model_id, observed_date Daily config, 5 of 7 calendar days delivered (empty run_days, min_age_days: **0**; nightly cron is Mon–Fri — TASK-4466). ⚠ The delivered history to 2026-10-12 was ~1 of 7 — min_age_days: 1 plus a <= cooldown comparison refused every ordinary nightly (TASK-4614) models
  • openrouter-model-prices: OpenRouter’s public model catalogue (https://openrouter.ai/api/v1/models, json_content_key: data) — one Silver row per model per observation day carrying prompt_price, completion_price, image_output_price, web_search_price (USD per token / per unit, as served), plus model_name, canonical_slug, context_length. OpenRouterModelPriceDTO melts the model array and coerces the vendor’s string prices to float. Silver DDL: migration 20261007_001_create_silver_openrouter_model_prices.sql. Input to the AI Capital-Cycle Monitor (inference-price deflation), not to any factor, gate or signal.
  • Why daily, not weekly like the rest of eow: the vendor serves current prices only — there is no history endpoint — so a day that is not fetched is lost forever. The dataset is an accumulator: its history begins at first ingest, and Bronze is the only copy of every past observation. Hence an empty run_days (no weekday gate) and min_age_days: 1, a SnapshotGate plan (no date_key; max_date_quantity: null). ⚠ Daily is the CONFIG; the delivered cadence is 5 of 7 calendar days — the only scheduled path that fetches this is the nightly, whose CRON_SCHEDULE is 45 16 * * 1-5, so Saturday and Sunday prices are never captured and are lost permanently. TASK-4466 (2026-10-07) DECIDED to accept that gap rather than build a weekend trigger: the I6 consumer is a monthly-resolution price metric, so the cost is a step-change attribution error of at most two days, and a Saturday trigger would be best-effort anyway — the Friday deep run is 21.5–31.6 h from 16:45 ET, so it routinely still holds the DuckDB write lock through Saturday, and the single-writer refusal would lose the very observation the trigger was scheduled to take. ⚠ Consequence for any consumer: a weekend hole in this series is NOT a missed ingest and must never be scored as one. Pinned by test_openrouter_weekend_gap_documented.py, which derives the day count from the cron itself, so a seven-day cron fails this claim red rather than leaving it stale.
  • ⚠⚠ CORRECTED, TASK-4614 (2026-10-13) — the DELIVERED history was ~1 of 7, not 5 of 7, and “5 of 7” is a true claim only from this fix onward. Measured after three nightlies: silver.openrouter_model_prices held two observed_date values (2026-10-07, 467 rows; 2026-10-10, 458 rows), and the middle nightly logged reason=within_cooldown at logger_261008_aff508.log:146. Mechanism — the cadence GATE, a third place the cadence is decided, after the declaration and the scheduler. RunRequest.canRun()’s cooldown arm (src/sbcontracts/run/dtos/run_request.py) diverged from its three siblings (sbbronze.cadence_decision, BronzeService._process_paginated_recipe, sbbronze.skip_reason) in two ways: it compared <= where they compare < (it never received the “Item A off-by-one fix”), and it measures a different quantity — the coverage gap injestion_date - from_date, where from_date is the watermark advance max(coverage_to) + 1 day, not the fetch interval today - last_ingestion_date the siblings measure. For a daily accumulator the watermark advances to today by construction, so that gap is always 0, and min_age_days: 1 therefore demands a gap of ≥ 2 days — it cannot express a daily cadence at all. Only the no-watermark first fetch (10-07) and the Friday deep run’s bypass_run_days path (10-09) got through, which is exactly the observed ~weekly series. ⚠ BOTH halves of the fix were required and the “either/or” framing is refuted by the arithmetic: at min_age_days: 1 even 0 < 1 refuses, and at min_age_days: 0 the old 0 <= 0 refuses — only < and 0 proceed. ⚠ No captured observation is re-dated (Bronze is append-only; F-494 decision 9), so the 2026-10-08 and 10-09 holes remain the honest record of what was taken. ⚠ min_age_days: 0 cannot double-fetch: the one-fetch-per-day bound is decide_cadence’s untouched duplicate arm (last_ingestion_date >= today), not the cooldown value. The <= → < change is a shared gate, and it admits exactly the requests at coverage_lag == min_age_days + 1 — at most one extra fetch on a day that previously skipped, never two in one day; the per-cohort blast radius is enumerated from the live keymap by test_task4614_cooldown_blast_radius.py and the operator is pinned at all four sites by test_cooldown_comparison_single_spelling.py. ⚠ TASK-4466’s guard read green straight through this because it asserted the keymap declaration and never the delivered series.
  • ⚠⚠ RECONCILED, TASK-4767 (2026-10-15) — “5 of 7” is being MET, but for two of the first three post-fix nightlies it was met by a mechanism neither this row nor the bullet above mentions. Runs 261012_fa6a9d (Mon) and 261013_02e8c7 (Tue) had a non-empty plan.eow_dates, so PipelineExecutor._ingest_bronze_eow took its multi-date branch and dispatched this dataset inside the bypass_run_days=True arm — where decide_cadence skips the entire dedup / watermark / min_age path and the fixed cooldown gate is never evaluated. Those two observations are bypass-carried, so they are evidence of the series being delivered and not evidence about the gate. The gate’s own first positive admit is 261014_4ce71b (Wed): eow_dates was empty, the single cadence-gated pass ran with bypass_run_days=False, the sibling fred-dgs10 refused with reason=not_a_run_day on that same pass, and this dataset persisted its payload and promoted 462 rows — one refusal and one admit from one gate chain, which is the whole claim. TASK-4767 narrows the EOW date-walk bypass to DateListPlan only; this is a SnapshotGatePlan, so from that fix onward the date-walk bypass can no longer carry it. ⚠ CORRECTED, TASK-5066 (2026-10-21): “rests entirely on the gate” is one leg too strong. The Friday deep run dispatches the eow CADENCE arm itself with bypass_run_days=force_weekly (force_weekly = mode in DEEP_RUN_MODES), so on a Friday the fixed cooldown gate is never evaluated — measured on 261016_253407 (empty_bucket_cadence_pass, one cadence_gated arm, bypass_run_days: true). Steady state is therefore 4 of 7 via the fixed cadence gate (Mon-Thu) + 1 of 7 via the deep run’s force_weekly bypass (Fri) = 5 of 7. The Friday leg is bypass-CARRIED though gate-REACHABLE: reachability is DERIVED from the declaration (no run_days, min_age_days: 0), not measured, because under bypass_run_days=True the gate’s answer is never observed. No OpenRouter day is at risk. Pinned on the delivered dispatch by tests/unit/sborchestration/test_task5066_friday_openrouter_leg_is_bypass_carried.py. ⚠ An absent reason=within_cooldown line is therefore not evidence that the gate admitted — on a bypassed pass nothing was asked of it (the F-466 absence-vs-measurement shape, one layer inside a cadence gate).
  • observed_date is stamped from the Bronze fetch date, never the promotion clock: the payload carries no observation date (created is the model’s creation time), so SilverService stamps the row_date_col from the Bronze artifact’s coverage date. A clock read at promotion would re-date historical Bronze on every re-promote. ⚠⚠ CORRECTED, TASK-4615 (2026-10-13) — the old wording “never the clock” was imprecise, and the imprecision hid a defect. The Bronze fetch date is a clock read; it was just taken earlier and stored. And it was taken from the machine-LOCAL clock (date.today() in BronzeResult._boundary_date) while the same artifact’s ingested_at is UTC — so on this Europe/London box, during BST, every fetch landing in the 23:00–24:00 UTC band stamped a coverage date one day AHEAD of its own ingested_at, run_id and as_of. Measured: run 261009_aa2d71, ingested_at 2026-10-09T23:57:02Z, coverage 2026-10-10. The fallback now reads the artifact’s own now (UTC), a naive value being read as UTC. ⚠ Forward-only — no artifact and no Silver row is re-dated (Bronze append-only; F-494 decision 9), so the three captured observed_date values (2026-10-07, 2026-10-10, 2026-10-12) stay exactly as they are and 2026-10-10 remains the record of what was taken. ⚠ The defect is SEASONAL: London returns to UTC+0 on 2026-10-25 and date.today() is then byte-identical to the UTC date until 2027-03-28, so a clean nightly reading cannot distinguish the fix from the defect — the standing proof is a pinned-clock test, never an observation. ⚠ It also compounded TASK-4614: the watermark advance is max(coverage_to) + 1 day read with no error/row_count predicate, so an over-stamp pushed the next day’s coverage gap negative, which canRun() refuses even at min_age_days: 0 (it did not bite on 10-09 only because a weekend followed).
  • Price semantics: a vendor price of "0" is the real free tier and is stored as 0.0, never NULL (turning a zero into a missing value is the B-136.5 sentinel class). OpenRouter’s "-1" marker on variable-price router models — a marker, not a price — and any negative, empty, non-finite or unparseable price resolve to NULL. A model row with no usable id is dropped.
  • Source config: OPENROUTER_DATA_SOURCE (openrouter) in sbshared.settings.DATA_SOURCES_CONFIG with no API_KEY — key-free, like FINRA.
  • HISTORICAL_EOD_SKIP_DATASETS deliberately unchanged: that set filters EOD-domain recipes only, and this dataset is domain: eow.
  • Gold: none — Silver-only (no instrument_sk; see Silver-Only Datasets below).
  • Documentation: OpenRouter — List available models

Census Construction Spending — Data Center (F-494 / ACC-1b)

Dataset Source Scope Silver Table Key Columns Refresh API Path
census-construction-data-center census global census_construction_data_center period_date Weekly refetch (run_days: [sat], min_age_days: 28; effectively every Friday deep run) of a monthly series construction/c30/xls/privtime.xlsx
  • census-construction-data-center: the U.S. Census Bureau C30 Value of Private Construction Put in Place time-series workbook (https://www.census.gov/construction/c30/xls/privtime.xlsx, ~175 KB) — one Silver row per month carrying value_musd (millions of USD, as published) and seasonally_adjusted. CensusConstructionDTO; Silver DDL: migration 20261007_002_create_silver_census_construction_data_center.sql. Input to the AI Capital-Cycle Monitor (data-center capex), not to any factor, gate or signal. Row watermark exempt (silver_row_watermark: none, B-048.6 / TASK-6131): every fetch carries the whole monthly history and a C30 release revises already-published months, so every row of a fetch reaches the Silver MERGE and a revision at or below the watermark overwrites in place.
  • Source / auth: CENSUS_DATA_SOURCE (census) in sbshared.settings.DATA_SOURCES_CONFIG with no API_KEY — the workbook is auth-free. BronzeService routes source: census to CensusVipFileAdapter (the FINRA precedent), which applies the recipe cadence through the same decide_cadence kernel and catalog watermark as the generic path.
  • ⚠ The run_days: [sat] + min_age_days: 28 declaration is UNCHANGED and is the intended cadence — it was the DELIVERY that diverged (TASK-4767, 2026-10-15). This is a SnapshotGatePlan, which carries no dates at all, yet the EOW date-walk’s bypass_run_days=True arm dispatched it once per planned Saturday, nulling its watermark and defeating both gates (B-102.1). Measured: it fetched on Mon 2026-10-12 and Tue 2026-10-13 — a daily hit on a Census VIP file endpoint the keymap declares weekly — while 2026-10-08 and 2026-10-14, nights where plan.eow_dates was empty, correctly logged reason=not_a_run_day. The data was never at risk (all three artifacts carry row_count=152, 2014-01-01..2026-08-01, error=None, and Silver was unmoved), but the divergence was invisible from the declaration. A bypass could never satisfy a planned date here, only defeat a cadence, so the bypass is narrowed to DateListPlan only; the weekly refresh still rides the Friday deep run’s force_weekly bypass, which is the only route a run_days: [sat] recipe has under the Mon–Fri cron.
  • Stdlib-only parse, label never index: the .xlsx is read with zipfile + xml.etree (no spreadsheet library, no pandas Excel reader). The Data center column is found by its header label, nested under the Office parent (Nonresidential > Office > {General, Data center, Financial}) when the label repeats — never by column index, since Census reshuffles the workbook and an index would silently read office or financial construction as data centres. All layout assumptions live in the Census C30 workbook adapter block of sbbronze.settings.
  • ⚠ HTTP 200 is not evidence of data: the body must start with the zip magic and must not be served as HTML, otherwise the fetch is recorded as a Bronze error and nothing promotes. This is why the Census API route (api.census.gov/.../eits/vip) was rejected — it reports a missing key as HTTP 200 + an HTML “Missing Key” page, which would pass the Bronze promotion gate as if it were data.
  • Why not FRED: FRED’s PROFCONS is the Office parent series (office + data center + financial), so it was rejected as a proxy — it cannot isolate data-center spending.
  • Cadence: run_days: [sat] + min_age_days: 28, matching the FRED [sat] series exactly. Because the scheduled nightly runs Mon–Fri, it in practice fires on the Friday NIGHTLY_FULL force_weekly pass, which (B-102.1) bypasses min_age_days too — so the ~175 KB workbook is refetched weekly (it also fires on any mid-week night the B-102.1 EOW date-walk bypass arm is taken, exactly as the FRED series do). The adapter additionally skips when today’s artifact has already landed, so it never fetches more than once a day.
  • Self-healing: every fetch carries the full monthly history, so a single successful fetch restores the series after any gap (a full-history snapshot per ingestion day).
  • seasonally_adjusted is projected as the tri-state nullable_bool type — unknown stays NULL, never coerced to false.
  • Back-revisions land (B-048.6 / TASK-6131): Census revises preliminary monthly figures and every fetch carries the revised history. The entry declares silver_row_watermark: none, so every month of a fetch reaches the MERGE and a revision of an already-landed month overwrites it in place on the period_date key. Silver therefore holds the latest published vintage of each month, not the value as first published. That suits the monitor input (I7); a vintage-aware reading would need its own table. This resolves the earlier “decision for ACC-5” known limit, which F-499 never took up.
  • HISTORICAL_EOD_SKIP_DATASETS deliberately unchanged: that set filters EOD-domain recipes only, and this dataset is domain: eow.
  • Gold: none — Silver-only (no instrument_sk; see Silver-Only Datasets below).
  • Documentation: Census — Construction Spending (C30)

GetDeploying — Weekly GPU Rental Prices (F-531 / ACC-13)

Dataset Source Scope Silver Table Key Columns Refresh API Path
getdeploying-gpu-prices-weekly getdeploying global getdeploying_gpu_prices_weekly gpu_slug, date, billing_type, reservation_months Weekly (run_days: [tue], min_age_days: 6; ONE request per week, the Friday deep run’s bypass is NOT honoured) dataset/gpu-prices/weekly.csv (host getdeploying.com)
  • getdeploying-gpu-prices-weekly: GetDeploying’s market-wide GPU rental price history, one Silver row per (gpu_slug, date, billing_type, reservation_months), date = the vendor’s week-start (Monday). A blank reservation_months (ON_DEMAND, SPOT, CUSTOM rows) is stored as the sentinel 0 — the file never uses 0 and a NULL key part never matches in the Silver MERGE. The newest week is PARTIAL when fetched and is overwritten by the next fetch, so the entry declares silver_row_watermark: none. GetDeployingGpuPriceWeeklyDTO coerces numeric strings; a row missing gpu_slug, billing_type or a valid date is dropped. Silver DDL: migration 20261103_001_create_silver_getdeploying_gpu_prices_weekly.sql. Read only by sbcapcycle for indicator I6’s gpu_rental_index_12m_pct leg; not an input to any factor, gate, signal or order.
  • Licence: attribution “GetDeploying, GPU rental price history, https://getdeploying.com/gpus, CC BY 4.0”. GetDeploying consented in writing on 2026-10-26 to private non-commercial analysis, on condition the fetch sends a user agent carrying a name or an email (read from SB_SEC_USER_AGENT; the value is never tracked, logged or stored in Bronze). Real-capital or commercial use means asking again first.
  • Silver-only: no instrument_sk join, no Gold.

SEC EDGAR — Ticker → CIK Map + XBRL Companyfacts (F-523 / ACC-3) + Form Index + Submissions (F-533 / SBM-7)

Dataset Source Scope Silver Table Key Columns Refresh API Path
sec-company-tickers sec global sec_company_tickers ticker Weekly (run_days: [sat], min_age_days: 7; refreshes with every Friday deep run — the O-135 age floor only bites above 7) files/company_tickers.json (host www.sec.gov)
sec-companyfacts sec per_ticker (symbol_scope: capital_cycle_cohort) sec_companyfacts ticker, taxonomy, tag, unit, period_end, filed, accession Weekly (run_days: [sat], min_age_days: 7) api/xbrl/companyfacts/CIK##########.json (host data.sec.gov)
sec-form-index sec global sec_form_index accession Weekly (run_days: [sat], min_age_days: 7); one request per quarter, from the quarter of the newest Silver date_filed (or designed_earliest_date 2016-01-01) through the current quarter Archives/edgar/full-index/{YYYY}/QTR{q}/form.idx (host www.sec.gov)
sec-submissions sec per_ticker (symbol_scope: delisted_cik_match) sec_submissions cik, accession Weekly (run_days: [sat], min_age_days: 7; max_symbol_quantity: 3000 per run) submissions/CIK##########.json (host data.sec.gov)
  • sec-company-tickers: SEC’s ticker → CIK map (https://www.sec.gov/files/company_tickers.json, an index-keyed object of {cik_str, ticker, title}) — one Silver row per EDGAR ticker carrying cik (zero-padded to 10 digits, the form every EDGAR API path uses) and title. SecCompanyTickersDTO upper-cases the ticker, drops a row with no usable CIK (never guessed) and keeps the first of a repeated ticker so the Silver MERGE cannot collapse. Silver DDL: migration 20261020_001_create_silver_sec_company_tickers.sql. Input to the AI Capital-Cycle Monitor’s SEC XBRL source: the companyfacts route resolves each cohort ticker to its CIK here, and a ticker absent from this table is skipped with cause cik_unresolved. Not an input to any factor, gate or signal.
  • sec-companyfacts: SEC XBRL companyfacts for the 21-name capital-cycle cohort (cohort ∩ allowlist) — one long table (brief §3 decision 2), one Silver row per reported fact (ticker, taxonomy, tag, unit, period_end, filed, accession) carrying cik, period_start (NULL for an instant fact), value, fiscal_year, fiscal_period, form and frame. Every key column is NOT NULL (the B-086.1 rule). SecCompanyfactsDTO; Silver DDL: migration 20261020_002_create_silver_sec_companyfacts.sql. Input to the AI Capital-Cycle Monitor (three of the four §A.9 debt-like footnote terms, measured, plus report-only RPO), not to any factor, gate or signal. TASK-6279: period_start is sparse: true — Bronze start is present only on duration facts (about 55% of rows) and absent on every instant fact, so a small or all-instant post-whitelist batch is legitimately empty and no longer trips the B-356.2 warning (it fired on run 261113_66bb8c). The mapping itself is correct; the vendor key is pinned by tests/unit/sbsilver/test_task6279_sparse_vendor_keys_ma_and_companyfacts.py.
  • ⚠ Bronze keeps EVERY fact; Silver keeps only the whitelist. flatten_companyfacts writes every taxonomy (us-gaap, ifrs-full, dei, …), tag and unit the vendor returned; the DTO keeps only the (taxonomy, tag) pairs named by the governed config/capital_cycle/sec_tags.yaml (loaded fail-closed by sbcontracts.sec_tags) at the Bronze → Silver projection, never at fetch (decision 3). Adding a tag is therefore a config edit + promote-silver eow — no migration, no re-fetch. The v1 whitelist is us-gaap only (decision 7): operating_lease_liabilities (OperatingLeaseLiability), leases_not_commenced (LesseeOperatingLeaseLeaseNotYetCommencedAmount), capacity_commitments (UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount, a proxy) and rpo (RevenueRemainingPerformanceObligation). guaranteed_project_debt stays ledger-only. Plus an ifrs-full presence marker (F-523 / TASK-4983, operator decision 2026-10-21): the whitelist’s optional ifrs_presence_tags (Assets) also reaches Silver under taxonomy = ifrs-full, so an ifrs-full filer (TSM’s 20-F) lands ONE marker tag rather than nothing and the reader says ifrs_filer_no_mapping instead of no_filing_as_of. The marker is never read as a value — the readings SQL reads us-gaap only and no term may claim the tag. ⚠ The tag names are not yet confirmed against a live cohort payload (brief §14 Q1) — that is measured at the first off-nightly ingest (operator TASK-4986).
  • Point in time: a fact is knowable on its XBRL filed date (decision 11; the keymap row_date_col). A restatement (same tag + period, later filed) is a new row, never an overwrite, so a reader at as_of takes each fact from its own filed date.
  • sec-form-index (F-533 / SBM-7, TASK-5941): SEC EDGAR’s quarterly full-index form.idx, a fixed-width text file listing every filing of the quarter. Bronze holds the text exactly as served, one Bronze file per quarter (one row {form_idx_text: <text>}); SecFormIndexDTO reads the column offsets from the file’s own header line (never hard-coded widths) and keeps only the Form 25 / 25-NSE rows (sbcontracts.settings.SEC_FORM_INDEX_KEPT_FORMS): one Silver row per filing (accession, form_type, company_name, cik, date_filed, file_name), keyed on the accession taken from the File Name stem, cik zero-padded to 10. Silver DDL: migration 20261109_001_create_silver_sec_form_index.sql. The route enumerates quarters from the quarter of the newest Silver date_filed (re-fetched, because the open quarter’s file grows) or, when Silver is empty, from designed_earliest_date: 2016-01-01 (the bundle window start), through the current quarter. Every fetch returns the whole quarter, so the entry declares silver_row_watermark: none. It is the dead-name CIK source: company_tickers.json lists current registrants only, so a dead name’s CIK comes from its Form 25 (see Delist CIK match below). Within one BronzeService pass _sec_ordered runs it ahead of the per-CIK datasets.
  • sec-submissions (F-533 / SBM-7, TASK-5942): SEC EDGAR submissions (https://data.sec.gov/submissions/CIK##########.json), one Silver row per filing keyed (cik, accession), both NOT NULL (B-086.1), carrying form, filing_date (the row_date_col), report_date, items (the comma-separated 8-K item codes, e.g. 2.01,9.01) and primary_document. flatten_submission_block (copied from the F-319 donor edgar_pit_audit.py parse_recent_filings, never imported) zips the parallel filings.recent arrays; Bronze keeps every filing, unfiltered. Overflow pages (filings.files[]) are fetched only when recent starts inside the evidence window [delisted_date − 365, delisted_date + 30], and then only the pages overlapping it. SecSubmissionsDTO; Silver DDL: migration 20261109_002_create_silver_sec_submissions.sql. Scoped by symbol_scope: delisted_cik_match: one dead symbol per CIK that ops.research_survivorship_delist_cik_match marks matched, minus the CIKs already in silver.sec_submissions, so each CIK is fetched once and again only when its match changes. The CIK comes from the match table, never from silver.sec_company_tickers; a symbol with no match row records cik_unresolved. No symbol_filter_col: dead names are not allowlisted (the company-delisted precedent). silver_row_watermark: none (the whole history arrives on every fetch); max_symbol_quantity: 3000, so the first fill drains over successive runs.
  • Delist CIK match (not a keymap dataset; F-533 / TASK-5943): sbsurvivorship.DelistReasonResolutionService rebuilds ops.research_survivorship_delist_cik_match (migration 20261109_003) in full at the start of every resolve: rule M1 form25_name_date (normalised FMP company_name = normalised Form 25 filer name, filed within ±45 days of delisted_date; two or more distinct CIKs → ambiguous, no CIK), then M2 fmp_targeted_cik (the FMP targeted_cik on the symbol’s R1 M&A row, only when M1 finds nothing), else unmatched. Because the match is built at close-out and the submissions fetch reads it, a death is classified about two deep runs after it lands (match, then submissions, then the EDGAR rules).
  • Consumer: the SBM-7 EDGAR delisting-reason rules in DelistReasonResolutionService (E1 8-K Item 1.03 → performance; E2 8-K Item 2.01 or a merger-proxy / tender form → benign; E3 8-K Item 3.01 with no acquisition evidence → performance), written to ops.research_survivorship_delist_reason with the deciding filing in evidence_accession. Neither dataset is an input to any factor, gate, signal or order.
  • CIK resolution: each cohort ticker resolves to its CIK through silver.sec_company_tickers; a ticker absent there is skipped with cause cik_unresolved, never guessed — so sec-company-tickers must land before sec-companyfacts within a run. Within one BronzeService pass the tickers recipe is ordered first and its fresh map overlays Silver; across EOW batches (the nightly) companyfacts reads the last promoted map, so a first-ever ingest is tickers → promote-silver eow → companyfacts → promote-silver eow.
  • Snapshot, no date (sec-company-tickers): the keymap declares no row_date_col (the company-delisted precedent), so SilverService stamps the synthetic as_of_date and a later snapshot UPSERTs on ticker — a re-pointed ticker updates in place.
  • Source / auth: SEC_DATA_SOURCE (sec) in sbshared.settings.DATA_SOURCES_CONFIG with no API_KEY (SEC has none). SEC Fair Access requires a descriptive User-Agent with a contact email and at most 10 requests/s; the generic Bronze fetch sends no headers, so SEC traffic goes only through SecEdgarClient (sbbronze.domain_ingest.sec_edgar_client), which refuses a blank SB_SEC_USER_AGENT before any request and rate-limits to 8 requests/s. BronzeService routes every source: sec recipe to _process_sec_recipe (TASK-4980, replacing the TASK-4977 interim refusal), so no anonymous SEC traffic can leave the generic path. A ticker that is not fetched is written audit-first as a failed Bronze file whose error names its cause: user_agent_missing (blank SB_SEC_USER_AGENT — zero requests) or cik_unresolved; a failed fetch reads fetch_failed. None of these files promotes or advances the cadence watermark.
  • ⚠ SEC splits its hosts: this file lives on www.sec.gov (BASE_URL), while XBRL companyfacts lives on data.sec.gov (SEC_DATA_BASE_URL).
  • Gold: none — Silver-only (no instrument_sk; see Silver-Only Datasets below).
  • Documentation: SEC — EDGAR application programming interfaces; SEC — Accessing EDGAR data (Fair Access)

Equity Short Interest

Dataset Source Scope Silver Table Key Columns Refresh
equity-short-interest finra global finra_equity_short_interest symbol, settlement_date Weekly (7, Sat)
  • equity-short-interest: FINRA bi-monthly equity short interest regulatory files. Free, auth-free CSV files fetched by FinraFileAdapter from settlement-date-templated URLs. Feeds short interest analytics.
  • Fields: symbol, settlement_date, plus FINRA short interest columns.
  • Sparse flags (B-086.4): revision_flag (vendor revisionFlag, 'R') and stock_split_flag (vendor stockSplitFlag, 'S') are declared sparse: true in the keymap. FINRA sets them on a small minority of rows (measured 2026-11-07: 23,034 and 5,535 of 4,154,714 rows across 311 files), and the {NYSE, NASDAQ} exchange whitelist often drops every flagged row of a batch, so a whole promoted batch can legitimately leave them empty. sparse: true exempts them from the B-356.2 empty-mapped-column warning; the vendor keys are pinned instead by tests/unit/sbsilver/test_b086_4_sparse_vendor_column.py.
  • Symbol filter: symbol_filter_col: symbol
  • No API key required — FINRA publishes auth-free regulatory data.
  • Gold: gold.fact_short_interest (F-070 / TASK-061) — built by GoldFactService._build_fact_short_interest() after _build_fact_annual() in the Gold core phase. Three _f features: short_interest_delta_f, short_interest_change_pct_f, and short_pct_float_f (the last uses fact_annual.weighted_average_shs_out_diluted as a proxy for true float via a point-in-time LEFT JOIN; resolves to NULL when no annual report is yet available).
  • Factor layer (F-299): gold.fact_short_interest now also feeds the factor pool — the platform’s first positioning-style factors, days_to_cover (a new days_to_cover_f column) and short_pct_float (reuses the existing short_pct_float_f column above), both direction: negative, experimental. FactorValueLiftService snaps each factor row’s knowledge date_sk forward to the first US market day on/after settlement_date + 18 calendar days (FINRA’s ~16-18 day dissemination lag) via a new TABLE_DATE_SK_EXPR["fact_short_interest"] entry — no dataset/schema/cadence change here, consumer-side only.
  • Ingestion cadence / n_obs accrual-rate context (TASK-2678): the keymap recipe’s data_source_path (equity/otcmarket/biweekly/shrt{settlement_date}.csv) and run_days: [sat] confirm FINRA settles this file bi-weekly — twice a month, one file per settlement date — not daily. days_to_cover / short_pct_float are nonetheless evaluated by sbdiag.FactorDiagnosticsService against the daily-cadence min_n_obs=60 bar (fact_short_interest is absent from sbdiag.settings.SOURCE_TABLE_CADENCE, so _resolve_cadence falls back to "daily"). At ~2 new settlement dates per month, organic forward accrual alone would take roughly 2.5 years (60 obs ÷ ~2 obs/month) to clear that bar — the 17 observed dates behind the original TASK-2533/2534/2535 finding came from a historical backfill, not from nightly accrual, and further backfill (not the passage of nightly runs) is what will actually move these two factors past min_n_obs. This is a genuine cadence mismatch in the same family as the F-292/LH-26 annual/quarterly-factor defect, but is deliberately not fixed by TASK-2678 — the fix here (insufficient_data status + auto-promote) works correctly regardless of which cadence bucket a factor is evaluated against; reclassifying fact_short_interest’s cadence bucket (e.g. a new "biweekly" CADENCE_PARAMS entry) is a separate, out-of-scope follow-on if the ~2.5-year accrual horizon proves unacceptable in practice.
  • Documentation: FINRA Equity Short Interest

ETF Reference Data (F-343 / EU-2)

Dataset Source Scope Silver Table Key Columns Refresh API Path
etf-info fmp per_ticker fmp_etf_info ticker Weekly (Sat) etf/info?symbol=__ticker__
etf-holdings fmp per_ticker fmp_etf_holdings ticker, asset, updated_date Weekly (Sat) etf/holdings?symbol=__ticker__
  • Domain: etf (new recipe domain registered by F-343). Both datasets are Silver-only (no Gold promotion) — reference data for sector-concentration / correlation modeling.
  • etf-info: One row per ETF profile (expense ratio, AUM, asset class, domicile, inception, sector/country exposure summary). DTO EtfInfoDTO.
  • etf-holdings: N rows per ETF, one per underlying holding (asset symbol, name, weight, shares, market value). DTO EtfHoldingsDTO.
  • etf-holdings history (F-552 / TASK-6589): the key is (ticker, asset, updated_date), so Silver keeps one row per weekly snapshot per holding (updated_date = the date of the vendor’s updatedAt timestamp, e.g. 2026-11-20 18:50 → 2026-11-20). A re-run of the same snapshot MERGEs onto itself (idempotent); a new snapshot inserts new rows. Before F-552 the key was (ticker, asset) and each weekly snapshot overwrote the previous one (since 2026-08-06); Bronze kept every file, and the history is recovered by the operator re-promote TASK-6594. A row with no updatedAt cannot be keyed and is refused by EtfHoldingsDTO with one named log line per batch (etf_holdings_null_updated_date_refused, with the count). weight_pct is in percent (7.7 = 7.7 %). Lines in one snapshot that share the Silver key (ticker, asset, updated_date) (e.g. several blank-asset cash, bond and swap lines) are summed into one row by the DTO before the MERGE (B-552.1), so no line’s weight is lost.
  • Symbol scope: both carry the declarative symbol_scope: etf keymap field, which scopes ingestion via IngestPlannerService to is_etf=TRUE allowlist symbols only (gated on SB_ALLOW_ETFS=ON, on since F-247).
  • Gold: etf-info has none. etf-holdings feeds gold.fact_etf_holding (F-552 / EU-4: one row per ETF snapshot holding, resolved to instrument_sk, with the knowledge date) and through it the ETF Fundamental Proxies (gold.fact_etf_fundamental_proxy).
  • Weekly cadence (F-355 / EU-5 → F-356 / EU-6): both datasets are folded into the EOW cadence bucket via the executor’s EOW Bronze+Silver phase (merged into result.eow). They auto-ingest deterministically on the weekly deep run (Friday NIGHTLY_FULL, or an ad-hoc --research-mode nightly-full), where the ETF nightly seam rides force_weekly=True → bypass_run_days=True past the run_days:[sat] weekday gate — and past the min_age_days:6 floor with it, since that flag nulls the ingestion watermark (B-102.1; the earlier “min_age_days:6 still gates” was false). A deep run is an operator-requested weekly refresh, so forcing it is the intent; reconciling the two BronzeService cadence paths is Fix C, deferred. This corrects F-355’s wording — the seam previously used bypass_run_days=False and so was rejected on every scheduled Mon–Fri nightly; it now actually fires each Friday. Renders under the weekly group on the Data-hub inventory. The ingest-etf CLI remains the on-demand path.
  • Tier-4: the live Bronze pull + constraint-7 field-casing verification + Silver promote is an operator step (TASK-2948).
  • Documentation: FMP /stable/ ETF Info | FMP /stable/ ETF Holdings

Gold Layer Summary

Gold tables are built from Silver data by GoldDimService, GoldFactService, and GoldIndexService. No Silver table is modified during Gold promotion.

Dimension Tables

Table Type Source
dim_date Static SQL bootstrap
dim_instrument_type Static SQL bootstrap
dim_country Static SQL bootstrap
dim_exchange Static SQL bootstrap
dim_sector Static SQL bootstrap
dim_industry Static SQL bootstrap
dim_index Static SQL bootstrap (SP500, NASDAQ100, DJIA)
dim_instrument Data-derived company-profile-bulk + company-delisted
dim_company Data-derived company-profile-bulk

Fact Tables

Table Source Datasets Grain
fact_eod eod-bulk-price (+ _f feature columns computed by EodFeatureService / TechnicalFeatureService, incl. F-266 seasonality_same_month_f — same-calendar-month return seasonality, Heston-Sadka 2008) (instrument_sk, date_sk)
fact_quarter quarterly income + balance sheet + cashflow + key metrics (instrument_sk, period_date_sk, period)
fact_annual annual income + balance sheet + cashflow + key metrics + ratios (instrument_sk, period_date_sk)
fact_stock_split stock-split (instrument_sk, split_date)
fact_index_constituent sp500/nasdaq100/djia constituent history (index_sk, instrument_sk, effective_from)
fact_analyst_estimates analyst-estimates (annual + quarter) (instrument_sk, fiscal_year, fiscal_quarter)
fact_earnings_surprises earnings-surprises (instrument_sk, date_sk)
fact_eps_forecast analyst-estimates + earnings-surprises (instrument_sk, fiscal_year, fiscal_quarter)
fact_fundamental_annual annual fundamentals + market cap (built by FundamentalFactorService) (instrument_sk, fiscal_year)
fact_signal_score _f predictors from fact_eod + fact_fundamental_annual (built by MLSignalService); one row per (instrument_sk, score_date_sk, model_id) so multiple algorithm/hyperparam variants coexist (instrument_sk, score_date_sk, model_id)
fact_portfolio_target per-instrument target weights from a portfolio construction algorithm (built by PortfolioConstructionService); one row per (portfolio_id, instrument_sk, rebalance_date_sk) so multiple algorithm/hyperparam variants coexist (portfolio_id, instrument_sk, rebalance_date_sk)
fact_analyst_grade grades (F-450) — lifecycle-aware ipo_date/delisting_date instrument join; grade_ordinal NULLABLE (unmapped vendor strings resolve to NULL, never coerced). Display / diagnostics only — never a backtest panel (see the EOW Analyst Grades section) (instrument_sk, date_sk, grading_company, new_grade)
fact_screener month-end snapshot joining fact_eod price/technical features + fundamentals + composite_signal_s from fact_signal_score + target_weight_w from fact_portfolio_target (instrument_sk, rebalance_date_sk)

Fundamentals knowledge-date dissemination lag (F-442 / LH-29, default OFF): the factor knowledge date_sk derived from the four reported-fundamentals tables — fact_fundamental_quarter, fact_fundamental_annual, fact_valuation_annual, fact_moat_annual — carries an optional dissemination lag (switch SB_FUNDAMENTALS_DISSEMINATION_LAG_ENABLED, sbfactors.settings; default OFF → byte-identical). When ON, the knowledge date is pushed to period-end + N calendar days (quarterly +60d / annual +90d) snapped forward to the first US market day, so factor values are stamped on-or-after the provable SEC filing date (closing the F-319 EDGAR PIT look-ahead). Announcement-grain / estimate / short-interest tables (fact_earnings_momentum, fact_eps_forecast, fact_short_interest) are excluded — already PIT-safe.

Event-dated factor forward-fill onto the daily grid (F-359): a factor may declare research.forward_fill_market_days: N (factor YAML research: block). When present, the lift emits daily-dense gold.fact_factor_value rows — carrying each event value forward from its knowable date_sk up to N market days, capped at the next event, carry-forward only (PIT-safe). sue_f declares 63 md (PEAD drift window, anchored on the earnings-announcement date), so sue_f is daily-dense in fact_factor_value while its source table fact_earnings_momentum stays event-grain (one row per announcement). earnings_growth_qoq_f also declares 63 md since TASK-3118 and is likewise daily-dense in fact_factor_value while its source fact_fundamental_quarter stays quarter-grain — but only because the dissemination lag above is enforced: the lift anchors the carry on the RESOLVED knowledge date_sk (first US market day on/after period-end + 60 calendar days), never the quarter-end period_date_sk, which is a period-END proxy ~40–60 days before the actual SEC filing. With the lag switch OFF the same declaration would carry each quarter’s value across the whole pre-filing window — a look-ahead wider than the pre-F-359 one. Factors without the key stay event-grain in fact_factor_value, byte-identical to the exact-date_sk lift.

Silver-Only Datasets (No Gold Promotion)

Silver Table Reason
fred_dgs10 No instrument_sk FK — macro time-series
fred_usrecm No instrument_sk FK — macro indicator
fred_dgs1mo No instrument_sk FK — macro time-series
fred_dgs3mo No instrument_sk FK — macro time-series
fred_dgs1 No instrument_sk FK — macro time-series
fred_dgs2 No instrument_sk FK — macro time-series
fred_dgs5 No instrument_sk FK — macro time-series
fred_dgs30 No instrument_sk FK — macro time-series
fred_t10y2y No instrument_sk FK — macro time-series
fred_baa10y No instrument_sk FK — macro time-series
fred_vixcls No instrument_sk FK — macro time-series
fred_bamlh0a0hym2 / fred_bamlc0a0cm / fred_bamlc0a4cbbb / fred_pcu518210518210 No instrument_sk FK — macro time-series (F-489 / TASK-4397)
fred_release_dates_cpi / fred_release_dates_employment / fred_release_dates_gdp / fred_release_dates_fomc No instrument_sk FK — market-wide macro release calendar (F-554 / TASK-6615)
fred_dexuseu / fred_dexusuk / fred_dexusal / fred_dexusnz / fred_dexcaus / fred_dexjpus / fred_dexnous / fred_dexszus / fred_dexbzus / fred_dexmxus / fred_dexchus / fred_dexinus / fred_dexkous / fred_dexsius / fred_dextaus / fred_dexsdus / fred_dexdnus / fred_dexsfus / fred_dexhkus / fred_ccusma02ilm618n No instrument_sk FK — FX rate time-series (TASK-3143; ILS via OECD monthly CCUSMA02ILM618N, task_6f964919)
fmp_market_risk_premium No instrument_sk FK — country-level data
kenneth_french_factors No instrument_sk FK — market-wide factor return series
fmp_etf_info Reference data (F-343 / EU-2); Gold facts + holding→instrument_sk resolution deferred to EU-4
fmp_etf_holdings Reference data (F-343 / EU-2); Gold facts + holding→instrument_sk resolution deferred to EU-4
fmp_revenue_product_segmentation_quarter Capital-cycle cohort evidence (F-492 / ACC-2); no Gold promotion
fmp_earnings_transcript_index Capital-cycle cohort transcript ledger (F-492 / ACC-2); no Gold promotion
fmp_earnings_transcript Raw transcript text for the capital-cycle cohort (F-492 / ACC-2); no Gold promotion
openrouter_model_prices No instrument_sk FK — daily LLM model-price accumulator (F-494 / ACC-1b)
census_construction_data_center No instrument_sk FK — monthly data-center construction-spending series (F-494 / ACC-1b)
sec_company_tickers No instrument_sk FK — SEC EDGAR ticker → CIK map (F-523 / ACC-3)
getdeploying_gpu_prices_weekly No instrument_sk FK — GPU rental prices (F-531 / ACC-13)
sec_companyfacts Capital-cycle cohort SEC XBRL facts, whitelist-filtered (F-523 / ACC-3); no Gold promotion
sec_form_index No instrument_sk FK — SEC EDGAR Form 25 / 25-NSE filings, the dead-name CIK source (F-533 / SBM-7)
sec_submissions Per-filing SEC EDGAR submissions of matched dead-name CIKs (F-533 / SBM-7); no Gold promotion

Bespoke reference tables (not in config/dataset_keymap.yaml). The following Silver table is populated by a dedicated fetch→Silver service that bypasses the Bronze recipe engine entirely, so it has no keymap entry and no Bronze parquet behind it. Its provenance is a lightweight fetched_at / source_url pair rather than the standard §10.4 3-column Bronze lineage:

  • kenneth_french_factors (F-316): the Kenneth R. French Data Library factor-return series — Fama-French 5-factor (mkt_rf/smb/hml/rmw/cma), Carhart momentum (umd), and the risk-free rate (rf), keyed on (date, frequency) with frequency ∈ {daily, monthly}. Fetched via sbops.kenneth_french_service.KennethFrenchFactorService (stdlib urllib/zipfile, no new runtime dependency); values are stored as decimals (French serves percent). The live download is a Tier-4 operator step. A keymap identity entry was deferred (it would require editing the F-102 exact-count inventory guard for no runtime benefit — the table is populated out of band).

Designed Earliest Date

The designed_earliest_date field on each dataset entry in config/dataset_keymap.yaml is the per-dataset commitment of how far back the platform aspires to ingest. Used by the Combined Coverage Heatmap (F-083) to draw the green per-row marker and to contextualize gaps in MIN(coverage_from) against design intent. null indicates a forward-looking or snapshot dataset where historical depth does not apply.

Dataset Discriminator Designed Earliest Notes
eod-bulk-price — 1980-01-01 Matches platform FROM_DATE.
eod-price-history — 1980-01-01 Per-ticker delisted backfill; nightly Split Re-fetch (B-448.12).
company-profile-bulk — — Snapshot.
company-delisted — — Snapshot.
income-statement-bulk-quarter — 1985-01-01 Conservative per-symbol floor.
balance-sheet-bulk-quarter — 1985-01-01
cashflow-bulk-quarter — 1985-01-01
key-metrics-bulk-quarter — 1985-01-01
income-statement-bulk-annual — 1985-01-01
balance-sheet-bulk-annual — 1985-01-01
cashflow-bulk-annual — 1985-01-01
key-metrics-bulk-annual — 1985-01-01
ratios-bulk-annual — 1985-01-01
sp500-constituent-history — — Change-log of current-as-of constituents.
nasdaq100-constituent-history — — Change-log.
djia-constituent-history — — Change-log.
stock-split — 1980-01-01
analyst-estimates annual — Forward-looking.
analyst-estimates quarter — Forward-looking.
earnings-surprises — 1980-01-01 Pull-back to platform floor.
revenue-product-segmentation FY — Vendor returns full available FY history per symbol.
revenue-geographic-segmentation FY — Vendor returns full available FY history per symbol.
market-risk-premium — — Snapshot.
fred-dgs10 — 1962-01-02 FRED series start.
fred-usrecm — 1900-01-01 Clamped to align with the pre-1960 bucket.
fred-dgs1mo — 2001-07-31 FRED series start.
fred-dgs3mo — 1982-01-04 FRED series start.
fred-dgs1 — 1962-01-02 FRED series start.
fred-dgs2 — 1976-06-01 FRED series start.
fred-dgs5 — 1962-01-02 FRED series start.
fred-dgs30 — 1977-02-15 FRED series start.
fred-t10y2y — 1976-06-01 FRED series start.
fred-baa10y — 1986-01-02 FRED series start.
fred-vixcls — 1990-01-02 FRED series start.
fred-bamlh0a0hym2 / fred-bamlc0a0cm / fred-bamlc0a4cbbb — 1996-12-31 ICE series start; FRED returns only a rolling 3 years, so history accumulates from first ingest (F-489).
fred-pcu518210518210 — 2000-12-01 FRED series start (Index Dec 2000=100).
fred-release-dates-cpi / fred-release-dates-employment / fred-release-dates-gdp / fred-release-dates-fomc — — Not set; FRED decides how far back each release calendar goes (realtime_start: '1776-07-04'). TASK-6616 records the earliest date per release (F-554).
fred-dexuseu … fred-dexhkus (19 daily DEX*) + fred-ccusma02ilm618n (ILS, monthly OECD) — 1971-01-04 (DEX*) / 1957-01-01 (ILS) Conservative floor; FRED returns from each series’ actual start (TASK-3143; ILS is OECD monthly, task_6f964919).
sec-form-index — 2016-01-01 The bundle window start; the quarter enumeration starts here when Silver is empty (F-533).
equity-short-interest — 2007-01-01 FINRA reporting begins 2007.

Vendor Earliest Date

The vendor_earliest_date field is the hard runtime floor on the dataset — the earliest period the upstream vendor actually serves data for. Distinct from designed_earliest_date (aspirational depth). Consumed by the F-082 quarter_ingest_schedule and annual_ingest_schedule prechecks (TASK-325) to clamp the history-extension window to max(FROM_DATE, vendor_earliest_date), so the schedule never asks FMP for a period it returns empty for.

Seeded from observed MIN(date) of each Silver table after multiple nightly runs. Update this field when the vendor extends coverage (lowering the floor) or when we learn of a stricter floor than what’s currently set. null (or omitted) means no known floor; the precheck falls back to FROM_DATE.

Dataset Vendor Earliest Source of observation
income-statement-bulk-quarter 1984-12-31 silver_min on run 260513_7e0c61
balance-sheet-bulk-quarter 1983-06-30 silver_min on run 260513_7e0c61
cashflow-bulk-quarter 1985-06-30 silver_min on run 260513_7e0c61; FMP returned empty for all 4 quarters in 1984.
key-metrics-bulk-quarter 1983-06-30 silver_min on run 260513_7e0c61
income-statement-bulk-annual 1983-12-31 FMP returned empty for year=1982 on run 260513_7e0c61.
balance-sheet-bulk-annual 1983-12-31 same
cashflow-bulk-annual 1983-12-31 same
key-metrics-bulk-annual 1983-12-31 same
ratios-bulk-annual 1983-12-31 same

Per-Dataset Ingest Caps (F-102)

The max_date_quantity and max_symbol_quantity keymap fields (F-102) replace the four global INGEST_*_COUNT constants formerly in sbshared.settings. The planner (sbbronze.ingest_planner.IngestPlannerService) reads these caps to decide:

  • DateList variant — (ticker_scope=global, date_key set, max_date_quantity > 1). Planner returns up to max_date_quantity ISO dates to ingest.
  • SnapshotGate variant — (date_key=null OR max_date_quantity=null OR max_date_quantity=1). Planner returns a bool gate (ingest yes/no).
  • SymbolList variant — (ticker_scope=per_ticker). Planner returns up to max_symbol_quantity symbols (or all allowlisted when null).
Dataset Discriminator Variant max_date_quantity max_symbol_quantity
eod-bulk-price — DateList 20 —
company-profile-bulk — Snapshot null —
income-statement-bulk-quarter — DateList 4 —
balance-sheet-bulk-quarter — DateList 4 —
cashflow-bulk-quarter — DateList 4 —
income-statement-bulk-annual — DateList 4 —
balance-sheet-bulk-annual — DateList 4 —
cashflow-bulk-annual — DateList 4 —
key-metrics-bulk-quarter — DateList 4 —
key-metrics-bulk-annual — DateList 4 —
ratios-bulk-annual — DateList 4 —
fred-dgs10 — DateList 8 —
fred-usrecm — DateList 8 —
fred-dgs1mo — DateList 8 —
fred-dgs3mo — DateList 8 —
fred-dgs1 — DateList 8 —
fred-dgs2 — DateList 8 —
fred-dgs5 — DateList 8 —
fred-dgs30 — DateList 8 —
fred-t10y2y — DateList 8 —
fred-baa10y — DateList 8 —
fred-vixcls — DateList 8 —
fred-bamlh0a0hym2 — DateList 8 —
fred-bamlc0a0cm — DateList 8 —
fred-bamlc0a4cbbb — DateList 8 —
fred-pcu518210518210 — DateList 8 —
fred-release-dates-cpi — DateList 8 —
fred-release-dates-employment — DateList 8 —
fred-release-dates-gdp — DateList 8 —
fred-release-dates-fomc — DateList 8 —
fred-dexuseu … fred-dexhkus (19 daily DEX*) + fred-ccusma02ilm618n (ILS monthly) — DateList 8 —
market-risk-premium — Snapshot null —
company-delisted — Snapshot null —
mergers-acquisitions — Snapshot null —
symbol-change — Snapshot null —
sp500-constituent-history — Snapshot null —
nasdaq100-constituent-history — Snapshot null —
djia-constituent-history — Snapshot null —
stock-split — SymbolList null null
eod-price-history — SymbolList null null
analyst-estimates annual SymbolList null null
analyst-estimates quarter SymbolList null null
earnings-surprises — SymbolList null null
grades — SymbolList null null
revenue-product-segmentation FY SymbolList null null
revenue-geographic-segmentation FY SymbolList null null
revenue-product-segmentation quarter SymbolList null null
earnings-transcript-index — SymbolList null null
earnings-transcript — SymbolList (bespoke ingester only — never planned) null null
openrouter-model-prices — Snapshot null —
census-construction-data-center — Snapshot null —
sec-company-tickers — Snapshot null —
sec-companyfacts — SymbolList null null
sec-form-index — Snapshot (one request per enumerated quarter) null —
sec-submissions — SymbolList (delisted_cik_match) null 3000
getdeploying-gpu-prices-weekly — Snapshot null —
equity-short-interest — DateList 8 —

When introducing a new dataset, set max_date_quantity per the variant intent. Defaults: 20 for daily EOD-style data, 8 for weekly cadences, 4 for quarterly/annual fundamentals, null for snapshots.

Self-healing gap-fill (O-093 / TASK-2812): the nightly bulk EOD ingest plan (eod-bulk-price) forward-fills up to max_date_quantity (20) missed market days per night, so a single run can absorb roughly a four-week outage. In the no-backlog steady state the plan is still just [today] (or [] on a non-market day); the cap only affects the saturated/outage path.


Quick Reference

Metric Count
Total datasets (keymap entries) 78
DateList variant (F-102) 50
Snapshot variant (F-102) 13
SymbolList variant (F-102) 15
Global-scope datasets 63
Per-ticker datasets 15 (sec-companyfacts, sec-submissions, stock-split, eod-price-history, analyst-estimates ×2, earnings-surprises, grades, etf-info, etf-holdings, revenue-product-segmentation ×2 (FY + quarter), revenue-geographic-segmentation, earnings-transcript-index, earnings-transcript)
FMP datasets 31
FRED datasets 39
FINRA datasets 1
OpenRouter datasets 1
Census datasets 1
SEC datasets 4
GetDeploying datasets 1
Daily refresh (eod) 3
Daily refresh (eow, openrouter-model-prices) 1
Weekly refresh (Tue, eow, getdeploying-gpu-prices-weekly) 1
Weekly refresh (Sat, eow) 62 (re-derived from the keymap 2026-11-28, F-554 verify; the row had drifted below the keymap before F-554; incl. sec-company-tickers, sec-companyfacts, sec-form-index, sec-submissions, symbol-change, census-construction-data-center, a monthly series refetched weekly, and earnings-transcript, whose declared run_days: [sat] is never planned — bespoke CLI only)
Monthly refresh 2
Quarterly refresh 2
Yearly / cadence refresh 2
Gold fact tables 13 (listed above; fact_short_interest + fact_revenue_segment also exist and are documented in their own dataset sections)
Gold dimension tables 9 (7 static + 2 data-derived)