Skip to content

Hedge fund: multi-horizon forecasting

Forecasting a financial target per entity across several time horizons with a LightGBM pipeline built from swappable feature processors.

Abstract ​

The Hedge Fund Time Series Forecasting competition[1] asks for a target forecast per entity, identified by code, sub_code and sub_category, at several horizons. This entry uses a LightGBM[2] pipeline with modular feature processors, so feature groups can be added or removed without touching the model code.

Introduction ​

Forecasting many entities across many horizons multiplies the problem quickly. Before trying to cover everything, I want one horizon that works well and a pipeline that makes feature experiments cheap.

kaggle.comHedge fund - Time series forecasting ↗Time series forecasting by code, sub-code, sub_category and horizon

Progress ​

Methodology ​

  1. Gradient boosting. LightGBM, chosen for speed on tabular data with many entities.
  2. Feature processors. Each feature group is a separate processor that plugs into the same pipeline.
  3. Planned changes. Focus on horizon 1, add lag features[3], and test whether code, sub_code and sub_category work better as targets than as inputs.

Results and Conclusion ​

No validated scores yet. Narrowing to a single horizon first should give a clean baseline that every later feature can be measured against.

References ​

  1. Kaggle. Hedge fund – Time series forecasting. https://www.kaggle.com/competitions/ts-forecasting (opens in new tab) ↩︎

  2. Ke, G. et al. (2017). LightGBM: A Highly Efficient Gradient Boosting Decision Tree. NeurIPS 30. https://papers.nips.cc/paper/6907-lightgbm-a-highly-efficient-gradient-boosting-decision-tree (opens in new tab) ↩︎

  3. Hyndman, R. J. & Athanasopoulos, G. (2021). Forecasting: Principles and Practice (3rd ed.). OTexts. https://otexts.com/fpp3/ (opens in new tab) ↩︎