Component comparisons: compare one part at a time
When you are unsure which option to use for one part of a strategy (which initial stop, which exit, which filter), compare the options side by side instead of trying them one after another. A component comparison holds your strategy version fixed except that ONE part, runs every option on the same data, window, symbols and costs, and recommends the most robust option, not the one with the highest number.
The five parts you can compare
| Part | What an option changes |
|---|---|
Initial stop (initial_stop) | The stop: a fixed percent, a multiple of ATR, the signal bar's low, a recent low… |
Entry timing (entry_timing) | When an entry fills: at the next bar's open, or at the signal bar's close |
Filter (filter) | Add, remove or swap ONE filter (the same way on each side) |
Exit (exit) | The exit rules: a time exit, a target, an indicator exit… |
Trailing stop (trailing_stop) | The trailing stop, its level and when it activates |
Each option is a label and a JSON Patch of the version's configuration (add,
remove or replace). An option that changes anything else (the entry
rules, the risk per trade, the costs, when exits fill) is refused with the
field named: a comparison changes one part and holds everything else fixed.
How to run one
- Run the version you want to improve (a full run, not a screen).
- Create the comparison from that run with 1 to 7 options besides the
current one (
compare_component,POST /api/v3/research/comparisons, orss compare). Adddry_runfirst to check the options and see what the comparison will cost. - Every option, the current one included, runs as a version of your strategy, and each option's own settings are re-run one step either way (its neighbors). Read the comparison when the runs complete.
The options are registered before anything runs and can never change. The same comparison asked again is never run twice.
In the app
Open the run in the Strategy Optimizer and go to Runs › Compare › One component (or use Parts on the run's row in Runs › Attempts). Pick the part, then add options: Add the editor's … takes that part from the strategy editor (change the stop, filter or exit there first), entry timing offers the fill you do not use, and Write a JSON Patch takes one by hand. Name each option, Price it (nothing is written: the runs, the time and the attempts it will record), then Start the comparison. A run a comparison cannot start from (exploration, a screen, a re-run) says why before you write any option. When it is read, Save the recommended option as the next version loads that version into the strategy editor exactly as it ran and saves it as a template of your strategy, on the strategy's timeframe. If the editor holds anything you have not saved (changes to a template or to a loaded version, or a new strategy you are writing), you are asked first. If the name is taken, you are offered the next free one.
What it costs
Every option is a version of your strategy and counts as an attempt once it shows a result. Re-running the current one is not a new attempt. The neighbor settings count only if you later pick one of them as a version. Every answer says how many attempts the comparison records.
How the recommendation is made
The rule is fixed in advance and stated in every answer:
- Robust, not best-looking. Each option is scored on its average trade (net R, after costs) together with its neighbors. A setting that only works exactly where it is scores what its neighbors earn, so a steady option beats a higher number that falls apart one step away. The highest raw number is labelled best-looking, or best-looking, fragile.
- Better than noise. An option is recommended only when it beats the current one by more than the paired interval (the same days resampled for every option, widened for the number of options compared) plus an allowance for losses your sample may not contain: an exit that only changes the trades that ran far can look better on every trade it changed until the rare runner it cuts short shows up. The rule charges two such unseen trades, each moving as far as the widest range of outcomes on record. Otherwise the answer is to keep the current one.
- Measured honestly. On 2,800 comparisons where no option is truly better (options that change every trade, and options that change only 30 to 300 trades with a rare 3-6 R loss hidden among them), the rule recommended a change 10 times: at most 1.5 in 100 for any one kind. The target is at most 5 in 100. The price is power on small samples: a real improvement of +0.2 R per trade over about 750 trades is recommended 91 times in 100.
Each option also shows its Sharpe and its deepest drawdown on the daily account series (percent of the account), and how many trades it made.
A recommendation is a candidate version, never a final answer: save it as the strategy's next version and run the full robustness battery on it.
The findings library
What your decided comparisons taught, computed fresh every time
(list_findings, GET /api/v3/research/findings, ss findings): for each
kind of edge, market, timeframe and part, how often a change TO an option
was recommended, for example "a volatility stop won in 3 of 4 strategies where
it was compared", with the comparisons behind it. A comparison that kept the
current option is shown apart ("kept as the current option in 1"), never as
a win. Each strategy counts once. Findings are
starting points for your next strategy, never guarantees, and nothing is ever
applied for you. In the app, the library for the part you compare sits under
the comparison, and the whole library is the Findings view of the Research
page, narrowed by part and market; each finding opens the comparisons and runs
behind it.
When to compare and when to explore
Compare when you have a few named options for one part and want to know which holds up. Explore (new runs, the robustness battery's neighbor grid) when you do not know the options yet. A comparison is not a parameter sweep: every option you add is one more attempt.