Event backtesting: test an option strategy around RBI, Fed, Budget and election days
Pick the kind of event, the trade, and when it goes in and comes out around the event. The backtest runs that trade on every matching event and reads the result event by event.
What event backtesting answers
An ordinary backtest asks how a strategy did across a stretch of dates. An event backtest asks a narrower question: how did it do around one kind of day. A short straddle held into RBI policy days, a long strangle bought before Lok Sabha results, a spread placed the morning after a US Fed decision. The events come from the same sourced list that Market History shows, so every test day can be traced to the decision it stands for.
Set up a test
- Index. NIFTY, BANKNIFTY, FINNIFTY, MIDCPNIFTY or NIFTY NEXT 50.
- Events. Event types in five groups: central banks (RBI and Fed cuts, hikes and holds, Fed balance-sheet moves, other central banks), elections (Lok Sabha results, exit polls, state and US elections), budget and policy (Union Budget, tax, SEBI and F&O rules), shocks (war, tariffs, oil, COVID, credit stress, index inclusion) and economic data (US CPI releases). Look back one, three or five years, or to 2019, or set your own From and To dates. Every matching event is listed with a tick box, so any one can be left out.
- Trade timing. Hold across the event: one trade per event, entered up to five trading sessions before the event day and closed up to five after it, at the times you choose (by default 15:15 the session before, out at 09:30 the session after, held overnight). Or each day as its own trade: an intraday trade on every session of a window up to five sessions either side. Sessions are trading sessions, so the session before a Monday decision is the Friday before it.
- Strategy and rules. The legs, from a ready-made strategy, a saved strategy or your own, then stops, targets, a trailing stop and trading costs. Every leg trades one expiry: the first weekly after the exit, or the monthly. Each trade uses the lot size that was in force on its entry date.
Before it runs, the page counts the events you picked and how many of them your trade can run on, and marks each event Can test or Not yet. After a run the setup folds into one bar above the results, and Edit setup opens it again.
The day that counts as the event
An event is placed on the first NSE session that traded it, which is not always the day it happened. A Fed decision lands after the Indian close, so the next morning is the event session. A decision on a Sunday meets Monday's open. When two events' trades overlap, both run, and each is tagged Overlap in the trade list.
What you get back
- A summary. Total P&L, events won, maximum drawdown and average P&L per event, with a verdict. Under five events tested, the results say there are too few events to judge.
- Charts. The equity curve, drawdown, a P&L calendar, expiry and weekday, your trade per event, NIFTY around the event, and each event day.
- By event. Every event in the test, with what the trade made on it, the worst events, a comparison of event days with other days, and a breakdown by event type.
- The full report. The trade list (stops that gapped overnight are tagged Gap fill), statistics, monthly figures, analytics, an optimiser over entry and exit timing, and risk, laid out as on the backtester.
The index study, before any strategy
Every event you pick is also read on NIFTY 50 itself, from daily closes since 2019, with no option prices involved. The event list shows NIFTY's move and range on each event day, and the results set event days beside ordinary sessions: how often the index closed up, its biggest event-day move and its average day range. It answers the first question, whether these events move the market at all, before you trust a trade built on them.
What an event backtest cannot tell you
The strategy run uses recorded option prices only, and the recorded history is recent. Most events in the list are older, so a test over several years may have only a handful of events it can run on. An event without recorded prices for its whole trade is skipped and counted, never filled in. The page states the count before you run, and refuses to run on none. There are no modelled prices: a model has no event-day spike and no IV crush in it, which is exactly what an event test is meant to measure. Small samples are the rule here. Three RBI holds are three observations, and an average over three says very little about the fourth.
Event backtesting questions
What is event backtesting?
A backtest run only around chosen market events, such as RBI policy days, US Fed decisions, Union Budgets or election results. You choose the event types, a strategy, and when it enters and exits around each event, and the results are read event by event.
Which events can I test?
Central bank decisions (RBI, US Fed and others), elections and exit polls, Union Budgets and tax changes, SEBI F&O rule changes, shocks such as wars, tariffs, oil and COVID, and US CPI releases. Each event in the list names its source.
Does it use real option prices?
Yes, and only those. An event runs only when recorded option prices cover its whole trade; the rest are skipped and counted. The page shows how many of the chosen events your trade can run on before you run. There are no modelled prices, because a model misses the event-day behaviour being tested.
Is a good event backtest a reason to trade the next event?
No. It describes how a set of rules behaved on a small number of past events. The next event can differ from all of them, and the sample is usually small. It is a tool for studying risk, not a recommendation.
Start free
Educational analytics only: not investment advice. You are responsible for your own trading decisions.