Matana Labs

Losing streak analysis: the “Losing streak” check

A losing streak analysis finds the longest run of losing trades in a row and asks whether it is longer than chance would give. Matana Labs compares it with the expected longest streak of a random sequence with the same share of losing trades. Losses that come in clusters point to a market regime where the strategy doesn’t work.

What it checks

A long losing streak breaks people before it breaks the strategy. What matters is whether it's longer than plain chance would give.

The question behind it: Will it survive a shock? In the app it is in Analysis Lab → Checks, stage “Stress tests”. What happens on bad days that never occurred in history: a crash mid-trade, doubled volatility, shuffled history.

How it works

Trade-by-trade arithmetic: the longest streak of consecutive losing trades and its total. The expected length for a random sequence with the same loss rate is ln(n) / ln(1/q).

How it gets its status

These are the app’s own rules, shown on the check’s card:

With fewer than 30 trades or 20 days in the run, the check still shows its numbers, but its status is at most “with a caveat” and the result is marked as unreliable.

How to read the result

The Losing streak check in Matana Labs: the longest losing streak and what it cost, the streak length expected by chance and the share of losing trades
“Losing streak” on a test data set: the longest streak of losses next to what chance would give.

In the score out of 100

When it has a status, it counts toward the overall score with weight 1: “holds” earns full points, “with a caveat” half and “broke down” none; “can’t compute” is left out.

Every plan, the free one included, can run it; any engine runs it needs are counted in backtest-years.

If it breaks down

Losses come in clusters — there's a regime where the strategy doesn't work. See “Market regimes”.

This is the app’s own suggestion; under Improvement the app tests candidate changes on the engine before it shows them.

Screenshots show the real app on a test data set. Backtests and simulations are not real trading, and past results don’t guarantee future ones. Not investment advice.

Keep reading

See Matana Labs plans, from free

Questions

How is the expected streak calculated?

From the number of trades and the share of losing ones, with the formula shown in “How it works” above. It is the typical longest streak of a random sequence with the same odds.

Why does a long streak matter if the total is positive?

Because people stop following a strategy during long streaks. Knowing the length in advance helps you size positions so that you can sit through it.

Does the losing streak analysis rerun the strategy?

No. It reads the run’s trades in order.