TradePoseResearch
One entry opportunity, many exit policies: how the engine splits a strategy
Methodology

One entry opportunity, many exit policies: how the engine splits a strategy

Testing ten exit settings usually means running the same backtest ten times, and then comparing ten totals that cannot be lined up trade by trade. TradePose splits each strategy into an entry opportunity and the policies applied to it, so all exit settings run on one shared opportunity and every trade can be traced back to the opportunity it came from. This post explains how that split works and what it lets research see.

Conclusion

A strategy in TradePose is one entry opportunity (direction, and when to open, close or invalidate it) plus a baseline policy and any number of managed policies (how to enter, and where the stop loss, take profit, breakeven and trailing stop go). Data, indicators and the opportunity itself are computed once; each policy only computes its own entries and exits. Policies cannot affect each other: adding, removing or reordering them leaves every other policy’s trades unchanged, and if one fails the whole batch returns nothing. Every trade carries the start time of its opportunity, and an opportunity a delayed entry never filled is kept as an untriggered row. That alignment is what separates two effects a total hides. In a simulation of a pullback entry on an upward-drifting random walk, the child traded 10 points better on every filled day, yet lost 12,328 points to its parent overall, because the days it missed were the parent’s best.

That is the conclusion. Each section below is the evidence for one claim; follow the sections or the evidence links into the strategy report for the data on every parameter set.

Why run every exit setting on one opportunity?

A common way to test exits is to change the exit parameters and rerun the backtest: once for each stop distance, once for each target. That has two costs:

  • Repeated work. Data, indicators and entry signals are identical in every run, yet they are recomputed each time.
  • Results that do not line up. Each run produces its own list of trades. You can compare the totals, but not ask what the new exit did to a particular trade.

The second cost matters more. A layered study compares each child strategy with its parent, and that comparison is only as good as the ability to match their trades.

How the engine splits a strategy

PartWhat it decidesHow many per strategy
Entry opportunityDirection, and the conditions that open, close or invalidate one episodeOne
Baseline policyTrades the opportunity as it is: enter when it opens, exit when it closesOne
Managed policyHow to enter (immediately, on a pullback, on a breakout) and how to exit (stop loss, take profit, breakeven, trailing stop, timeout)Zero or more

The opportunity is the part every variant shares. A pullback entry with a 2-ATR stop and an immediate entry with no stop are two policies on the same opportunity, not two strategies.

What is computed only once

WorkHow often
Loading market data, resampling, indicatorsOnce per distinct input; sharing is decided by content identity, not by names
The entry opportunity and its holding stateOnce per strategy
Each policy’s entries, exits and trade statisticsOnce per policy

So the cost of adding an exit setting is the cost of that policy alone. When a large batch of policies is split across several workers, each worker repeats the shared part once; within one worker it is never repeated.

Policies cannot affect each other

Sharing work is only safe if one policy can never change another’s result. The engine guarantees, and its tests check, that:

  • adding, removing or reordering sibling policies leaves every policy’s trades exactly the same;
  • a policy selected twice runs once;
  • if any policy fails, the whole batch returns nothing, so a result can never be missing one of its policies without notice.

Every trade lines up with its opportunity

Each trade a policy produces carries base_entry_time, the time its opportunity opened. Every policy’s trades can therefore be joined with the parent’s on that key: the same opportunity, traded two ways.

A delayed entry does not always fill. A buy limit below the market waits for a pullback that may never come. Those opportunities are kept as rows with is_adv_triggered = false, together with the price the order would have filled at, instead of disappearing from the results. Without them, a child’s trade list only contains the days it traded, and nothing shows which days it skipped.

Simulation: a pullback entry against its parent

The test uses 3,000 days of simulated minute prices from a random walk with a small upward drift. The parent goes long at the 09:30 open and exits at 16:00. The child is the same opportunity with a buy limit placed below the open, valid until 16:00.

The parent makes 20,436 points in total, 6.81 per trade. Lining the child up with the parent day by day:

Limit below the openFill rateChild totalParent totalChild − parent
10 points82.9%8,10820,436−12,328
20 points69.4%4,49020,436−15,946
40 points47.1%2,40820,436−18,028

The difference splits exactly into two parts, and only the alignment can show them:

Limit below the openGained: better price on filled daysGiven up: parent’s result on missed daysParent’s average on a missed day
10 points+24,860−37,188+72.35
20 points+41,620−57,566+62.64
40 points+56,560−74,588+47.03

Compared only on the days it traded, the 10-point child looks like an improvement: +3.26 per trade against the parent’s −6.74 on those same days. The cost is invisible from that view. The days the limit never filled are the days the price never pulled back, which are the parent’s strongest days, at +72.35 points each.

Simulated data:

The simulation uses randomly generated prices with an upward drift, not market data. It illustrates how the comparison works, not how pullback entries perform in any market.

Why this makes layered research possible

Our research grows each strategy one layer at a time and compares every child with its parent; the research map describes the layers and their rules. The split above is what makes that comparison fair and cheap:

  • all children of one parent run on the parent’s opportunity in a single computation;
  • each child’s trades line up with the parent’s, including the opportunities the child skipped;
  • exit scoring can replay the parent’s trades against a candidate stop loss and take profit, because each parent trade still carries its own excursions and volatility at entry.
Limitations of this post:

The simulation uses a random walk with no gaps, spread or slippage and a single entry rule; real pullback entries also depend on how the limit distance is chosen. The sharing described here applies within one worker; a batch split across several workers recomputes the shared part on each of them.

Questions this study answers

Why does TradePose run all exit settings on one shared entry opportunity?

Because the opportunity is identical in every variant: data, indicators and the opportunity are computed once, and each policy adds only its own entries and exits. Policies are isolated, so sharing never changes a result.

How can a child strategy be compared with its parent trade by trade?

Every trade carries the start time of its opportunity, and opportunities a delayed entry never filled are kept as untriggered rows. Joining on that key shows both the better price on the trades the child took and the parent’s result on the trades it missed.

Questions raised along the way

Can comparing only the trades a strategy actually took mislead?

Yes. A pullback entry looks better per trade on the days it fills, but the days it misses are the days the price never pulled back. In the simulation those missed days averaged +72 points, which outweighed the better entry price.

Method and data

Research setup, data and calculations; the identifiers needed to reproduce the study are under data sources.

Changelog

2026-10-24 22:10 first published
Cite this article

TradePose Research (2026). "One entry opportunity, many exit policies: how the engine splits a strategy." TradePose Research Notes.

@article{tradepose2026oneopportunitymanyexitpolicies, title = {One entry opportunity, many exit policies: how the engine splits a strategy}, author = {TradePose Research}, journal = {TradePose Research Notes}, year = {2026} }