Your robot earns in one currency and your account reports in another
Follow Forex profit from quote currency to account currency, including bid/ask inversion, liabilities, conversion timing, cash ledgers and broker reconciliation.

The trade report says plus 50 USD. The account screen shows an increase close to 45 EUR. A spreadsheet produces a third number, and none of the three necessarily contains a bad subtraction. They may describe a trading result, an actual conversion and a valuation of cash at different times. Before comparing them, we need to identify which question each number answers.
This article follows a hypothetical 10,000 EUR position in EUR/USD, opened at 1.1000 and closed at 1.1050. The resulting 50 USD gross gain will remain the anchor throughout. All prices, balances, costs and alternative scenarios are invented teaching examples. They do not describe a broker account, a validated portfolio or product performance. We will use a clearly defined executable-side conversion convention and then distinguish it from actual broker policies.
The useful habit is to attach a currency, a timestamp and a purpose to every amount. A number can be correct in its original units and still become misleading when copied into a column labelled account profit. Once those three labels survive the calculation, many apparent discrepancies become ordinary bookkeeping that can be checked line by line.
1. Read the pair as a unit relationship
In EUR/USD, EUR is the base currency of the pair and USD is the quote currency. A price of 1.1000 means 1.1000 USD per EUR. A quantity of 10,000 EUR multiplied by that price corresponds to 11,000 USD of notional value. The currency units explain why multiplication is appropriate: EUR cancels against the denominator of USD per EUR, leaving USD. This small dimensional check catches many errors before any financial interpretation is needed.
The account’s reporting currency is a separate choice. An account reporting in EUR does not turn every instrument price into EUR, nor does it imply that every cash balance is automatically converted into euros. The base currency of a pair and the base or home currency of an account are different uses of the same word. Name the role as well as the currency in a spreadsheet or data record.
For our main example, assume a margined contract whose price-difference result is settled in USD. We are not modelling a physical delivery of the full 10,000 EUR and 11,000 USD principal. A deliverable currency exchange would have different cash entries. The numerical price-difference calculation can look similar, but the balance sheet would not be interchangeable. This assumption is especially important when we later construct a cash ledger.
Margin is also separate from the gain. An amount reserved as collateral affects available funds; it does not become a trading expense merely because it is unavailable for another position. Our ledger omits margin movements to isolate settlement and conversion. A full account reconciliation would include collateral and available-funds fields in their proper places, without subtracting reserved margin from profit.
Every multiplication or division should leave the intended currency units behind. If a conversion from USD to EUR produces USD squared per EUR, the formula is wrong regardless of how plausible the displayed number looks. Unit labels make this visible even when the pair name or quote direction has been misunderstood.
2. Calculate the trade before converting the result
The hypothetical long position buys 10,000 EUR of exposure at an executed price of 1.1000 and closes the same quantity at an executed price of 1.1050. The difference is 0.0050 USD per EUR. Multiplying by 10,000 EUR gives 50 USD gross profit. We assume no other fees in this core trade and use the actual illustrative execution prices, so we do not deduct another spread afterwards.
With a pip defined here as 0.0001 USD per EUR, the price change is 50 pips. Each pip for 10,000 EUR is worth 1 USD. This is a useful cross-check, not a separate source of profit: 50 pips multiplied by 1 USD per pip recovers the same 50 USD. The amount in euros still needs a conversion rule. A pip count alone does not identify the account-currency result.
Notional value is not the amount of profit being converted. Entry notional is 11,000 USD and exit notional is 11,050 USD. Adding them gives 22,050 USD of two-sided notional turnover, not a conversion base for our 50 USD settlement. Applying a currency-conversion charge to that turnover would describe a different charging model. Whether a broker charges on principal, results or another basis depends on the product and agreement.
A useful counterexample is a trade closed at exactly its entry price. In this simplified no-fee model, its price-difference result is zero. Multiplying that zero by any valid conversion factor still gives zero. If a report shows a nonzero account change, investigate charges, cash translation, another position or a different settlement model. Do not attribute a profit to currency conversion merely because the position’s entry and exit notional were large.
Keep gross trade profit, explicit charges and account conversion in separate fields. This does not require a complicated system. Three clearly labelled intermediate values are often enough to locate a mismatch that a single final profit cell conceals. Only combine them after their units and treatment are established.
3. A positive dollar balance buys euros at the ask
Now introduce a separate conversion quote for EUR/USD: bid 1.1050 and ask 1.1052. This quote belongs to the conversion step, not automatically to the entry or closing fill. Suppose the 50 USD gain is available as cash and we exchange all of it for EUR using an executable-side convention, with sufficient quoted quantity and no additional conversion fee. Buying EUR requires paying the ask expressed in USD per EUR.
The converted amount is therefore 50 divided by 1.1052, approximately 45.24068 EUR. Before rounding, the result is 45.2406804198 EUR. Multiplying that euro amount by 1.1052 reconstructs the original 50 USD. A cash posting rounded to two decimal places would be 45.24 EUR under our stated rounding convention, but retain more precision while checking the calculation.
The sign and the economic action determine the side. We have positive USD and want EUR, so we buy euros. The EUR/USD ask is relevant because EUR is the base currency being bought. Saying “profits always use bid” without specifying the direction of the conversion quote is unsafe shorthand. It would be correct for selling USD using a USD/EUR quote, whose bid we will derive shortly.
Why not divide by the midpoint, 1.1051? That would answer a valuation question under a midpoint convention, not this executable exchange. A report can legitimately use a midpoint for a defined analytical purpose, but then its result should be labelled as a valuation. The distinction matters even when the difference is tiny, because the same calculation may later be applied to larger amounts or many entries.
Converting a gain is a second transaction or accounting operation with its own rule. The gain remains 50 USD in the trade record. The conversion record says how much EUR was obtained or credited and why. Keeping both makes it possible to compare accounts without rewriting the original trade whenever the reporting currency changes.
4. Funding a dollar liability uses the other side
Replace the positive 50 USD with a liability of 50 USD, leaving the conversion quote unchanged at 1.1050/1.1052. This is a separate scenario, not a claim that the original winning trade became a loss. To obtain the dollars needed to settle the liability, sell EUR. Under our executable-side convention, selling EUR receives the EUR/USD bid of 1.1050 USD per EUR.
The required funding is 50 divided by 1.1050, approximately 45.24887 EUR. As an account debit it is minus 45.24887 EUR before rounding. Its magnitude exceeds the positive-gain conversion by about 0.00819 EUR. Both may display as 45.24 and 45.25 respectively when rounded to cents. Using one common factor for positive and negative amounts would miss the bid/ask distinction that creates this small difference.
Invert the sides as well as the numbers. The reciprocal USD/EUR bid is 1 divided by the EUR/USD ask, approximately 0.90481361 EUR per USD. The reciprocal ask is 1 divided by the EUR/USD bid, approximately 0.90497738 EUR per USD. Bid remains lower than ask. Inverting each number without swapping its role would create a crossed quote, an immediate sign that the transformation is inconsistent.
Using that inverse quote, selling positive 50 USD at its bid gives the same 45.24068 EUR. Buying 50 USD at its ask costs the same 45.24887 EUR. These are two descriptions of identical economics. A conversion engine should pass this direction-invariance check: changing the way the quote is represented should not change the result after the side selection is adjusted correctly.
The gap here is small because the hypothetical spread is small. Its importance is structural, not dramatic. A repeated sign error can bias a report consistently even when individual differences seem negligible. Testing a positive amount, an equal negative amount and both quote orientations is more revealing than testing only one profitable trade.
5. Separate the teaching convention from broker policy
Our convention deliberately uses executable bid and ask with no added conversion fee. It explains the direction of an exchange, but does not claim that every broker posts results this way. A broker may use a defined midpoint with a markup, a particular conversion schedule or rules specific to an entity and product. Reconciliation starts by identifying the applicable policy, not by choosing whichever formula produces the preferred number.
OANDA Corporation’s documentation describes home-currency conversion using a fee adjustment to a midpoint and identifies where applied rates appear in transaction history. OANDA Corporation conversion documentation. This supports the distinction between a market quote and a broker’s posting factor. We do not apply that page’s tariff to our examples, and the example convention should not be used to estimate an actual account charge.
OANDA Global Markets publishes separate information stating that realised profit and loss conversion uses the spot rate without additional fees. OANDA Global Markets conversion documentation. The pages concern different entities and scopes. Their existence is a reason to record the applicable legal entity and conversion category, rather than combine isolated statements into one universal OANDA rule.
A rate can already contain a charge. If an applied factor incorporates a markup, subtracting the same markup again as a separate fee double-counts it. Conversely, if the conversion rate is an unadjusted reference and a fee is posted separately, omitting that fee understates the cost. The evidence needed is the factor’s definition together with the cash postings, not simply the name of a column.
For a reproducible analysis, preserve the policy version and the effective date that applies to the transaction. A documentation page accessed today may not describe an older transaction’s terms. If historical terms cannot be established, report the unresolved difference instead of manufacturing an exact reconciliation. This keeps a model useful: it can show which component is known, which is assumed and which needs a statement or contract to resolve.
6. Conversion time can change the euro result
Hold the gross gain fixed at 50 USD and compare three alternative conversion times. At time A, the quote is 1.1050/1.1052 and the positive gain converts to 45.24068 EUR. At later time B, suppose the quote is 1.0998/1.1000; the same dollars buy 45.45455 EUR. In a separate alternative at later time C, suppose the quote is 1.1198/1.1200; they buy 44.64286 EUR. No additional trading gain is introduced in these variants.
Relative to conversion at A, B yields approximately 0.21387 EUR more and C approximately 0.59782 EUR less. These are differences in the euro proceeds of holding dollars until conversion. They do not revise the original 50 USD result. Nor do they establish that waiting is beneficial: the examples deliberately show both directions, with no forecast about which future quote would occur.
Choose the conversion timestamp before comparing strategies. Possible conventions include conversion when a trade closes, when the broker posts cash, when a scheduled conversion runs or at a reporting cutoff. Those are different events. A backtest using end-of-day rates and an account converting every realised amount immediately need not produce the same home-currency history even when their quote-currency trades match exactly.
There is also a difference between an actual exchange and a displayed estimate. A dashboard might revalue the retained 50 USD every second while no conversion takes place. Its changing EUR value is unrealised currency exposure on cash. Once the dollars are exchanged, the actual euro proceeds become fixed for that conversion, although the broader account can still change for other reasons.
IBKR’s reporting guide states that the cited open-positions section translates non-base-currency values using rates from the last day of the statement period. IBKR open-positions reporting guide. That is a reporting convention for that section, not evidence of a cash exchange at that rate. A displayed conversion does not prove that currency was bought or sold.
7. Follow realised and unrealised amounts through a ledger
Start a hypothetical multicurrency cash ledger with 2,000 EUR and 100 USD. Use the margined price-difference contract defined earlier: opening the 10,000 EUR exposure does not exchange the full principal in this teaching ledger. We omit collateral movements and assume no fees. The two cash balances remain unchanged at entry. This is an accounting model for the example, not a statement of a particular broker’s supported account structure.
Before closing, suppose the executable exit price for the long is 1.1030. Relative to the 1.1000 entry, the unrealised trading result is 30 USD. For an explicitly illustrative midpoint reporting conversion of 1.1031 USD per EUR, its displayed equivalent is approximately 27.19608 EUR. This valuation does not credit either cash balance. It belongs in an unrealised-result field alongside the open position.
Realisation changes the ledger category. When the position closes at 1.1050, its final gross result is 50 USD and cash becomes 2,000 EUR plus 150 USD. The earlier 30 USD estimate is removed as an unrealised position value; it is not added to the final 50 USD. Counting both would report an invented 80 USD contribution from a trade whose entire price-difference result was 50 USD.
Next convert only the newly realised 50 USD at A’s ask of 1.1052. The conversion has two cash legs: minus 50 USD and plus 45.2406804198 EUR before rounding. Ending balances are therefore 2,045.2406804198 EUR and the original 100 USD. The trade realised dollars, and the conversion exchanged some dollars for euros. Those are separate linked events, not two profits to add together.
The ledger preserves the remaining dollar exposure. A total shown in EUR must still value the 100 USD balance at a declared rate. We can now explain why a complete account’s euro change need not equal the converted trade gain, even though every trade and conversion entry above is correct. That remaining difference is the subject of the next step.
8. The currency of existing cash also affects account value
Value the ledger’s initial 100 USD at a hypothetical reporting reference of 1.1000 USD per EUR. This is an analytical valuation reference, not an additional executable quote. The initial total is 2,000 plus 100 divided by 1.1000, or approximately 2,090.90909 EUR. At the end, use the midpoint of conversion quote A, 1.1051, to value the remaining 100 USD. The euro cash from the actual hypothetical conversion stays at its posted amount.
Ending reported value is 2,045.2406804198 plus 100 divided by 1.1051, approximately 2,135.73023 EUR. The account’s increase is about 44.82114 EUR, smaller than the 45.24068 EUR obtained from converting the trade gain. The difference is approximately minus 0.41954 EUR from translating the pre-existing dollar balance at the new reporting reference. No missing commission is needed to explain it.
Cash exposure survives the closing of a trade. The position can be flat while a foreign-currency balance remains. That balance’s reporting value changes when the conversion reference changes. In our example, the original 100 USD is unchanged in dollars throughout. Calling its translation difference a second trading loss would misidentify the cause; ignoring it would fail to reconcile the account’s total value.
IBKR’s cash-report guide explicitly describes a cash FX translation gain/loss line for changes in translated base-currency balances. IBKR cash-report guide. Our ledger is an original simplified illustration of the accounting distinction, not a reconstruction of that broker’s statement or a claim that it uses our rates. The documentation supports why a translation category can exist independently of individual trades.
This decomposition also clarifies comparisons between reporting currencies. A dollar-denominated account and a euro-denominated account can present different total changes from identical native-currency movements. Neither display determines which strategy traded better. First compare the underlying movements, then the conversion and valuation policies, and finally the account total. Combining those stages too early turns a reporting choice into an apparent difference in trading skill.
9. Charges need a currency and a nonduplicated treatment
Add a separate fee variant to the original 50 USD gross gain: a hypothetical 2 USD commission and 1 USD financing debit. These amounts are invented, not broker tariffs. If all three entries are netted in USD before a single conversion, the remaining 47 USD converts at the ask of 1.1052 to approximately 42.52624 EUR. The netting assumption is part of the example and must be supported before applying this method to a statement.
If instead the positive 50 USD and the combined 3 USD debit are converted separately at the same hypothetical quote, the gain uses 1.1052 and the debit funding uses 1.1050. The result is 50 divided by 1.1052 minus 3 divided by 1.1050, approximately 42.52575 EUR. The difference from netting first is about 0.00049 EUR before rounding. Both approaches are internally coherent under their respective posting rules.
Netting and conversion do not always commute. They would commute under one linear factor applied identically to every amount at the same time. Our sign-dependent factors break that condition. Different posting times, minimum charges or rounding can create additional differences. A spreadsheet that sums all foreign-currency results and applies one annual exchange rate may therefore answer a reporting question that differs substantially from the account’s actual settlement process.
Avoid a second kind of duplication. If entry and exit prices are actual executed sides, their difference already incorporates the spread paid through those prices. Do not subtract a separately estimated spread again. Similarly, a broker’s final net cash posting may already include commission or conversion adjustment. Identify whether each imported field is gross or net before combining it with a fee file.
Every charge should appear once, in its original currency, with a traceable posting rule. If financing is charged in EUR while the trade settles in USD, keep those entries separate until each has the proper treatment. A smaller set of well-defined fields is more reliable than a detailed cost model that deducts the same economic charge twice under different names.
10. Triangular conversion requires two usable quotes
Consider a separate positive balance of 5,000 JPY that must be converted to EUR when no direct executable EUR/JPY quote is available. Suppose simultaneous quotes are USD/JPY 150.00/150.04 and EUR/USD 1.1050/1.1052, with sufficient quantity at both sides and no additional fees. The route uses USD as an intermediate currency. This is a hypothetical construction, not evidence that a particular broker offers that route or those prices.
Positive JPY buys USD at the USD/JPY ask of 150.04 JPY per USD. That produces approximately 33.32445 USD. Those dollars then buy EUR at the EUR/USD ask of 1.1052, producing approximately 30.15241 EUR. Equivalently, the synthetic EUR/JPY ask is 1.1052 multiplied by 150.04, or 165.824208 JPY per EUR; dividing 5,000 by that value gives the same result.
For a separate 5,000 JPY liability funded with EUR, sell euros at EUR/USD bid 1.1050, then sell the resulting dollars at USD/JPY bid 150.00. The synthetic bid is 165.75 JPY per EUR, so funding requires approximately 30.16591 EUR. Each leg retains its economic direction. Choosing the better side at either stage without an executable reason would create a favourable conversion that the assumptions do not support.
Missing data changes what can be claimed. If the USD/JPY quote is absent or stale, the direct route has not magically become available. A reporting system may use a last-known reference with a visible stale-data flag, but that is not evidence of an executable conversion. If the two legs have different timestamps, label the construction as asynchronous and avoid treating it as a simultaneous market opportunity.
The intermediate USD entry should also be traceable. If the conversion is actually executed in two stages, fills, rounding and charges can arise at each stage. If a broker merely computes an accounting cross-rate internally, its published rule governs instead. The algebra checks units and sides; it does not establish how a particular institution settles the conversion.
11. Reconcile a broker statement from native amounts outward
Begin reconciliation with identifiers and native-currency amounts, not with the final euro total. Match the trade quantity, opening and closing executions, gross result, charges, conversion postings and cash balances. Then identify the currency and timestamp of each line. If the dollar result already differs from 50 USD, investigate that discrepancy before changing conversion rates. A conversion formula cannot repair a mismatched execution quantity.
Next reconstruct the applied factor. If a statement shows 50 USD converted into 45.24 EUR, division suggests a displayed effective factor of 0.9048 EUR per USD. That is consistent with our more precise factor after cash rounding, but it does not prove the broker used exactly 0.9048 internally. A rounded output contains less information than the calculation that produced it. Displayed precision is not computational precision.
Rounding order can matter even with the same underlying rate. Take three hypothetical credits of 0.02 USD each, converted using 1.1052 and rounded individually to the nearest cent. Each unrounded amount is approximately 0.01809627 EUR and rounds to 0.02 EUR, so the displayed postings sum to 0.06 EUR. Converting their combined 0.06 USD produces approximately 0.05428882 EUR, which rounds to 0.05 EUR. The one-cent difference follows from when rounding occurs.
Document the rounding convention rather than assuming all systems use the same one. Our example uses nearest cent and has no halfway tie, so tie-breaking policy does not affect it. Real reconciliation may also need the broker’s retained precision and settlement rules. Large unexplained differences should not be dismissed as rounding just because a small difference can arise that way.
OANDA’s v20 transaction documentation includes home-conversion factors associated with order fills and financing events. OANDA transaction definitions. This is an example of transaction-level evidence worth preserving when available, not a promise that every account export contains the same fields. A statement or transaction record with the actual factor is stronger reconciliation evidence than reconstructing it from a later market quote.
12. Make missing or inconsistent conversion data visible
A robust record contains amount, currency, sign, conversion purpose, timestamp, quote orientation, bid, ask and policy identifier. It also distinguishes an observed broker posting from a modelled value. That distinction prevents a calculated estimate from being mistaken for cash already received. For conversions through an intermediate currency, retain both leg identifiers and the timestamps used, even if the final display shows only one factor.
Validate structure before calculating. A valid quote should have positive prices and bid no greater than ask. A missing currency code should not default silently to the account currency. A zero conversion amount is valid when the source amount is zero, but a zero exchange rate is not. The inverse-quote check from our 50 USD example helps detect orientation errors that otherwise produce plausible-looking amounts.
Suppose an illustrative monitoring rule marks quotes older than five seconds as stale for an intended conversion estimate. If the quote ages beyond that threshold, the system can show the native 50 USD amount and an unavailable or explicitly stale euro estimate. The five-second choice is a hypothetical operational threshold, not a universal standard. Its purpose is to prevent the display from presenting old information as a fresh executable value.
Another diagnostic case is a factor that changes while the market quote does not. Investigate whether the policy version, markup, conversion direction, amount sign or reporting purpose changed. Do not immediately classify the difference as market movement. Conversely, a fixed factor across changing quotes may be correct for a previously posted conversion but suspicious for a display labelled current valuation.
Preserve the native amount when conversion is unresolved. That keeps the known part of the record useful and avoids replacing missing evidence with a false zero. Once the appropriate quote or broker posting becomes available, reconciliation can resume without reconstructing the trade itself. An explicit incomplete state is easier to audit than a final-looking number built from an undocumented fallback.
13. Compare robots without mixing their currency overlays
Two reports can contain the same 50 USD trading gain and different EUR proceeds because one converts at A and the other at B. In our examples, the difference is about 0.21387 EUR. Calling that difference better signal quality would confuse trade generation with conversion timing. It may be economically relevant to the account owner, but its cause should remain visible in any comparison.
Keep separate views of native trading results, charges, conversion effects and cash translation. The first helps inspect whether the trading logic generated comparable outcomes under comparable executions. The later views show how those outcomes reached the reporting account. Attribution should follow the chain of events, so a decision about a robot does not accidentally become a decision about an undocumented currency-management policy.
Pips are insufficient as a universal comparison unit. The main trade’s 50 pips become 50 USD only because we specified its 10,000 EUR quantity and pip convention. Another instrument or quantity need not share that value. Yet simply converting everything into EUR is not enough either if reports use different conversion times or mix realised cash with changing unrealised estimates. Comparable units require comparable definitions as well as a common label.
Account returns introduce a denominator too. If one calculation divides a euro result by a dollar balance without conversion, the ratio has no coherent interpretation as an account return. If two calculations use different valuation times for the starting balance, their percentage changes may diverge even when the cash movements match. Establish the reporting currency and valuation policy for the denominator before comparing percentages.
The right choice of reporting currency depends on the question being asked, such as tracking spending capacity in EUR or reconciling a USD statement. This article does not recommend changing account currency or opening conversion trades. It supplies a way to identify the source of a reported difference. That is enough to make comparisons more informative without claiming that a particular currency choice improves trading performance.
14. A complete conversion calculation leaves an audit trail
Before accepting a final account-currency figure, reconstruct one gain, one equal-sized liability and one unresolved-data case. In our examples, positive 50 USD gives approximately 45.24068 EUR, while funding negative 50 USD requires approximately 45.24887 EUR. Reversing the quote representation must preserve both results. Removing a necessary quote should remove the claim of a fresh conversion, not remove the native amount.
Then follow the ledger through opening, unrealised valuation, closing and conversion. The interim 30 USD estimate is replaced by the final 50 USD result. Converting that result produces two currency legs and leaves the original 100 USD balance exposed to translation. The account increase of approximately 44.82114 EUR reconciles to the converted gain and the minus 0.41954 EUR cash-translation effect under our stated reporting references.
A complete answer explains the amount, side, time and posting. Those four elements resolve most of the apparent mystery between a trade report and an account screen. If a mismatch remains, the audit trail narrows the search to executions, charges, rate policy, timestamps, rounding or retained balances. It avoids solving every disagreement by adding an arbitrary conversion adjustment to the final line.
The primary documentation used here is the OANDA Corporation conversion guide, OANDA Global Markets conversion guide, OANDA transaction definitions, IBKR cash-report guide and IBKR open-positions guide. They support the specific distinctions cited near the relevant claims. The numerical ledger, reciprocal checks and alternative timing scenarios are original hypothetical calculations, with no assertion that those institutions would post the example amounts.
Use the demo review page to practise distinguishing a robot’s native-currency result from the assumptions needed to express it in your account currency.



