Ten indicators can tell the same story
Use exact examples, chronological ablations and a feature ledger to decide which trading model inputs earn their place.

Ten names for a busy afternoon
At a hypothetical research meeting, an analyst names the ten inputs that stood out before a particular decision. She reads off a one-bar price change, a one-bar percentage return, a two-bar net change, a two-bar percentage return, a fast moving average, distance to that average, a standardized distance, the number of recent rising closes, the range of recent closes and a momentum rank. Then she lines up the observations used to calculate them. The same rise in the closing price runs through almost every column. What looked like agreement among ten witnesses is a set of descriptions made from one price sequence.
Start with provenance. Draw the connections from the incoming close to the formulas and write down their windows and availability times. A three-close range and a three-close average respond to different aspects of the sequence. One compares extremes and the other tracks level. Their shared origin makes a comparison worthwhile even when the columns look quite different. A standardized distance may be an ordinary distance scaled with statistics fitted on older observations. Those statistics introduce an operational dependency alongside the original observations.
The team needs a working definition of a piece of information. At the feed level, a calculation made solely from a known sequence cannot reveal a second observation beyond that sequence. At the model level, distinct summaries can give the learner different usable views. A range can distinguish a smooth rise from a jagged one even when both finish at the same net change. If the model already receives every close in the window, the question is whether supplying the range explicitly makes the relationship easier to learn.
Count the observations, then test their representations. The first exercise establishes what went into the columns. The second measures what happens when you offer the learner fewer ways to express a decision. The answer comes with the model family, prediction horizon, availability rules and costs used to obtain it. If the team moves from a daily signal to a ten-minute signal, a previously minor delay or a repeated observation can become decisive. An experiment once sufficient to justify a feature can remain valid for its original use while leaving a new use case open.
Eight closes make the relationships visible
Take a hypothetical series of eight consecutive closes in arbitrary price units. Calculate features after each close becomes available. For rows three through eight, let A be the sum of the latest two one-bar changes. Equivalently it is the current close minus the close two bars back. Let B be the current close minus its trailing three-close average, including the current bar. Introduce three audit columns to make types of repetition visible. D is a copy of A, L equals twice A plus ten, and M is the square of A.
| Row | Close | A | B | D | L | M |
|---|---|---|---|---|---|---|
| 1 | 100 | |||||
| 2 | 101 | |||||
| 3 | 102 | 2 | 1 | 2 | 14 | 4 |
| 4 | 104 | 3 | 5/3 | 3 | 16 | 9 |
| 5 | 108 | 6 | 10/3 | 6 | 22 | 36 |
| 6 | 107 | 3 | 2/3 | 3 | 16 | 9 |
| 7 | 112 | 4 | 3 | 4 | 18 | 16 |
| 8 | 115 | 8 | 11/3 | 8 | 26 | 64 |
Compare rows four and six. A equals three on both, but B falls from five thirds to two thirds. A sums the moves of four and minus one on row six, and those of one and two on row four. B weights the latest move twice as much as the earlier move before dividing by three. It distinguishes the reversal from the acceleration even though A records the same net move. You can see the distinction without estimating a coefficient or looking at an outcome.
D is an exact duplicate when both implementations share a timestamp, numerical convention and missing-data policy. L is an affine transformation. On these rows its Pearson correlation with A is one. A consumer given L could subtract ten and divide by two to reconstruct A. If L were rounded into a small number of bins or clipped above a threshold, inversion would fail for some observations. A correlation dominated by ordinary rows could conceal the loss at the ends of the distribution.
M illustrates a monotonic relationship on the observed positive domain. With average ranks for ties, the Spearman correlation between A and M is one. Squaring over the entire real line loses the sign and merges positive and negative changes of equal magnitude. Perfect agreement in a short rank audit can describe the rows and still give the wrong rule for later data. Cubing would preserve ordering over the real line if a globally invertible nonlinear transform were needed for a different experiment. That choice would also change the scale at large absolute moves, which could matter to a distance-based learner. The sample here is short enough to check every value and to see why the domain belongs in the definition.
Conditional redundancy needs more than a pair
A and B are correlated features that disagree at a tie. On the six populated rows, Pearson correlation is about 0.874. With average ranks for ties, Spearman correlation is about 0.899. Both are relationships among inputs. The calculation has no target and tells us nothing about whether either feature helps predict a subsequent outcome. It supplies no causal account of who moved the market or why. Even a weak input correlation offers no basis for treating the features as causally independent.
Give the model A and a third input C, the latest one-bar change in price units. Under the definitions here, B equals the sum of A and C divided by three. B is conditionally redundant given A and C as a matter of algebra. You can reproduce it from those two columns, although A alone cannot do it. A pairwise screen can miss this because no single pair has to match closely. Conversely, a low threshold applied to all pairs may throw away distinctions because the screen sees agreement in most rows and misses where it breaks.
There is a separate empirical use of conditional redundancy. A feature can add too little measurable value once the remaining columns are available even when exact reconstruction is impossible. Suppose the researchers also have a reliable lagged return measure from a related market that arrives on time. B could cease to help after that measure enters the model. The result would depend on the target, operating policy and observations. It would justify a removal decision within a stated tolerance, with room for the judgment to change under another market or model.
A dependency equation and a performance comparison answer different questions. Put the equation in the dictionary with its units and availability assumptions. Give any performance claim its own evidence. An advantage from B might reflect a useful coordinate for a constrained learner. It might also expose a different price series behind C, or a stale value during a feed interruption. Compare individual rows around changes in session, version and coverage to explain a discrepancy hidden in an aggregate matrix. The same technique helps when a strong association turns out to come from a shared convention for filling genuinely different missing observations.
Check the overlap in the lookbacks
Suppose a hypothetical model consumes five-bar and six-bar cumulative changes. With the same endpoint, the six-bar measure equals the five-bar measure plus the oldest one-bar change. This extra observation may matter around a gap or correction and may usually be small next to the moves both features share. Their resemblance comes partly from lookback overlap. One feature also overlaps with itself over time. Two adjacent rows of a six-bar measure share five underlying moves. A thousand rows can hold far fewer distinct episodes than the row count suggests.
Units alter the diagnosis. A one-unit move has different implications for a series trading near one hundred and a series trading near ten thousand. Dividing by a lagged price yields a relative move and involves the price used as denominator. Raw changes and percentage returns can therefore differ in how they rank observations. Within a single series, standardizing with a fixed mean and scale also behaves differently from dividing by recent realized volatility on each row. The latter can rank a large move in a volatile session below a smaller move in a quiet one. That reordering is part of the hypothesis.
Inspect shared observations and denominator choices before picking a clustering threshold. Record common coverage, whether correlation uses pooled or per-instrument rows, and how ties are handled. A pooled table may show a strong relationship because instruments have different typical levels. Within each instrument the relationship may be weaker, especially at hours when the policy is active. A constant column yields an undefined Pearson correlation. Treating an undefined cell as zero would give the reader a misleading impression that a relationship was measured.
Produce candidate families with a reason they may substitute for each other and a row or episode where they might disagree. Put the five-bar and six-bar measures together for a trial and annotate the oldest move as the potential source of separation. If disagreements are concentrated around the open, examine that segment with the same availability conventions as elsewhere. Write down how you define the open for each instrument and date. A segment split at a clock time is interpretable when you can reconstruct which session the time belongs to. An apparent exception may turn out to repeat each time a vendor assigns a close to a different date. Resolving such an alignment issue can make a better comparison possible before you reconsider the feature group.
What a permutation actually tests
Permutation importance starts with a fitted model and a score on chosen observations. It compares that score with the result of altering a feature by permutation and rescoring the same model. The change describes reliance under the intervention and evaluation choice. A different loss, sample or fit may yield a different value. Scikit-learn’s permutation importance documentation.
Imagine a hypothetical ensemble in which some trees use one momentum measure and others use a close proxy. After you shuffle the first measure, the other trees keep voting with the original proxy. Many actions may remain on the same side of the decision threshold. A small drop can coexist with reliance on the family as a whole. A large drop is possible when the model relies heavily on one representative while an unused alternative shows little importance. Scikit-learn illustrates weak individual permutation scores with correlated inputs and gives an example of using Spearman-based clustering to propose groups. Scikit-learn’s multicollinearity example.
The shuffle defines the disturbance. Shuffling individual rows can place a jump from a volatile afternoon next to a calm morning, or cause a rolling statistic to jump between levels it would normally revisit gradually. Shuffling family members in separate orders breaks the relationships that made them a family in the first place. A fitted model may be scored on combinations outside its usual support. The measured change can then mix disruption of a target association with disruption of market structure.
One development diagnostic uses the same rearrangement of contiguous blocks for all features in a family, within predefined groups such as comparable sessions of an instrument. Simultaneous relationships and consecutive observations survive inside a moved block. Continuity can still break at the boundaries and between the moved family and untouched features. If the family encodes spread and another input uses the same quotes, their disagreement can be severe.
Evaluate plausible block lengths chosen using cadence and window sizes. Record the boundaries, repeats and number of eligible blocks. Compare perturbed combinations with ordinary rows before giving a score a precise interpretation. If the assessment contains too few comparable blocks or their placement regularly creates impossible combinations, prioritize the refit experiment. Even when a shuffle is feasible, its measured effect belongs to that procedure and score.
Disturb a fit or train a replacement
For a grouped permutation, fit the candidate once and apply one joint rearrangement to the family on the assessment rows. Generate predictions in the target chronology and score the entire sequence with the original rule. If the decision depends on yesterday’s position, begin from the same boundary state and replay the sequence. A changed action can affect turnover later even when subsequent predictions are unchanged. The result describes how the fit responds to a specific disruption in the family’s alignment.
For a group ablation, remove the family and refit the rest of the pipeline. The learner can change its splits, coefficients or thresholds and may adopt a substitute. Use the same chronological fold boundaries, common eligible rows and evaluation rule for each comparison. Lock the architecture and training recipe, or allow tuning within each training interval under an equal budget and protocol. A fixed recipe compares inputs under one procedure. Equal-budget tuning compares what can be built from each input set with a specified effort. Make the choice explicit so that a colleague can repeat the experiment.
Consider a hypothetical project where A and B label two whole momentum families, reusing the letters from the exact toy example for a separate trial. Large joint permutation damage on A and B could indicate that the full fit relies on their alignment. Removing B and fitting again might leave almost all of the score intact because the new model leans on A. Removing both tells you whether the other inputs can cover the same role. This gives the researcher an experiment to run when several individually weak importance scores would otherwise suggest deleting the entire family at once.
Disturb the fitted model to study reliance. Refit to study replacement. Write down each raw score and the direction of the differences. The marginal contribution of B given A compares the full model with the refitted A variant under the same core inputs. Seed variation adds uncertainty. Pair seeds across variants where practical and inspect differences by fold. Rows with overlapping outcomes can share the same future price moves, and repeated fits also share their market observations. Summarize differences by meaningful periods and keep claims proportional to the number of distinct periods. A gain that recurs across several seeds on one episode would justify investigating the episode before treating it as evidence from several markets.
Put turnover inside the worked example
Consider a separate hypothetical development trial with three chronological assessment folds. The score is gross decision points less a charge of one point per unit of turnover. One unit represents a fixed size of position change, covering additions, reductions and entries. A constant flat policy scores zero. The core is a simple fitted baseline with one lagged predictor. A and B are additions to that core. The same assessment rows, alignment, position sizing rule and charge apply to the four fitted variants. All the figures are invented score units.
| Variant | Gross by fold | Turnover by fold | Net by fold | Mean net |
|---|---|---|---|---|
| Flat | 0, 0, 0 | 0, 0, 0 | 0, 0, 0 | 0 |
| Core | 7, 3, 5 | 3, 3, 3 | 4, 0, 2 | 2 |
| Core and A | 12, 6, 9 | 4, 4, 4 | 8, 2, 5 | 5 |
| Core and B | 11, 7, 8 | 4, 4, 4 | 7, 3, 4 | 14/3 |
| Core and both | 15, 7, 10 | 6, 5, 5 | 9, 2, 5 | 16/3 |
Subtract four from twelve to get eight for A in fold one. Comparing both with A yields paired differences of one, zero and zero, so B’s marginal gain given A averages one third. Gross differences across the folds are three, one and one. Additional turnover consumes four of the five gross points. At a charge of two per unit, A scores four, minus two and one, averaging one. The combined model scores three, minus three and zero, averaging zero. The choice between the two can reverse over this cost range using the same predictions.
Fix the cost convention before interpreting the gain. If one variant carries a position across an assessment boundary and another resets it, their turnover totals may cover different events. A system missing a feature on some days can look expensive or cheap because it acts on a different subset. Start with common rows to isolate the input change. Add an operational comparison on the full timeline with each variant’s actual fallback. Record the denominators for both so that a colleague can reproduce them.
Here each fold gets equal weight. For folds of unequal length, weighting by elapsed time or decision count can answer a different question and allow one long period to dominate. Choose the weighting in advance and show paired differences. Realistic costs can vary by hour and action. An indicator can change forecasts only slightly and still cause additional position changes near a threshold. The bid, ask and spread article explains a common source of this friction. Where cost estimates are uncertain, record the range of charges that change the feature decision.
Put fitted choices inside development
A row-level identity can be deduced directly from the formulas. Estimating clusters, selecting representatives for target performance, estimating scaling statistics and learning missing-value fills are fitted steps. In a chronological development fold, use the earlier training interval to learn those steps and apply their state to the later assessment interval. Reserve final evaluation for the settled feature policy. Scikit-learn discusses how training-only feature selection avoids contaminating assessment. Scikit-learn’s guidance on common pitfalls.
Suppose a hypothetical scaler fitted on earlier distances has mean two and standard deviation four. A later raw distance of six becomes one. Re-estimate on a later period with mean six and standard deviation two and that same row becomes zero. If those later statistics were available to the fit before the assessment, the transformed values encode information from the period being assessed. A rolling update can be legitimate when the policy permits each update from observations available by that time and the replay follows the same order. Write down the moment when the state changes and whether it includes the current row.
Record two boundaries for development. One controls what a fit may see. The other controls which results researchers inspect when deciding what to try next. A researcher can obey the first boundary in every fold while mining the same assessments repeatedly to pick features. Paired fold means are evidence for a development choice. A later evaluation should come after that choice and a defined retraining policy are frozen. If a cluster rule relearns within each training interval, record its output since the selected names can change while the rule stays fixed.
Earlier raw observations can warm up a causal window before a fold begins. Their admissibility depends on their actual time of availability, while target-based selection also requires that the relevant outcome was observable by the training cutoff. A three-day target starting just before that cutoff may settle after it. Retain admissible input history and enforce the target boundary separately. If the label was revised later, capture which version the training run would have had. A timestamped record of a feature can be correct even when the label beside it arrived too late for that training run. Distinguishing those records prevents both unnecessary cold starts and accidental look-ahead.
Preserve the meaning of each input
A stable dictionary contains an identifier, formula version, source field, units, availability time, minimum lookback, missingness reasons, fitted state and operational responsibility. Record which series enters a denominator and whether the current value participates in a window. Keep identifiers stable while their definitions are stable. A move from price units to a volatility-scaled value deserves a distinct definition or version even if both might be called momentum.
Suppose the close at row seven of the toy example is missing. At row eight an endpoint formula can compute A from 115 on row eight and 107 on row six. A sum of consecutive changes cannot be computed without row seven. Under a strict contiguous policy suppress both implementations. Under an endpoint-only policy record that A can survive while B and C are missing. The identity linking all three describes their joint availability and their observable rows may differ. A unit test can exercise that specific gap with both implementations and check whether the dictionary’s promise holds.
Store why a value is missing. Warm-up, an absent close and an unavailable fitted scaler demand different responses. A missingness indicator can reflect a feed issue or a scheduled break and acquire predictive-looking importance without a stable economic interpretation. If deployment uses multiple vendors, check whether the flags fire at the same market intervals. See where a proposed representative drops rows the family could otherwise cover. A fallback can be valuable even if its incremental contribution on complete rows is negligible. Test activation and recovery using explicit conditions.
The dictionary also exposes operational cost. An extra column may require longer warm-up history, a secondary feed, synchronized state or a replay change whenever definitions are corrected. Conversely, with A and C already maintained, forming B from their sum divided by three may be easier to reconcile than running an independent pipeline if their policies match. Record whether the change removes a column from the learner, moves its calculation into a shared dependency, or retains it for diagnostics. In an interrupted run, that distinction determines whether the system can start with fewer inputs or still needs the original feed. The article on feature availability develops the timing questions behind these choices.
Let the learner and the trading rule matter
A linear model with an intercept and unpenalized coefficients can express the same predictions with A or L when L is twice A plus ten. With both columns included, coefficients can be poorly identified even while predictions reproduce closely. Under regularization, scaling and duplication can change the effective penalty. Splitting a coefficient of two into two coefficients of one on identical standardized columns reduces the sum of squares from four to two. The predictions are the same for a fixed combined coefficient, and the objective charges a different penalty.
A single tree split can order A and a strictly increasing transformation of A in the same way. An exact split search on the same rows can isolate the bottom three observations under either representation. Binning, rounding, ties, missingness and rules for choosing candidates can change the fit. A tree given A and C may also need multiple axis-aligned splits to approximate a threshold on their sum. A shallow tree given B can potentially use one split for the same purpose. That is representation value for a specified learner, even when the information behind the representation is already present.
Inspect interaction with the final action. In a hypothetical policy that increases exposure above 0.60, moving a prediction from 0.59 to 0.61 can trigger an action. An equal change from 0.72 to 0.74 leaves the policy on the same side of the threshold. Models with close average forecast errors can therefore generate different turnover and net scores. Compare model metrics alongside action disagreements, turnover and net score with the decision rule held constant. If you tune the threshold, keep that tuning inside the training protocol for each variant.
Choose which model families justify a comparison. Testing ten learners, several window lengths and a feature selection rule for each can leave a memorable best case and an incomplete record of the search. A smaller trial might compare a regularized linear baseline and a shallow tree, using one configuration rule for each and a written reason to retain deterministic transforms. If the tree needs B and the linear baseline shows little gain, the result identifies the context where the representation helps. Keep the score alongside the learning recipe, since changing the depth or penalty strength later can change the relevant notion of redundancy.
Follow the disagreements into segments
The hypothetical folds show a small average advantage for both families at the initial cost, concentrated in fold one. Begin by locating where positions or decisions change between A alone and both. Mark the periods, the relevant input values and the position changes that incurred costs. Assign observations to categories fixed before reading the outcomes, such as instrument, session or a liquidity band defined using available information. Count distinct episodes alongside rows. Thirty observations around an opening gap may reflect one shock and many overlapping windows.
Stability includes coverage and economics. Hypothetically, if B’s extra point comes from a session with favorable spread assumptions, say precisely which assumption carries the decision. From the table, the aggregate increment of both versus A is five gross points less four times the charge per turnover unit. The variants tie at a charge of 1.25 under the linear rule. Above that level the aggregate comparison favors A. The crossing describes this cost scenario. With variable spreads, inspect which action times drive the differences and whether plausible prices at those times would alter the ranking.
Read segment estimates alongside the opportunity to learn from them. Two observable disagreements on one instrument give limited evidence about performance there. Where a feature fails during feed stress, dropping the affected rows can remove the main difference between policies. Evaluate a coverage-aware fallback comparison and state the availability assumptions. Investigate whether the gain appears at similar times elsewhere and whether the chosen segmentation was prompted by the result. Preserve that distinction so that an exploratory segment becomes a question for later development and a predeclared segment can be interpreted under the original design.
With thin support, abstain from concluding that the extra family helps. Here abstention is a research decision. The experiment can proceed with its baseline while the extra family remains unselected. Record what would change the choice, such as repeated net benefit across multiple predefined sessions at realistic costs and with enough distinct episodes. Define the coverage the new feature must achieve or the fallback it must match. A reviewer can then arrange the missing comparison without reinterpreting a sparse fold table as a mandate to deploy extra inputs.
End with changes someone can implement
Finish with a record a colleague can reproduce from the same data. In this hypothetical review, mark D for removal after comparing formula, coverage and sample values with A. Preserve the alias in the dictionary if an older experiment used the name. Mark L for removal in the chosen linear pipeline after matching scaling and refitting. Check that the comparison used the intended penalty. Label M as a domain-dependent transform. If it is intended to express movement magnitude, require a test covering negative moves and a reason to discard sign.
Record B’s two roles with their own evidence. In the eight-close audit, the algebra describes where B can be derived from A and C. In the separate fold trial, A and B label families and the combined policy gains one third of a mean point. Under a hypothetical minimum gain of half a net point with comparable coverage, retain core and A as the development candidate and defer B. The threshold is a rule for this example. A team can justify its own tolerance through implementation burden and the size of a performance difference it considers material.
Write a decision with a reopening condition. Record the fold identifiers, model and dictionary versions, row policy, score formula, family membership, paired results and cost range. Assign removal to the feature serving configuration as well as the fit configuration if both consume the column. A removed model input can still cost time and storage in a pipeline that keeps computing it. For a replacement, verify one ordinary interval and one with a coverage difference. Record which feature state has to survive a restart and who can verify the replay.
Keep the simplest candidate that clears the stated evidence and operating requirements. A contributor should be able to locate the unresolved comparison and run it without reopening every previous choice. If B earns another look, file a new decision against the previous one and preserve its assumptions. A paper trail also lets a second researcher identify when a former duplicate becomes distinct because a feed, timestamp convention or filling rule changed. To practice tracing inputs through explicit rules and checking the decisions they generate, use the Forex demo as material for study and testing.



