How to backtest news catalyst strategies
The same price move can mean different things depending on the news behind it. A small cap that gaps on an offering often trades differently from one that gaps on a contract win or a clinical result. A news catalyst backtest groups trades by the type of headline, so you can see which catalysts help a setup and which hurt it.
This guide shows how to use headline tags in Trade4, both as an entry filter and as a way to analyse results.
What you are testing
There are two ways to use news. As analysis: run the strategy without a news rule, then break the results down by headline tag. As a filter: only take trades with, or without, a given tag. Start with analysis. It shows where the differences are before you remove trades.
Keep the timing honest. A headline can only count for a trade if it was published before the entry.
Starting settings in the Strategy Builder
Begin with a setup you already know, such as a gap strategy, and add news in two steps.
- Base strategy
- Gap, price and volume filters with your usual entry and exit rules, and no news rule yet.
- Headline tags
- Tags are matched with patterns on the headline text, for example FDA, offering and merger tags, plus tags you define yourself.
- Step 1: analyse
- Run the base strategy and open the News Analyzer, which shows win rate and P&L by tag across all trades.
- Step 2: filter
- Copy the strategy and require or exclude a tag in the news settings. Compare the two runs side by side.
- No-news days
- Treat stocks that move with no headline as their own group. They often behave differently.
What to check in the results
- Trade count per tag. Small groups give unreliable results.
- Win rate and average P&L per tag, after costs.
- Whether the difference between tags holds in each year.
- News markers on the trade charts, to confirm the headline came before the entry.
- How much of the total result comes from one tag.
Common mistakes
- Using headlines published after the entry.
- Drawing conclusions from a tag with a handful of trades.
- Creating so many tags that some look good by chance.
- Treating a headline tag as the cause of the move, when it is only a label for it.
Build this strategy without code and run it on tick data.
Sign up freeQuestions and answers
How are headlines tagged?
With pattern rules on the headline text. Trade4 includes tags such as FDA, offering and merger, and you can add your own.
Can I exclude trades with offering news?
Yes. A tag can be required or excluded in the strategy's news settings, and you can compare both versions as separate runs.
What does the News Analyzer show?
It aggregates win rate and P&L by headline tag across the trades of a run, so you can see which catalyst types help or hurt the strategy.
Further reading
- Tick Accurate News Catalyst Backtests for Small Cap Traders
- Event-Driven Backtesting: A Practical Guide for Quant Traders
- How a Lookahead Bias Backtest Fools Even Careful Quants
- Statistical Significance in Backtesting: What Actually Proves an Edge
Other strategy guides
- How to backtest a small-cap gap short strategy
- How to backtest a gap-and-go or runner strategy
- How to backtest same-day re-entries
- How to backtest a small-cap swing strategy
This guide is educational and is not investment advice. Backtest results describe the past and do not guarantee future results.