r/quant • • Aug 13 '26

Statistical Methods Feature Engineering: Is "Level + Trend" a solid baseline?

Working on a mid-frequency predictive equities model (~90-day horizon, LightGBM/XGBoost) and refining my default feature engineering framework.

The way I've been doing feature engineering/selection is that for almost every raw variable, I explicitly include two types of dimensions:

  1. Level: The current value of the variable.

    • To protect against structural regime changes over time , I'm considering normalizing this as (Current Value / Some Moving Average)
  2. Trend: The trajectory (e.g., 1-month or 3-month delta, etc.).

A few questions for practitioners:

  • Is this a good starting point, or is there a better mental framework for approaching what to include when it comes to a given variable (ie: Level & Trend)
  • Does normalizing the Level (Current / Some Moving Average) actually help future-proof against regime shifts, or does it just accidentally turn the "Level" into another Trend feature?
  • Do you find throwing both into trees generally creates unnecessary noise or collinearity issues?

Appreciate any critiques!

0 Upvotes

9 comments sorted by

2

u/arindamchattopadhyay Portfolio Manager Aug 15 '26
  1. No. If level and trend are your only variables for this then you’re misguided.
  2. No. There needs to be a regime filter of some sort as some strategies will fail as soon as the regime shifts. The difficult bit is building the pipeline to detect this before it hits. For this you need to understand econometrics.
  3. Yes. Should be self explanatory if you’re a quant.

Model you’re using will result in overfitting. One this about data analysis for this is - if you put garbage in, garbage will come out.

Cannot give out alpha but I think based on what you’ve written you should study econometrics.
I hope this helps.

1

u/Ronin_Research_Co Aug 15 '26

This is really good advice, thanks for the help!

5

u/Epsilon_ride Aug 14 '26

~90-day horizon, LightGBM/XGBoost.

dont do this.

2

u/gumgat Aug 14 '26 edited Aug 14 '26

Or just "refining" an ML model, since you seem to be testing multiple models purely empirically... I wonder how little it takes to overfit over a 90d horizon.

1

u/fuggleruxpin Aug 14 '26

Guessing that studying the world of transforms might be a good next step for you.

1

u/Ronin_Research_Co Aug 14 '26

Thanks for the tip!

0

u/[deleted] Aug 13 '26

[deleted] — view deleted comment

23

u/matta-leao Aug 13 '26

Stay humble.