Different markets can lose together: stress your portfolio's dependence
Test shared currency exposure, simultaneous losses and changing dependence without treating different instruments as independent sources of risk.

The portfolio had three names for one bad afternoon
The researcher thought the portfolio was diversified because the systems traded different instruments. One watched a European currency, another a British currency and a third responded to a different session. Their individual reports looked distinct. Then the researcher placed the positions on a common timeline and noticed that the uncomfortable afternoons were often the same afternoons. Different names had concealed a shared sensitivity.
This is an invented scene, not a report about a TradeAndRoll portfolio. It illustrates a question that cannot be answered by counting instruments: what makes the components lose together? The answer may involve shared currency exposure, a common market shock, related entry timing or execution conditions that deteriorate simultaneously. It may also change across periods. A low full-sample correlation is useful descriptive evidence, but it does not settle every one of those questions.
This article develops a practical investigation of cross-market dependence. We will build a common accounting basis, calculate a simple covariance example and construct joint stress scenarios. Every numerical portfolio is hypothetical. None of the examples estimates the returns or risk of the available robots, and none supplies recommended position sizes. The aim is to make the source of a diversification claim inspectable.
The distinction matters because a portfolio is a joint object. Combining separate reports requires assumptions about timing, capital, costs and the relationship between outcomes. If those assumptions are left implicit, the combined curve can look more reassuring than the process it represents. A useful stress exercise brings those assumptions into view and asks which conclusions survive when the relationships become less favorable.
Start with positions, not with the names of instruments
An instrument label is not an exposure map. A position in EUR/USD has two currency sides. A position in GBP/USD has two sides as well. If both positions are long their first currency and short dollars, they share a dollar exposure even though the pair names differ. More instruments can therefore add variety without adding the particular protection the researcher had in mind.
Consider a simple hypothetical snapshot: long 10,000 EUR at EUR/USD 1.10 and long 10,000 GBP at GBP/USD 1.25. Ignoring financing and other positions, the opening dollar notionals are USD 11,000 and USD 12,500. Both positions have a short-dollar side, for a combined USD 23,500 at those opening rates. That number is an exposure description, not a maximum-loss estimate, and it is not the same as the account’s margin requirement.
Now suppose the two quoted prices each fall by 1%, to 1.089 and 1.2375. With quantities unchanged, the first position loses USD 110 and the second loses USD 125 before costs. The combined loss is USD 235. We did not need to estimate a correlation to calculate this scenario. We specified prices, holdings and a common shock. Exposure arithmetic and statistical dependence answer complementary questions.
The same instrument can also contain offsetting strategies. One robot may be long while another is short, or they may operate at different times. Whether the account actually nets those positions depends on its rules and implementation. A report that counts two robots as two independent risks ignores both possible overlap and possible offset. Preserve signed positions, quantities, timestamps and conversion rates before deciding how many distinct risks the portfolio contains.
Different tickers are not proof of different economic exposures. A compact exposure ledger is often the best first diagram: rows for components, columns for currency sides, and entries expressed in clearly defined units. It will not capture every nonlinear or dynamic effect, but it can reveal a shared direction that a decorative correlation heatmap would leave unexplained.
Put every component on the same clock
Dependence is a relationship between aligned observations. If one report closes its day at midnight UTC and another at a broker’s local midnight, matching their date labels can combine different economic intervals. A shock near the boundary may appear on different rows. The resulting correlation can be artificially weakened or shifted, even when both components reacted to the same event.
Choose a common valuation clock and document it. For each interval, calculate each component’s marked-to-market result in the same account currency. Include open positions under a consistent valuation rule. If one component reports only closed trades while another marks open exposure every day, their rows do not represent comparable outcomes. A position that remains open through a shock cannot be treated as risk-free simply because its realized-profit column is still zero.
Separate a genuine zero from an unavailable observation. A robot with no position during an interval may legitimately contribute zero market profit. A missing price or incomplete ledger is unknown, not zero. Replacing missing observations with zero can make a component appear less volatile and less dependent on others. Dropping every incomplete interval can also bias the sample if the missingness concentrates during difficult market conditions.
State how costs enter the clock. Entry costs, exit costs, financing and currency conversion can occur at different moments. If one component recognizes all costs at closure and another recognizes them as they arise, an apparent dependence pattern may be an accounting artifact. A common clock needs common economic definitions, not just matching timestamps in a spreadsheet.
Before calculating a matrix, inspect a handful of event windows manually. Reconcile positions before the event, price changes during it and costs assigned afterward. This small exercise can reveal a timezone mismatch or missing open loss that no elegant statistic will repair. It also makes the later stress scenarios easier to interpret because the researcher knows what each row actually represents.
What a covariance calculation can explain
For a fixed linear combination of returns, portfolio variance depends on the component variances and their pairwise covariances. NIST’s multivariate handbook defines the covariance matrix as variances on the diagonal and covariances off the diagonal. NIST: mean vector and covariance matrix. The following portfolio arithmetic is an original teaching example, not a result taken from that source.
Imagine three sleeves with equal USD 10,000 allocations and a hypothetical daily return standard deviation of 1% each. Assume equal pairwise correlation and a fixed one-day linear aggregation. The total allocation is USD 30,000. With correlation zero, the portfolio’s standard deviation is approximately 0.5774%, equivalent to USD 173.21. With correlation 0.75, it is approximately 0.9129%, or USD 273.86. With correlation one, it is 1%, or USD 300.
The calculation isolates dependence while keeping each sleeve’s volatility and allocation unchanged. It shows why the same individual risk estimates can imply different aggregate variation. It does not show maximum loss, a probability of ruin or the shape of the loss tail. Standard deviation is a particular summary, and the example assumes that the selected covariance description is appropriate to the horizon and state under discussion.
In general, the variance of a weighted sum includes each weighted variance plus twice each distinct weighted covariance. The covariance terms can be economically large because they appear for every pair. Adding components changes both the diagonal contributions and the cross terms. A portfolio is not made safer merely by dividing its report into more rows. Splitting one position into several identical subaccounts does not create independent exposures.
Use the arithmetic as a diagnostic rather than a forecast. Ask which estimates came from data, which were imposed as stresses and whether weights are genuinely fixed over the interval. A dynamically resized strategy may not be described well by a single static calculation. The equation remains useful, but the object supplied to it must match the economic question.
A quiet average can conceal an uncomfortable subset
A full-sample correlation blends observations from many conditions. Components may behave differently during quiet sessions, sharp moves, liquidity disruptions and periods when they are simultaneously exposed. A low average can coexist with a subset in which losses arrive together. That does not make the average wrong; it makes the average incomplete for a question about that subset.
Start with transparent conditional descriptions. For example, count intervals in which each component was exposed, intervals in which both were exposed and intervals in which both lost more than a predeclared threshold. Keep the denominators visible. A high loss frequency conditional on joint exposure cannot be compared directly with an unconditional loss frequency without acknowledging the change of population.
Suppose a hypothetical sample contains 20 aligned intervals. Component A has four severe-loss intervals, and B also has four. Three of those intervals overlap. The observed joint frequency is 3/20, or 15%. Among A’s four severe intervals, B is also severe in 3/4, or 75%. Multiplying the two marginal frequencies would give 20% times 20%, or 4%, under an independence assumption. These numbers illustrate different quantities; the small sample does not establish a stable population relationship or a formal rejection of independence.
Do not turn three overlapping events into a precise tail model. The count can motivate a question and identify windows for inspection. It cannot provide reliable precision that the sample does not contain. Thresholds chosen after inspecting the worst outcomes add another layer of selection. A subsequent analysis should distinguish predeclared thresholds from exploratory descriptions and should report how sensitive the counts are to reasonable alternatives.
Keep the denominator beside every joint-loss percentage. “Seventy-five percent overlap” sounds very different when the reader sees that it means three of four events. The raw count helps preserve uncertainty and prevents a sparse historical observation from becoming a confident claim about future portfolio protection.
Zero correlation is a narrow statement
Correlation measures a particular linear relationship. It is not a general certificate of independence. A small abstract example makes the distinction visible without pretending to model a market. Let X take the four equally weighted values −2, −1, 1 and 2, and let Y take 1, −1, −1 and 1 in the corresponding rows. Both means are zero, and the average product is zero, so their covariance and correlation are zero.
Yet Y is completely determined by the magnitude of X in this little construction: it is positive when the magnitude is two and negative when the magnitude is one. Knowing X tells us Y. The variables are therefore dependent despite their zero correlation. This is a mathematical illustration, not a trading dataset and not a proposed return generator.
For a portfolio investigation, the lesson is to examine relationships relevant to the risk question. Scatterplots, conditional loss counts, exposure overlap and event reconstructions can complement a matrix. They should not become an uncontrolled search for whichever display looks most alarming or most reassuring. Define the question first, then choose a description capable of answering it.
There is a similar distinction between pairwise and joint behavior. Examining every pair does not automatically characterize all possible multivariate relationships. A shared event may affect several systems in a way that is poorly summarized by separate two-column reports. The portfolio loss is generated by the joint state, including positions and constraints, so a portfolio stress exercise should retain that joint state when it matters.
This does not mean abandoning simple statistics. It means using them at their proper scope. A correlation table can be an excellent screening view, provided the researcher does not ask it to prove an absence of common shocks, nonlinear dependence or execution concentration that it was never designed to establish.
Relationships can change without following one universal crisis rule
It is tempting to replace an optimistic assumption with an equally rigid pessimistic slogan: all correlations go to one during stress. That statement is too broad. Relationships can strengthen, weaken or reverse, and the relevant direction depends on positions and the particular event. A portfolio with short and long exposures can respond differently from a collection of long-only assets even when the underlying prices become more closely related.
The BIS discusses a reversal of the dollar’s historical relationship with risky assets around April 2025. That documented episode is a reminder that familiar cross-market relationships can change. It does not imply a permanent new correlation or validate any particular robot’s hedge. BIS: global FX markets when hedging takes centre stage. The useful lesson is to test the relationship the portfolio relies on, not to assume that a historical label will always describe it.
Distinguish a historical event replay from a hypothetical dependence stress. A replay uses an observed joint path with documented dates and data. A hypothetical stress imposes a specified relationship that may never have occurred in the sample. Both can be informative, but their evidential roles differ. The former asks how the chosen implementation would respond to that recorded environment; the latter asks what would happen under the imposed assumptions.
Neither exercise automatically supplies a probability. A severe scenario is not a forecast merely because it has a compelling name. Severity and likelihood are separate inputs. If the research lacks a defensible estimate of occurrence probability, report the scenario as conditional: under these price, position and execution conditions, this calculation follows. That can still support a useful discussion of concentration and research priorities.
Change dependence coherently, not one cell at a time
A correlation matrix cannot contain an arbitrary collection of individually plausible coefficients. It must describe a jointly valid covariance structure. In particular, its implied variance for every linear combination must be nonnegative. Editing a few cells of a matrix until the stress looks dramatic can violate that requirement and produce a simulation with no coherent underlying random vector.
Consider a hypothetical three-variable correlation matrix. Set the correlation between the first and second variables to 0.9, between the first and third to 0.9, and between the second and third to −0.9. Each coefficient lies between minus one and one, but the combination is invalid. With unit variances, the linear combination −X1 + X2 + X3 would have variance 3 − 5.4 = −2.4. A negative variance reveals the inconsistency immediately.
A simple factor construction can provide a more interpretable starting point. Each component receives a loading on a shared shock plus an idiosyncratic part, with assumptions about their variances and relationships. Increasing the shared contribution creates a dependence stress while keeping the construction coherent when its conditions are satisfied. This is a modelling choice, not a discovery that the real portfolio has exactly one factor.
For educational work, another transparent option is to define a small set of explicit joint scenarios instead of estimating a complete multivariate distribution. Specify all component outcomes in each scenario and recompute the portfolio. You lose the appearance of a comprehensive probability model, but you gain an inspectable account of what was assumed. A coherent limited scenario is more useful than an impossible matrix.
When using a statistical library, retain its checks and document any matrix repair or regularization. A repaired matrix is not identical to the requested stress. Inspect what changed, why it changed and whether the resulting scenario still answers the intended question. Numerical success alone does not establish economic meaning.
Combine losses with the costs of responding to them
Dependence can operate through execution as well as prices. Several systems may seek to reduce exposure during the same event. Their simulated closing costs should not automatically be sampled as unrelated benign draws. A shared liquidity condition can affect the price available to several components at once. The size of that effect must come from evidence or be labelled as an imposed scenario, but the possibility should be visible in the model.
Take a hypothetical USD 30,000 portfolio with three sleeves. In a joint adverse scenario, each sleeve has a gross loss of USD 300. Their assumed exit costs are USD 45, USD 60 and USD 75. Gross loss totals USD 900, costs total USD 180 and the combined net loss is USD 1,080, or 3.6% of the starting portfolio. This is arithmetic under invented inputs, not an estimated loss quantile.
If the researcher instead inspects only the first sleeve, the corresponding calculation is USD 300 plus USD 45, or USD 345. That is a component scenario, not the portfolio scenario. Multiplying or extrapolating a component report without specifying which other positions coexist can miss the shared event. The set of simultaneously active positions belongs in the stress specification.
Avoid double counting. If a stressed execution price already includes an adverse spread or slippage adjustment, subtracting the same adjustment again as a separate cost inflates the loss. Conversely, a mid-price shock without an execution adjustment can omit costs that the scenario intended to include. Reconcile the price convention, quantity and each cost term before interpreting the aggregate number.
The response policy matters too. A portfolio that reduces every position at once has a different execution path from one that waits for separate component exits. A static loss shock does not automatically model either policy. If the question concerns the consequences of a response rule, replay the stateful rule under the scenario and preserve its constraints. Otherwise label the result as a snapshot calculation rather than a complete path simulation.
Preserve the joint path when timing changes the answer
A set of terminal losses can hide the order in which pressure arrives. Two scenarios may end with the same portfolio value but have different interim exposure, drawdown or resource use. If the system’s behavior depends on those states, rearranging component paths independently can change the economic experiment. The path is not a cosmetic detail added after the aggregate return is known.
Suppose one component’s loss arrives before another component’s gain in one scenario, but both occur simultaneously in another. Under unconstrained fixed quantities, the terminal sum may be identical. Under a rule that reduces exposure after a threshold or limits new positions when capital is constrained, later decisions can differ. The researcher must choose whether to study a fixed-exposure accounting identity or a state-dependent portfolio policy.
When resampling historical data, independent resampling of each component can destroy observed contemporaneous dependence. Sampling aligned multivariate blocks preserves the within-block joint history, although it introduces its own assumptions about block length, representativeness and how blocks are joined. It is not a universal solution. The important point is to avoid accidentally removing the very relationship the stress exercise is supposed to examine.
An observed joint path and an independently shuffled collection are different scenarios. Both might be useful as deliberate comparisons, but they must be labelled. If independent shuffling produces a smoother portfolio, that demonstrates what happens under the altered dependence structure. It does not prove that the original systems will deliver that diversification in a shared market environment.
Record the time resolution of the analysis. Daily closes can miss intraday co-losses and temporary resource pressure. A minute-level reconstruction can still miss events within the minute. The report should state the resolution actually supported by the data and avoid presenting the observed maximum as a universal bound on losses between observations.
Separate portfolio construction from the evaluation of its protection
Selecting components because their historical relationship looks favorable uses information. If the same period is then presented as an independent test of diversification, the interpretation is overstated. The researcher has selected a joint pattern from that period, even if each individual strategy was evaluated elsewhere. Portfolio construction creates its own decisions and therefore its own need for an evidence record.
Write down the selection rule before applying it to the evaluation period. This may involve a limited number of candidates, a fixed exposure convention and predeclared criteria for overlap or concentration. If the rule changes after an unfavorable joint event, preserve the change as development. A later evaluation can investigate the revised construction procedure, but it should not rewrite the history of the original selection.
Do not optimize a stress menu until the chosen portfolio looks safe. Repeatedly adjusting thresholds, windows or scenario severities can become another search over the same outcomes. A transparent exploratory phase can help identify useful scenarios, followed by a fixed review protocol. The article on in-sample and out-of-sample evaluation explains the broader information-boundary problem; it applies to portfolio relationships as well as individual strategy parameters.
A sensible report can distinguish three statements: the portfolio was selected using these historical relationships; it was evaluated using these separate observations or procedures; and it was stressed under these additional hypothetical assumptions. Selection, evaluation and stress are different evidential roles. Combining their results into one unqualified safety score would make the conclusion harder to audit.
Build a dependence report that survives a skeptical reading
Start the report with a short exposure description and the common-clock accounting rule. Then show unconditional summaries, conditional joint-loss counts and a small set of clearly labelled scenarios. Include raw event counts and the amount of shared observation time. A matrix based on a long overlap and one based on a handful of common days should not look equally authoritative simply because both use two decimal places.
For every scenario, record whether it is historical or hypothetical, which positions are active, what changes in prices and costs, and whether the policy is static or stateful. State which quantities are held fixed. This allows another reader to distinguish a dependence stress from a volatility stress or a position-size change. Several changes can be combined intentionally, but their combination should not be hidden inside a single unexplained multiplier.
Use a reconciliation table for portfolio outcomes. The sum of component marked-to-market results, shared costs and account-level adjustments should agree with the reported total under the chosen convention. If costs or constraints exist only at account level, explain their allocation rather than forcing each component report to appear self-contained. The aggregate ledger is the final accounting reference.
A practical review also records what cannot be inferred. Sparse tail events leave large uncertainty. Historical exposures may not represent future policy choices. A scenario without a probability does not produce a frequency forecast. Those limitations should be specific to the analysis, not a wall of generic caution. They tell the next researcher what additional data or experiment would be most useful.
Check whether the apparent protection is simply less exposure
A redesigned portfolio may lose less in every scenario because it holds smaller positions. That can be a useful change, but it does not demonstrate improved dependence. To understand the mechanism, compare the redesign with a scaled version of the original portfolio under the same initial account capital. This control asks whether the new combination contributes protection beyond the reduction that follows mechanically from lower exposure.
Return to the hypothetical USD 1,080 joint loss. If every quantity is halved and all the assumed costs scale proportionally, gross loss becomes USD 450, costs become USD 90 and total loss becomes USD 540. The original account capital remains USD 30,000, so the loss is now 1.8%. No correlation changed. The improvement in this calculation comes entirely from smaller quantities under a linear cost assumption. Minimum charges, market impact or other nonlinear mechanisms would require a different calculation.
Now suppose a proposed replacement also loses USD 540 in the same scenario. That equality alone does not establish that it has better diversification than the original. The next comparison needs equivalent exposure or another clearly justified resource convention. It should also inspect other scenarios, because protection against one imposed shock can come with greater sensitivity to another. A lower loss needs an attribution, not just a favorable label.
The control should not force every portfolio to have the same number of trades. Trade count is not capital exposure, and equalizing it can change the policies in ways unrelated to the question. Instead, explain which resource is being held constant: initial equity, gross notional, a predefined risk budget or some other defensible quantity. Each choice creates a different comparison. If a risk budget is estimated from the same historical sample, its estimation uncertainty remains relevant.
This exercise also helps identify a misleading normalization. Dividing a smaller portfolio’s profit by its smaller allocated capital while comparing its loss in dollars with a larger portfolio mixes denominators. Show the common account basis alongside any component-normalized summaries. Readers can then distinguish genuine changes in joint behavior from changes in scale, cash allocation or presentation. The resulting comparison may be less dramatic, but it answers a much more useful economic question.
A first exercise with systems you can inspect
Choose two or three systems and reconstruct a small common interval before attempting a large portfolio study. Record signed positions, a shared valuation clock and costs. Identify one interval of simultaneous exposure and reconcile its outcome by hand. Then define one hypothetical joint shock and calculate its effect without assigning a probability that the exercise cannot support.
An AI assistant can help build the ledger, detect mismatched timestamps and explain why a proposed matrix is invalid. Ask it to preserve the distinction between zeros and missing values and to show every assumption used in currency conversion. Give it explicit instructions to label invented scenarios. A convincing narrative generated after seeing the losses is not a substitute for an inspectable accounting trail.
The TradeAndRoll free demo contains ten Forex systems, their rules and source code, market CSVs and research prompts. Those materials can support a concrete investigation of how systems behave together. The number of systems is a starting point for analysis, not a guarantee of diversification, and the original files still need to be adapted and checked for the intended execution environment.
A portfolio earns its diversification claim through joint evidence. Names, markets and separate backtests can suggest useful combinations. The stronger question is whether the observed and stressed joint behavior supports the particular protection being claimed, under a common clock, coherent exposures and explicit assumptions. That question gives the next experiment a purpose beyond adding another line to the portfolio list.



