Build the timestamp at which a macro number becomes tradeable - release date, clock time, timezone - and know where the release mechanics changed under your sample. TRIGGER - release calendar, economic calendar, release date vs reference date, available_at, as-of join on a macro series, "when was this number published", 8:30 ET, embargo, press lock-up, media lockup, pre-release access, WASDE noon, EIA Wednesday 10:30, natural gas storage Thursday, holiday release schedule, "why is my macro feature one day early", forward-fill a monthly series onto daily bars, DST offset on a release timestamp, event-study window around a print. SKIP for vintages and revisions to the value itself (real-time-macro-backtesting), for where the series live (fundamental-and-macro-data), for exchange sessions and holidays (us-market-rules), and for measuring fills you already have (execution-cost-analysis).
Ships in fin-macro. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A macro observation has two timestamps and most pipelines carry the wrong one. The reference period says what the number is about. The release timestamp says when it began to exist. Joining on the first is the most common look-ahead in macro research; joining on the release date without its clock time is the one that survives review.
And the release mechanics are not constant. USDA stopped admitting reporters to its lock-up on 2018-08-01; DOL abolished its lock-up entirely on 2020-06-03. A backtest that spans either date is pricing two different microstructures with one fill assumption.
Everything marked ✅ Measured is printed by scripts/release_calendar.py (numpy + pandas, seed
20260909, under 1 s, no network). Every date, time and schedule below was read at the
primary source on 2026-09-09.
| when | agency | what changed | ✅ source |
|---|---|---|---|
| 2018-08-01 | USDA NASS | "NASS used to allow pre-release media Lockup access, but that policy has changed, effective August 1, 2018" | nass.usda.gov/About_NASS/ASB_and_Lockup/Lockup_QA.pdf, dated 2018-07-10, read in full |
| 2020-03-04 | DOL | commits to "at least 14 calendar days' notice before implementing any policy changes related to pre-release media lock-ups" | BLS Commissioner's letter, 2020-05-19 |
| 2020-03-20 | DOL | "suspend all pre-release media lock-ups until further notice" (COVID-19) | same letter |
| 2020-06-03 | DOL | "effective June 3, 2020, the Department will permanently discontinue media lock-ups for all releases" | same letter; Federal Register 85 FR 31810, 2020-05-27, doc 2020-11297 |
✅ source-verified, the BLS Commissioner's own letter: "BLS and DOL's Employment and Training Administration (ETA) will continue to make their data available to the general public immediately upon their 8:30AM Eastern Time release through the Web and other sources." The Federal Register notice describes what ended: the lock-up gave journalists "a period of time (typically 30 minutes) to review data prior to the official release time."
🚨 The letter also says, quoting DOL Inspector General Report 17-14-001-03-315 (2014-01-02), exactly what that half-hour was worth:
"Several news organizations that participate in the DOL press lock-up are able to profit from their presence in the lock-up by selling, to traders, high speed data feeds of economic data formatted for computerized algorithmic trading. Because these news organizations have pre-release access, they are able to pre-load the data … allowing their clients to get this information faster than the general public, which has to wait to download the data after it gets posted to the Department of Labor websites."
Pre-loaded, machine-readable, on the tape at 08:30:00.000. That mechanism does not exist after 2020-06-03. §5 prices the difference.
🔑 USDA ended media access but kept its own lock-up, and its description is the clearest statement of what an embargo is. ✅ source-verified, NASS's own Q&A: "an officer is stationed at the single entry point, the doors are locked and alarmed, the windows are covered with shades that are secured with tamper resistant seals, and all telephone and Internet connections are switched off … Everyone entering Lockup leaves cell phones and other wireless devices outside and signs an agreement to that effect. Additionally, the Lockup area is continually monitored for cell phone and wireless transmissions." And: "Not even the Secretary of Agriculture knows a report's contents until he enters the Lockup area to sign the report just prior to release."
| agency | release | clock (agency local) | day rule | ✅ source |
|---|---|---|---|---|
| BLS | Employment Situation, CPI | 08:30 ET | first Friday / mid-month weekday | BLS letter above |
| USDA | WASDE | 12:00 ET | a day between the 8th and 12th | usda.gov WASDE page |
| EIA | Weekly Petroleum Status Report | 10:30 ET, full report 13:00 ET | Wednesday | eia.gov/petroleum/supply/weekly/schedule.php |
| EIA | Weekly Natural Gas Storage Report | 10:30 ET | Thursday | ir.eia.gov/ngs/schedule.html |
| BEA | GDP advance / second / third | 08:30 ET | monthly, by quarter | ⚠️ not read at a primary source in this pass |
⚠️ BEA is Commerce, not Labor. The 2020 DOL policy does not reach it; do not assume one department's embargo history applies to another's releases.
⚠️ Whether EIA operates a lock-up is not verified in this pass. ⚠️ There was also an earlier, superseded DOL policy barring electronic devices from the lock-up room — the Commissioner's letter cites it as "85 Fed. Reg. 7333" but its effective date was not verified here, so it is not in the timeline above.
available_at, and the offset that moves twice a yeardef available_at(release_date, clock="08:30", tz="America/New_York"):
return pd.Timestamp(f"{release_date} {clock}").tz_localize(tz).tz_convert("UTC")
🚨 A fixed UTC offset is wrong for part of every year, silently. ✅ Measured on 72 monthly
08:30 ET releases (2017–2022): 25 of them are UTC−5 and 47 are UTC−4. Hardcode the modal
offset and 25 of 72 releases (35 %) are stamped one hour off — always in the same season,
which is why it reads as a seasonal effect rather than a bug. 2017-01-06 08:30 ET is
13:30Z; 2017-07-07 08:30 ET is 12:30Z.
✅ Measured on EIA's own published schedules, 2025–2026:
| report | nominal | published exceptions | on a different weekday | latest shift | clock times actually used |
|---|---|---|---|---|---|
| Weekly Petroleum Status | Wed 10:30 ET | 14 | 14 | +6.5 h | 10:30, 11:00, 12:00, 17:00 |
| Weekly Natural Gas Storage | Thu 10:30 ET | 9 | 9 | +1.5 h | 10:30, 12:00 |
🚨 The worst single case is Monday 2025-12-29 at 17:00 ET — a different weekday and six and a half hours later, for a report your code believes lands Wednesday morning. Every one of those is an observation your join attaches to the wrong session. Read the agency's schedule file; do not infer the rule from the modal weekday.
⚠️ The same applies to BLS: the Employment Situation is usually the first Friday, but BLS shifts
it around holidays and the annual benchmark. The script's payroll_release_dates() is a
stand-in and says so.
A monthly series joined to daily decisions, 2017–2022, 1,541 business days. "Look-ahead" is the gap between the decision instant and the moment the value used actually existed.
Decisions at the 09:30 ET open:
| stamp | days with look-ahead | share | mean | max |
|---|---|---|---|---|
| reference period start | 1,540 | 99.9 % | 18.5 days | 37.0 days |
| reference period end | 230 | 14.9 % | 2.4 days | 7.0 days |
| release date, midnight | 0 | 0.0 % | — | — |
| release timestamp | 0 | 0.0 % | — | — |
Decisions at 06:00 ET (pre-market, or a previous-close fill):
| stamp | days with look-ahead | share | mean | max |
|---|---|---|---|---|
| reference period start | 1,541 | 100.0 % | 18.7 days | 37.1 days |
| reference period end | 302 | 19.6 % | 2.0 days | 7.1 days |
| release date, midnight | 72 | 4.7 % | 2.5 h | 2.5 h |
| release timestamp | 0 | 0.0 % | — | — |
🚨 Indexing by reference period is not a subtle bug: every single day of the sample trades on a number that does not exist yet, by 18 days on average.
🔑 And stamping at the release date survives the 09:30 test by luck. The print lands at
08:30, before the decision, so midnight-stamping looks clean — until the decision moves
earlier. At 06:00 it hands you the number 2.5 hours early on all 72 release days. A
convention that is correct for one decision clock and wrong for another is not a convention;
it is an accident. pd.Series.resample("D").ffill() on a period-indexed macro series produces
the first row of both tables.
⚠️ The two half-lives here are the script's own assumption (40 ms with the lock-up, 1,500 ms without). What is ✅ source-verified is their ordering and its cause — the DOL Inspector General's finding in §1 that lock-up participants pre-loaded the data into algorithmic feeds while the public waited to download a file.
✅ Measured — share of the release move already in the price when your order arrives:
| latency | lock-up era | after 2020-06-03 |
|---|---|---|
| 10 ms | 15.9 % | 0.5 % |
| 50 ms | 58.0 % | 2.3 % |
| 250 ms | 98.7 % | 10.9 % |
| 1,000 ms | 100.0 % | 37.0 % |
| 5,000 ms | 100.0 % | 90.1 % |
✅ Measured — a strategy that reads the print and takes liquidity at 250 ms, 260 weekly events straddling the boundary:
| events | captured before you arrive | true edge | |
|---|---|---|---|
| before 2020-06-03 | 126 | 98.7 % | 0.23 bp |
| after 2020-06-03 | 134 | 10.9 % | 16.48 bp |
| one spliced assumption (50 % everywhere) | 260 | 50 % | reports 9.09 bp throughout |
🚨 Overstated by 8.69 bp before the change, understated by 7.23 bp after — and off by +0.48 bp on the full sample. The two errors nearly cancel in aggregate, which is exactly why nobody notices: the headline number looks fine and every year of it is wrong. Split the sample at 2020-06-03 (and at 2018-08-01 for USDA releases), fit the fill assumption on each side, or start the sample after the change.
../seasonal-adjustment-and-x13/SKILL.md).interpolate() on a macro series. Interpolation is bidirectional: it pulls a future
release backwards into days before it existed. Forward-fill from available_at, and let the
gaps be gaps. ../../../fin-market-data/skills/fundamental-and-macro-data/SKILL.md §5 states the
rule; this skill supplies the timestamp it needs.../real-time-macro-backtesting/SKILL.md.../../../fin-core/skills/backtest-validation/scripts/trial_ledger.py, and run the feature
through ../../../fin-core/skills/signal-construction/scripts/assert_causal.py.scripts/release_calendar.py — the verified release-time table and embargo timeline,
available_at() and the DST audit, the EIA holiday-shift audit over the agency's own published
exceptions, the four-stamp as-of join at two decision clocks, and the latency/capture splice
study. numpy + pandas, seed 20260909, under 1 s, no network.
../real-time-macro-backtesting/SKILL.md.../seasonal-adjustment-and-x13/SKILL.md.../macro-regime-and-recession-indicators/SKILL.md.available_at = max(publication, retrieval, processing)) and
the filing-date version of this bug —
../../../fin-core/skills/research-integrity-guards/SKILL.md §2.../../../fin-market-data/skills/fundamental-and-macro-data/SKILL.md.../../../fin-core/skills/us-market-rules/SKILL.md.../../../fin-core/skills/execution-cost-analysis/SKILL.md.What SKILL.md sets; muted values are Claude Code's defaults
/fin-macro:macro-release-calendar-and-embargofrom fin-macro
npx claudepluginhub howard-lynn-ye/fin-rsi --plugin fin-macro5 skills in this plugin
/gdp-nowcasting-dynamic-factorNowcast the quarter you are in from monthly data with a ragged edge, using statsmodels' DynamicFactorMQ - and score it against the benchmarks it has to beat. TRIGGER - nowcast, nowcasting, GDPNow, Atlanta Fed GDP tracker, New York Fed Staff Nowcast, DynamicFactorMQ, endog_quarterly, k_endog_monthly, fit_em, dynamic factor model, mixed frequency, monthly and quarterly in one model, ragged edge, jagged edge, unbalanced panel, Mariano-Murasawa, Banbura Modugno, bridge equation, MIDAS, "how do I combine monthly indicators into a GDP forecast", news decomposition of a data release. SKIP for the Kalman filter and smoother themselves (state-space-and-kalman), for univariate forecasting and its baselines (time-series-forecasting-models), for release timestamps (macro-release-calendar-and-embargo), and for vintages of the inputs (real-time-macro-backtesting)./macro-regime-and-recession-indicatorsRecession probabilities, the Sahm rule and yield-curve inversion - and the fact that the NBER label they are all scored against was assigned years after the fact. TRIGGER - USREC, NBER recession dates, recession indicator, recession probability, recession dummy, "recession-aware" strategy, regime flag from FRED, RECPROUSM156N, Sahm rule, SAHMREALTIME, SAHMCURRENT, "unemployment rose 0.5 points", yield curve inversion, T10Y3M, T10Y2Y, 2s10s, inverted curve recession signal, "how long after inversion", business cycle dating, "when did NBER announce", labelling recessions for a classifier. SKIP for fitting HMMs and the smoothed-versus-filtered timing of estimated regimes (regime-detection), for the vintage A/B on a macro strategy (real-time-macro-backtesting), for nowcasting GDP itself (gdp-nowcasting-dynamic-factor), and for where the underlying series live (fundamental-and-macro-data)./real-time-macro-backtestingRun a macro strategy twice - once on today's revised series and once on the vintage that existed at each decision date - and report both Sharpes. TRIGGER - real-time data, vintage data, data vintages, point-in-time macro, ALFRED, realtime_start, realtime_end, vintage_dates, get_series_as_of_date, first release vs latest, initial estimate, "my macro backtest uses revised data", "does this have look-ahead", payroll revisions, GDP revisions, annual benchmark revision, QCEW benchmark, restated macro history, as-of join on a macro series, "which number did I actually see on the day". SKIP for where to GET the series and the fredapi bugs (fundamental-and-macro-data), for release times and embargo mechanics (macro-release-calendar-and-embargo), for seasonal-adjustment revisions specifically (seasonal-adjustment-and-x13), for recession labels assigned after the fact (macro-regime-and-recession-indicators), and for company fundamentals rather than macro (fundamental-and-macro-data)./seasonal-adjustment-and-x13Seasonal adjustment is a second, silent vintage - the published seasonally adjusted history keeps changing with no new data. TRIGGER - seasonally adjusted, SA vs NSA, "why did last year's number change", concurrent seasonal adjustment, seasonal factors, X-13ARIMA-SEATS, X-13, X-12-ARIMA, x13_arima_analysis, X13NotFoundError, "x12a and x13as not found on path", X13PATH, statsmodels seasonal_decompose, STL, ratio to moving average, annual re-adjustment, benchmark revision, "the seasonal factors were revised", residual seasonality, seasonally adjusting a series myself. SKIP for revisions to the underlying unadjusted value (real-time-macro-backtesting), for release timing (macro-release-calendar-and-embargo), for where the series live (fundamental-and-macro-data), and for general time-series decomposition and forecasting (time-series-forecasting-models).Other plugins' skills for the same job