Beginner · Pounds and euros
Backtest UK and European shares
Test rules on London and European listings in pounds or euros, with UK stamp duty on purchases, dividends after the tax taken from them, and daily exchange rates when your account is in another currency.
The problem
Most backtesting tools assume US shares in dollars. A UK investor pays stamp duty on UK shares, is paid dividends in pounds, may hold European shares priced in euros, and often pays a fixed fee on every deal.
Leave those out and a UK result looks better than it was. Compare it with the US market and the currency gets mixed into the answer.
Step by step
Name the shares
Say HSBC or Shell and the agent reads the London listing. A European share is named by its listing, such as SAP.DE.
Set your account
Choose pounds, an amount and your broker in the composer. The test then uses that broker's published charges, and whole shares if that is all the broker offers.
Costs are charged
Stamp duty is deducted on purchases, never on sales: 0.5% on UK-incorporated shares (UK stamp duty reserve tax) and 1% on Irish-incorporated ones. ETFs pay none, and London lines of companies incorporated elsewhere are treated as paying none.
Dividends come in after tax
Each dividend is paid in on its ex-dividend date, after the tax taken from it, and reinvested.
Compared with its own market
The comparison is FTSE 100 (ISF.L, iShares Core FTSE 100) for London shares and Euro Stoxx 50 (EXW1.DE, iShares Core EURO STOXX 50) for European ones, in the same currency as the test.
1 of 4You type your idea in the box. Plain words are fine.
A worked example from a stored test
A stored test from the truth matrix, the set of cases run against the engine on real prices to check its figures (case K06). It held 2 of 4 London shares at a time, chosen each month by their past year's return, in a £1,000 account at Hargreaves Lansdown (online share dealing), whole shares only. The words were: "Every month hold the 2 stocks with the best 12-month return among HSBA.L, BP.L, SHEL.L, AZN.L, over the last 5 years"
- You asked:
- Each monthly rebalance: z-score momentum (trailing return) 100% across the 4 symbols over the last 12 months, then hold the names whose weighted composite is above zero (at most the top 2), equal-weighted, max 50% each (unfilled weight stays in cash). Sell names whose composite falls to zero or below at the next monthly rebalance.
- Ended above simply holding FTSE 100 (ISF.L, iShares Core FTSE 100). It was made before tests had a luck check.
- Worst fall 18%, against 12% for holding.
- This rule
- £1,746
- from £1,000
- Simply holding
- £1,650
- from £1,000
- £1,000 put in at the close of 4 Oct 2021, counted at the close of 1 Oct 2026.
- A backtest of 5 Oct 2021 to 1 Oct 2026. It describes the past. Not a forecast, not advice.
- What each line means
- Full report
What the starting amount was worth each day, from £1,000
- This rule
- Simply holding
| Stamp duty on purchases | £60.39 |
|---|---|
| Dealing fees | £271.05 |
| Platform charge | £26.15 |
| Dividends paid in, after tax | £285.15, from 30 payments |
| This rule ended at | £1,746 |
| The FTSE 100 fund ended at | £1,650 |
In a small account a fixed fee on every deal can cost more than the tax: here the dealing fees came to £271.05 and the stamp duty to £60.39. The same rule in a larger account, or with a broker that charges a percentage, pays a different share of its money in fees.
- You asked:
- Holds SAP.DE while its 50-day average price is above its 200-day average, and stays in cash otherwise.
- Ended above simply holding Euro Stoxx 50 (EXW1.DE, iShares Core EURO STOXX 50). It was made before tests had a luck check.
- Worst fall 21%, against 22% for holding.
- This rule
- £2,232
- from £1,000
- Simply holding
- £1,821
- from £1,000
- £1,000 put in at the close of 1 Oct 2021, counted at the close of 1 Oct 2026. The benchmark curve runs 1 Oct 2021 to 30 Sep 2026, not exactly the strategy's dates.
- Only 2 round-trip trades in 5 years, so one decision can swing this result.
- A backtest of 4 Oct 2021 to 1 Oct 2026. It describes the past. Not a forecast, not advice.
- What each line means
- Full report
A stored test from the truth matrix, the set of cases run against the engine on real prices to check its figures (case C02). Every purchase, sale and dividend converted between euros and pounds at that day's rate. The currency fee came to £11.08 and the tax taken from dividends to £15.87. It ended at £2,232 against £1,821 for simply holding the Euro Stoxx 50 fund in pounds, from £1,000, 1 Oct 2021 to 1 Oct 2026.
A fund pays no stamp duty. The golden cross on a FTSE 100 fund ended at £1,564 against £1,764 for simply holding, from £1,000, 6 Oct 2021 to 5 Oct 2026. These three are shown because they cover pounds, stamp duty and euros, not for how they did: 2 beat their comparison and 1 did not.
What it cannot tell you
- Only shares and funds that trade today are in the data. A company that failed, was taken over or was delisted is not in it. So a test that picks from a list of shares is flattered, by an amount the test cannot measure.
- Only the London and European listings Quantis holds daily prices for can be tested. Ask for one it does not hold and the agent says so before anything runs.
- Tax rates that depend on paperwork, such as reclaiming dividend tax, are flagged on the result rather than assumed.
- Your own taxes on gains, and an ISA's or pension's rules, are not part of a test.
Try it
Each one opens the Strategy Agent with the words typed in, unsent. Set pounds and your broker in the composer before you press the button.
Every month hold the 2 stocks with the best 12-month return among HSBC, BP, Shell and AstraZeneca, over the last 5 years
Try it: open the Strategy Agent with these words typed in, unsentGolden cross strategy on HSBC over the last 10 years
Try it: open the Strategy Agent with these words typed in, unsentGolden cross strategy on the FTSE 100 fund over the last 5 years
Try it: open the Strategy Agent with these words typed in, unsentBuy and hold Legal & General over the last 5 years
Try it: open the Strategy Agent with these words typed in, unsentGolden cross strategy on SAP.DE over the last 5 years
Try it: open the Strategy Agent with these words typed in, unsentRelated
- Core conceptsTrading costs and dividendsEvery test pays standard trading costs, reinvests dividends after the tax taken from them, and charges UK stamp duty where it applies.
- EvidenceRecorded tests in the evidence explorerA designed grid of house tests across US, UK and European universes, same costs throughout, with every refusal kept.
- Learn pathBeyond one shareAt the end you can look a company up, ask about the wider market, and name two rules that hold more than one share.
- Rule referenceRule referenceEvery kind of rule the engine runs, with what it does, the settings the agent uses when you name none, and an example to try.
Tests describe the past. They are not forecasts and not advice. Read the risk warning