Trade Cost Calculator — Trading Cost Series 10
Ongoing trading cost tracking means recording your estimated conditions, actual execution and charges, condition changes and the reasons for variance as one row per trade in the same units and dates, then recalculating on a schedule. A one-off calculation or an on-the-spot comparison cannot follow how spread, swap/funding, dividend adjustments, rollover and currency conversion drift over time — a ledger can, and this article builds that design step by step with one consistent fictional educational dataset.
Key takeaways
Direct answer
Ongoing trading cost tracking is not glancing at each calculation as it happens; it is recording your estimated conditions, your actual execution and charges, any condition changes and the reasons for variance under one rule for units and dates, then recalculating periodically. You keep the all-in cost you estimated before entry and the realized cost you pulled from the execution history and statements as separate entries, then match them at month end and sort the variance by cause. When spread or swap/funding conditions change, you log the before, after, effective date, money impact and source. That accumulation is what trading cost tracking really is.
In other words, alongside a one-off calculator you need a way to accumulate records and compare them. How each cost component is derived — spread, commission, swap, break-even and so on — is covered systematically in the Trading Cost Calculation Guide. This article picks up after that: the stage where you take the costs you have derived and, assuming conditions will move, keep and audit them in an ongoing ledger. Below, a single consistent fictional example — a position whose round-trip cost of about 2,070 JPY moves to 2,560 JPY after a condition change — carries us through the ledger columns, the change log, moving-average auditing, monthly reconciliation and finally the storage design.
Three layers
Trading cost work splits into three layers with different purposes. Conflating them either leaves you trying to run ongoing management with a tool that cannot save, or forces heavy record-keeping on a reader for whom a one-off answer is enough. Start by separating the roles.
The diagram below is a fictional mapping showing that even for the same “trading cost,” the unit of work — single, session or ongoing — differs by layer. It distinguishes the layers with labels and the unit of work, not color alone.
What matters here is the order. First confirm a single case for free; when you want to compare several conditions, move to Pro; and only readers who reach “I want to record and audit this” move on to the ongoing ledger (Premium). If you have no need to save, Pro is enough. The ledger design that follows is practical work aimed at readers who have stepped into that ongoing layer.
Ledger design
The foundation of ongoing management is a trading cost ledger with one row per trade. Too few columns and you cannot trace the cause of a variance; too many and you will not keep it up. The minimum you want is below. Include units in the column names so there is no hesitation when recording.
The most important thing is to hold estimated and realized in separate rows (or columns). Estimated is the all-in cost you assumed before the trade; realized is the actual amount pulled from the execution history and statements. Mix them and the variance disappears. How to count per-side versus round-trip and how to turn a fixed fee into a total cost are handled in the trading commission calculator guide, and the definition of the commission column follows it. The table below places one trade from the consistent example side by side as estimated and realized — a fictional ledger row.
| Field | Estimated (pre-trade) | Realized (post-trade) |
|---|---|---|
| Timestamp | 2026-07-03 21:40 | 2026-07-03 21:40 |
| Account label / symbol | FBK-Std / USDJPY-type | FBK-Std / USDJPY-type |
| Spread | 1.2 pips (1,200 JPY) | 1.6 pips (1,600 JPY) |
| Commission (round-trip) | 600 JPY | 600 JPY |
| Slippage | 0 (assumed) | 0.2 pips (200 JPY) |
| Swap (3 holding days) | 90 x 3 = 270 JPY | 120 x 3 = 360 JPY |
| Dividend / rollover / conversion | 0 / 0 / 0 | 0 / 0 / 0 |
| All-in cost | 2,070 JPY | 2,760 JPY |
| Source / notes | Pre-trade fee schedule | Execution history; after 06-15 change |
Even from this one row, the reason realized exceeded estimated by 690 JPY breaks down into “spread widened +400,” “slippage +200” and “swap increase +90.” Accumulate not one trade but a month of them and this becomes the raw material for the monthly reconciliation later. For how units and holding-cost shape change by asset class (XAUUSD, stock indices, crypto CFDs and so on), use the asset-class cost guide as a reference for the symbol definitions in your ledger.
Log the changes
Spread, commission and swap conditions move with a broker’s fee revision or an account-type change. Rather than burying that inside the trade ledger, break it out as a cost-condition change ledger. Per change, keep the before, after, effective date, money/pips impact, affected instruments and source URL on one row. The diagram below shows the example’s spread moving from 1.2 pips to 1.6 pips on 06-15, drawn as a step that rises on the effective date — a fictional example.
As ledger rows it looks like the following. Keeping the impact both “per trade” and “monthly” speeds up the later matching. For the source URL, write somewhere you can verify afterward, such as the broker’s official fee page or a notice (the URLs in the table below are fictional record examples).
| Effective date | Item | Before | After | Impact (per trade / month) | Instruments |
|---|---|---|---|---|---|
| 2026-06-15 | Spread | 1.2 pips | 1.6 pips | +400 JPY / +8,000 JPY | USDJPY-type |
| 2026-06-20 | Swap (buy) | -90 JPY/day | -120 JPY/day | +90 JPY / +1,800 JPY | USDJPY-type |
| 2026-06-20 | Commission | 600 JPY | 600 JPY | 0 JPY / 0 JPY | USDJPY-type |
Changes like these ripple into break-even pips and the cost ratio too. If the spread rises by 0.4 pips, break-even moves by that much. How condition changes feed into break-even and the friction score is covered in the break-even and cost ratio guide. The change ledger exists to keep that “knock-on” traceable afterward, complete with an effective date.
Read it with averages
Swap/funding moves day to day. Following the single value alone means you miss the flow as it slowly shrinks, zeroes out and eventually reverses sign (from a credit to a charge). So log the daily swap as a time series and show a 7-day average and a 30-day average alongside it. The aim is to descriptively detect consecutive declines, zeroing and sign reversal — not to forecast future swap or turn it into a trading signal. The fictional chart below shows a +50 JPY per night credit fading over roughly a month, with the 7-day average crossing below zero first.
In the ledger, keep the daily value, the two averages and a note. The 7-day average reacts quickly to change; the 30-day average lags behind. From their relationship you read descriptively whether this is a temporary wobble or a sustained decline. The table below extracts the representative points from the chart above — a fictional record.
| Date | Daily swap (JPY/night) | 7-day avg | 30-day avg | Note |
|---|---|---|---|---|
| 2026-06-01 | +50 | +50 | +50 | Baseline |
| 2026-06-10 | +38 | +43 | +47 | Consecutive decline |
| 2026-06-20 | +22 | +30 | +40 | Consecutive decline |
| 2026-06-30 | +2 | 0 | +20 | 7-day avg zero |
| 2026-07-05 | -12 | -9 | +4 | Sign reversal (7-day avg turns negative) |
A sign reversal is the turning point where a holding cost that was a credit becomes a charge, and it is worth keeping the effective date and source in the ledger. That said, this is a summary of past records; it does not guarantee the next day’s value. The swap calculation itself and the treatment of triple-days are left to the swap and overnight financing cost guide; here we concentrate on keeping the change as a time series and auditing it. If you want to tidy up the record format itself, the financial templates hub is also a useful reference.
Use separate ledgers
Some costs look close to swap/funding but arise from different mechanisms on different dates. Adding them into the daily swap column makes it impossible to sort variance by cause at month end. Keep these three in their own ledgers.
The reason to separate them is simple: to work out, at month end, “what was this month’s variance driven by.” Had you mixed the dividend adjustment into the swap column, you could not tell afterward whether it was a swap sign reversal or a one-time adjustment on a dividend ex-date. For currency conversion, always record the rate direction and units in words. For instance, “reference 150.00 against applied 149.70, a 0.30 JPY gap, an illustrative markup burden of about 20,000 JPY on 100,000 units” — adding the direction in words, not just numbers, is the trick to a clean audit. Differences in holding cost by asset class are organized in the asset-class cost guide.
Match it monthly
The purpose of accumulating a ledger is the month-end match — the reconciliation. On a single sheet you gather the estimated all-in cost, realized all-in cost, variance, cause category and the templates that need updating, then feed it into next month’s estimate. This cycle — estimate to realized to variance to condition update to (next month’s) estimate — is the heart of ongoing management. The diagram below shows that audit loop.
Building the month with the consistent example gives the following. Against an estimated 41,400 JPY over 20 trades, realized is 52,600 JPY. The variance of +11,200 JPY is sorted into change-driven (spread, swap) and execution-driven (slippage).
| Item | Amount (JPY) | Cause category | Template to update |
|---|---|---|---|
| Estimated all-in (month) | 41,400 | — | — |
| Realized all-in (month) | 52,600 | — | — |
| Total variance | +11,200 | — | — |
| – Spread condition change | +8,000 | Change-driven | Set spread estimate to 1.6 pips |
| – Swap change | +1,800 | Change-driven | Set swap estimate to -120 JPY/day |
| – Slippage excess | +1,400 | Execution-driven | Add a slippage buffer |
The point is not to aim for zero variance. Markets and fills move, so variance will always appear. The goal is to keep the variance explainable as change-driven, execution-driven or record-gap, and to update next month’s estimate template. Running this whole routine with saving, history and reports is what Premium’s territory covers.
The estimate-versus-realized matching, change ledger, swap moving averages and separation of dividend, rollover and conversion up to here can all be designed by hand, but keeping them up needs saving and history. Premium is described as offering ongoing-audit features such as encrypted local workspaces, saving of templates, history and scenarios, a cost-condition change ledger and a swap/funding change ledger, a rollover planner, currency-conversion cost audit and CSV/PDF/amount-hidden reports. Start by turning your current conditions into numbers for free, and compare plans once you actually need to save. If you do not need persistence, Pro is enough.
Mini learning aid
The mini-audit below takes the before and after of a condition change and shows the per-trade, monthly, annualized and break-even differences, plus a one-row ledger preview. It makes no pass/fail or “favorable/adverse” judgment. The calculation runs entirely in your browser, and inputs are neither sent nor saved anywhere. Saving, encryption and export are not performed here; move to Premium when you need them. First, so it reads even with JavaScript disabled, here is a static calculation table at the default values.
| Item | Formula and substitution | Result |
|---|---|---|
| Old per-trade cost | 1.2 x 1,000 + 600 + 90 x 3 | 2,070 JPY |
| New per-trade cost | 1.6 x 1,000 + 600 + 120 x 3 | 2,560 JPY |
| Per-trade difference | 2,560 – 2,070 | +490 JPY |
| Monthly difference | 490 x 20 | +9,800 JPY |
| Annualized difference | 9,800 x 12 | +117,600 JPY |
| Old break-even | 2,070 / 1,000 | 2.07 pips |
| New break-even | 2,560 / 1,000 | 2.56 pips |
| Break-even difference | 2.56 – 2.07 | +0.49 pips |
This audit is a simplified teaching version of the actual trade cost calculator and its ledgers. The per-trade cost is approximated as “spread x value per pip + commission + holding cost x holding days,” and tax, execution slippage, dividend adjustment, rollover and currency conversion are excluded. If the P&L currency differs from the account currency, a separate conversion is required. It performs no saving, encryption or CSV/PDF export to a ledger. For the full set of inputs including contract specifications and the saving features, confirm on SG Group’s free Trade Cost Calculator and the plans page.
Storage design
For an ongoing ledger, where you store it shapes the quality of the routine. SG Group’s plans are described as local-first, with the explanation that calculation inputs, templates, history and asset data are not sent to or stored on SG Group servers. You avoid entrusting account details or trade history to a third-party server, but you need to understand that the responsibility for storage shifts to your own device.
Because these storage locations, encryption methods and scope can change, confirm the current service page and privacy documents before use. Once you reach the “accumulate and audit” stage of a ledger, a design that does not lose or leak data matters as much as the correctness of the calculation.
Check it free
Before you start ongoing management, first turn your current conditions into numbers. The free Trade Cost Calculator lets you confirm, from your input conditions, the per-side and round-trip trading cost, a break-even estimate including spread, commission and swap/funding, break-even pips/price, per-pip value, the cost ratio, the friction score and daily-to-annual swap checks. Results also support amount-hidden sharing and add-to-home-screen. Because price and specifications can change, they are not fixed in this copy; confirm the current scope on the plans page.
If you only need to check current conditions once, the free version is enough. When you reach the stage of lining the same trade up across several conditions, or digging into spread sensitivity and cost by holding days, Pro’s in-session analysis comes into view; and only when you reach “I want to accumulate estimated and realized and match them monthly” or “I want to audit condition changes, dividend adjustments, rollover and conversion in a ledger” do Premium’s saving, ledgers and reports become necessary. Holding to the rule that “if a one-off comparison is enough, stop at Pro” is the trick to avoiding over-engineering. Other English articles can be browsed by purpose from the article library. Because feature names, scope and pricing can change, confirm the latest on the current service and plans pages before use.
Avoid
Failures in ongoing management cluster at the record-design stage. If any of these ring true, that is where to start your review.
FAQ
Summary
Ongoing trading cost tracking is the routine of recording estimated conditions, actual execution, condition changes and variance reasons in the same units and dates, then recalculating monthly. Hold estimated and realized separately in the minimum ledger fields, keep cost-condition changes with before/after, effective date, money impact and source, and detect consecutive decline, zeroing and sign reversal in swap/funding descriptively with 7- and 30-day averages. Because dividend adjustments, rollover and currency conversion differ in date and mechanism, keep them in separate ledgers, and sort variance by cause in the monthly reconciliation. In the fictional example, a condition change moved the per-trade cost from 2,070 JPY to 2,560 JPY, letting us break out a monthly difference of +9,800 JPY and a monthly variance against realized of +11,200 JPY. The goal is explainable causes, not zero variance.
In practice: (1) fix the ledger columns and units, (2) accumulate estimated and realized separately, (3) keep condition changes with an effective date, (4) audit swap with moving averages, (5) match monthly and update templates, and (6) protect local storage with export and backup health — run it in that order and you will not lose sight of cost even as conditions move. Start by turning your current conditions into numbers for free, and consider Premium once you actually need to save. If you do not need persistence, Pro is enough.
Read next
TC01: Trading Cost Calculation Guide — Spread, Commission, Swap and Break-Even — confirm systematically how each cost that goes into the ledger is derived, and see the learning order for the whole series.
Disclaimer
Sources and further reading