event-study-engine
v0.1.0
Published
Event study engine: compute excess returns at T+1/5/10/30/90/180 vs benchmark ETF. Aggregate by event type for backtesting.
Readme
event-study-engine
Run simple event studies against a benchmark ETF using public market data.
Features
- standard T+1, T+5, T+10, T+30, T+90, and T+180 windows
- excess-return calculation versus a benchmark
- aggregation by event type
- lightweight dependency model
Install
npm install event-study-engineUsage
import { runEventStudy, aggregateEventStudy } from "event-study-engine";
const single = await runEventStudy("HON", "2026-01-15", "XLI");
const aggregates = await aggregateEventStudy([
{ ticker: "HON", date: "2026-01-15", type: "earnings" },
{ ticker: "ROK", date: "2026-02-10", type: "guidance" },
]);Notes
- Uses
market-data-litefor public price history - Intended for lightweight analysis, prototypes, and research tooling
- Not investment advice
