Direct answer
Swap Costs (often called currency swap or rollover costs) are usually calculated from a small set of inputs: (1) the two currencies involved, (2) the relevant interest-rate relationship between them, (3) rollover timing rules (when the platform applies the adjustment), and (4) account or contract conventions set by the provider. Any detailed calculation also needs assumptions about the position and timing, because the same currency pair can produce different outcomes depending on order direction, size, and the moment the position crosses a rollover boundary.
Mechanism and definition
Swap Costs represent the economic adjustment that may be applied when a forex position is held across time (rather than closed intraday). The core idea is that each currency has its own interest-rate logic, and the net cost or credit reflects the difference between the two sides of the trade.
To describe the calculation inputs clearly, separate stable mechanics from variable conditions:
-
Stable mechanics (conceptual inputs)
- Currency pair identity: which two currencies the position is exposed to.
- Rate relationship (interest-rate gap): the platform typically derives a rollover value from an interest-rate relationship linked to the two currencies.
- Rollover schedule: the platform applies the swap at specific times; the exact “crossing” point is an input because it determines whether the cost applies.
- Position direction: whether you are long one currency versus short the other changes whether the net adjustment is a cost or a credit.
-
Variable conditions (inputs that can change)
- Market environment: the interest-rate relationship inputs can shift over time.
- Execution and timing: if the position is opened or closed close to a rollover boundary, the number of swap events included can change.
- Provider-specific conventions: different providers can apply different formulas, scaling factors, or rounding.
Evidence or example (with explicit assumptions)
Because no real-time market data is assumed here, consider a purely structural example that shows what inputs are needed, not an exact numeric result.
Assumptions
- You hold a forex position across at least one rollover event.
- The provider applies a swap adjustment once per rollover boundary.
- The provider’s swap value is derived from the currency interest-rate relationship between the two currencies.
Inputs used in a typical “swap-cost” explanation
- Instrument: Currency A / Currency B (the two currencies define which rate relationship is used).
- Direction: Long Currency A / Short Currency B (the sign of the adjustment depends on direction).
- Notional exposure: Position size (a larger exposure scales the cost/credit).
- Rollover boundary handling: Whether the position was already open before the rollover time, and whether it remains open after.
- Conventions: Any provider-specific multipliers, basis-point conventions, or unit conversions.
Material limitation Even if you correctly identify the conceptual inputs, you may still mismatch the provider’s result if you do not match their rollover timing and contract conventions. For example, a calculation that assumes “one swap per day” can fail if the platform’s rollover time is offset relative to your local time, or if the provider applies adjustments for specific trade days.
Limitations and risks
- No real-time guarantee: Swap Costs outcomes depend on changing market conditions and provider rules, so historical relationships do not establish future results.
- Rollover timing uncertainty: The biggest practical failure mode is miscounting how many rollover events your trades experienced.
- Contract-spec differences: Different contract sizes, quoting conventions, or symbol definitions can lead to different scaling.
- Jurisdiction/account rule variability: Margin handling, hedging rules, or account types can affect how costs are reflected in your statements.
Verification or next question
To independently verify which inputs a specific implementation uses, compare the following provider-owned facts: the platform’s rollover schedule (when adjustments apply), the instrument’s contract specifications (how position size is converted), and the stated method for calculating swap adjustments (often described in product documentation or contract terms). If you want, you can share the exact platform’s description of swap/rollover in plain text, and you can then map each stated term back to these input categories (currencies, rate relationship, rollover timing, direction, and provider conventions) without assuming live numbers.