8-k-scanner
Scan SEC 8-K disclosures across a single ticker or a watchlist using Massive's pre-parsed disclosure taxonomy. Groups the underlying rows by filing (one 8-K…
Estimate the half-life of a candidate signal by computing rolling information coefficient (IC) vs forward returns over a 5-year window and fitting an exponential decay to the IC series. Motivated by 2024-25 factor decay literature showing most published signals have decayed
$ npx -y skills add rgourley/quant-garage --skill signal-decay --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/signal-decayContext preview
The summary Claude sees to decide when to auto-load this skill.
Estimate the half-life of a candidate signal by computing rolling information coefficient (IC) vs forward returns over a 5-year window and fitting an exponential decay to the IC series. Motivated by 2024-25 factor decay literature showing most published signals have decayed
name: signal-decay description: Estimate the half-life of a candidate signal by computing rolling information coefficient (IC) vs forward returns over a 5-year window and fitting an exponential decay to the IC series. Motivated by 2024-25 factor decay literature showing most published signals have decayed sharply post-publication. Reports the fitted half-life in trading days, the recent vs early IC delta (regime break check), and a full performance tearsheet on the signed-signal PnL. Four built-in signals: momentum, mean_reversion, vol_expansion, trend_break. Requires Stocks Basic. Runs on the free tier.
You hand over a ticker and pick a candidate signal (momentum, mean-reversion, vol expansion, or trend break). The skill pulls 5 years of daily bars, builds the signal, computes rolling 63-day IC vs 5-day forward returns, fits an exponential decay to the IC series, and reports the half-life in trading days along with a full tearsheet on the signed- signal PnL.
Motivated by the 2024-25 factor decay literature (Israel-Moskowitz-Ross, Falck-Rej-Thesmar 2024, Chen-Zimmermann factor zoo) showing most published signals have decayed sharply post-publication.
work"
Not for: signal discovery. This measures decay of a specified signal; it doesn't search the space.
vol_expansion / trend_break)
Optional:
Two output layers from one run.
**Layer 1: canonical JSON**. Fitted `half_life_trading_days`, `decay_rate_per_day`, `classification` (fast_decay / moderate_decay / slow_decay / essentially_stable / not_significantly_decaying), `ic_mean`, `ic_mean_early`, `ic_mean_recent`, `ic_delta_recent_minus_early`, and a full `signal_tearsheet` (CAGR, Sharpe, deflated Sharpe p-value, Sortino, Calmar, max drawdown, ulcer index, profit factor, tail ratio, hit rate daily + monthly).
**Layer 2: rendered note**. Header + classification + IC stats + tearsheet block + one-line Take.
1. **Pull 5 years of daily bars** for the ticker. 2. **Build the signal** at every bar using the chosen builder. 3. **Compute rolling 63-day IC** = Pearson correlation between signal values and forward-5-day log returns within a 63-day window. 4. **Fit exponential decay** to |IC|: `|IC(t)| = a * exp(-lambda * t)`. OLS on log |IC| vs t. Slope is -lambda. `half_life = ln(2) / lambda`. 5. **Compare recent vs early IC**: mean of last 63-day quarter vs first 63-day quarter. Delta < -0.02 fires a regime-break note. 6. **Tearsheet on signed-signal PnL**: sign(signal) applied to forward return, scaled to daily equivalent. Full performance stats including deflated Sharpe.
`quant_garage.performance.tearsheet` helpers.
Narrative note with a per-signal decay + tearsheet block.
One call per run.
builders. A `--signal-file` mode that takes a CSV of custom signal values would extend cleanly.
Cross-sectional factor IC (across a universe) is a different lens; factor-research covers that.
with market-regime and change-point-detector for that.
bias but only if you tell it n_trials. Default assumes 1; tune the helper directly if you've grid-searched N signals.
These are clean PR extensions.
Trade like a pro. Without the terminal. View the full landing page → Quant and equity research tools that run inside Claude, or behind your own UI.
Scan SEC 8-K disclosures across a single ticker or a watchlist using Massive's pre-parsed disclosure taxonomy. Groups the underlying rows by filing (one 8-K…
Track sell-side analyst positioning on a name via Benzinga Analyst Ratings. Pulls every rating event over the lookback window, classifies each as upgrade /…
Build a clean, point-in-time, ready-to-backtest OHLCV dataset for a US equity universe across an arbitrary date window. Emits parquet plus a manifest plus an…
Bayesian Online Change-Point Detection (BOCPD) on a ticker's daily log returns. Detects points in time where the return-generating distribution changed (regime…
Single-commodity macro read. Answers "is this commodity in a winning or losing macro setup right now" and names the macro driver that dominates it. Pulls one…
Reconcile a position file against splits, dividends, and spinoffs to catch breaks before they hit P&L or T+1 settlement. Use when an operator hands over a CSV…