Swap & Overnight Financing in Multi-Day Backtests

Last updated: 2026-06-10

In short

Hold a leveraged position past your broker’s rollover time and you pay (occasionally earn) swap — financing based on interest-rate differentials plus broker markup. It books once per night, three times on Wednesday rollover in forex to cover the weekend. No mainstream replay tool models it, so multi-day backtests must add it manually: one journal column, your broker’s published per-night rate × nights held.

What Swap Is and Why It Exists

A spot forex or CFD position is financed: you’re effectively long one currency’s interest rate and short the other’s (for forex), or borrowing to hold a leveraged asset (for index/commodity/stock CFDs). At rollover — typically 22:00 GMT, i.e. midnight on the standard GMT+2 server clock — the broker books the financing for keeping the position open another day. Key properties:

  • Long and short rates differ, and either can be negative. On a positive-carry pair, one direction may actually earn swap.
  • Broker markup is included — two brokers quote different swaps for the same pair. Always use your broker’s published table (in MT4/MT5: symbol specification; otherwise the broker’s site).
  • Wednesday books 3× in forex because spot settles T+2: Wednesday’s rollover finances the weekend. (Some non-forex CFDs book their triple on Friday instead — check the instrument’s specification.) FX Empire’s backtest-settings guide covers the mechanics in more depth.
  • Index CFDs add a twist: besides financing, they apply dividend adjustments when constituent stocks go ex-dividend — credits to longs, debits to shorts (or vice versa by convention). Multi-day index backtests should at least know this exists (more in gaps & rollovers).

The Math, Worked

Say your broker quotes EUR/USD swap as long −$7.10 / short +$1.20 per standard lot per night (illustrative — rates move with central-bank policy; check current tables).

Trade: long 0.5 lots, held 9 calendar nights including one Wednesday.

Nights booked = 9 + 2 extra for the Wednesday triple = 11 swap-nights Cost = 11 × (−$7.10) × 0.5 = −$39.05 ≈ −7.8 pips on 0.5 lots

If that trade targeted 60 pips, financing consumed 13% of the target. Now the same trade short would have earned ~$6.60 — direction matters, which is why a journal column beats a mental note.

When swap flips the verdict: a swing strategy averaging +25 pips/trade with an average 6-night hold on a −0.8 pip/night pair loses ~4.8 pips/trade to swap — nearly 20% of the edge. The same strategy traded only in the positive-carry direction keeps it. A multi-week position-trading backtest that ignores swap isn’t optimistic; it’s fiction.

Adding Swap to a Manual Backtest

No mainstream replay tool — free or paid, StrategyTune included — models swap, so the workflow is manual and takes seconds per trade:

  1. Add three journal columns: nights held, swap rate used, swap cost.
  2. For each trade held past rollover, count the nights; add 2 for each Wednesday rollover crossed (forex).
  3. Swap cost = nights × per-night rate × position size. Subtract from the trade’s result.
  4. Compute your expectancy from the net column.

Two shortcuts that stay honest: intraday strategies that always close before rollover can skip the columns entirely (note “no overnight holds” in the test header); and for long backtests, applying the current swap table to historical trades is an accepted approximation — historical swap schedules aren’t generally available, just don’t pretend precision the data doesn’t have.

Swap-Free Accounts Aren’t Free

Islamic/swap-free accounts replace swap with administration fees after a grace period, or with wider spreads. If you’ll trade one, model its fee schedule instead — the financing cost rarely disappears, it changes shape.

Related: spread costs · the full cost audit · why live results differ

Frequently Asked Questions

How do I find my broker's exact swap rates?

In MT4/MT5, right-click the symbol → Specification → swap long/short. Elsewhere, brokers publish swap tables on their site. Rates are quoted per lot per night, in points or account currency, and change when central-bank rates or broker markups change — re-check before each backtest analysis.

Why is Wednesday's swap three times larger?

Spot forex settles two business days after the trade. A position rolled over on Wednesday night settles on the weekend, so the broker books Friday's, Saturday's and Sunday's financing at once. Some non-forex CFDs book their triple night on Friday instead.

Can swap be positive overall?

Yes — that's a carry trade. If the currency you're long pays a higher rate than the one you're short by more than the broker's markup, you earn swap nightly. Backtests of swing strategies should check both directions: sometimes the same setup is materially better traded only on the positive-carry side.

Do day trades pay swap?

No — positions closed before the broker's rollover time pay no swap. This is a legitimate strategy design lever: many intraday systems deliberately flatten before rollover to avoid both the financing charge and the rollover spread spike.

More in Costs

All Costs →

Practice This in a Free Replay Tool

StrategyTune replays real bid/ask tick data for 70+ instruments in the browser — free, no registration, no downloads. Place simulated trades and see your stats build.

Open StrategyTune