A practical and research-oriented guide to modern time-series forecasting, with a focused financial time-series seminar track.
This repository covers the full journey from classical statistical models such as Moving Average, ARIMA, and Prophet to recent deep learning and foundation models including DLinear, PatchTST, TimeMixer, iTransformer, CycleNet, TimesFM, SparseTSF, and TS-RAG.
The goal is not only to reproduce papers, but also to understand how to define forecasting problems, build reliable baselines, evaluate models correctly, and apply time-series forecasting techniques in real-world business, production, and financial-market environments.
- MLOps Engineers who want to operationalize forecasting systems
- ML Engineers and Data Scientists who need reliable baselines
- AI Research Engineers who want a structured reading path for modern time-series models
- Backend/Data Engineers who need to understand forecasting workflows end to end
- Financial time-series students who need leakage-aware forecasting and backtesting discipline
- Define the forecasting problem before choosing a model
- Analyze time-series data and identify seasonality, trend, anomalies, and missing intervals
- Build simple but strong baselines
- Compare statistical, ML, DL, and foundation models
- Avoid data leakage and invalid validation methods
- Understand modern forecasting research through financial time-series constraints
- Prepare models for production with retraining, monitoring, risk checks, and drift checks
ts-forecasting-lab/
├── docs/ # Conceptual guides and production checklist
├── notebooks/ # Experiment notebooks placeholders
├── src/ts_forecasting/ # Minimal Python package skeleton
├── configs/ # Model and experiment configs
├── experiments/ # Dataset-specific experiment areas
├── papers/ # Paper reading notes
├── seminar/ # Five-day financial time-series seminar
├── docker/ # Container environment
├── tests/ # Unit tests
├── Justfile
└── pyproject.toml
| Level | Category | Models |
|---|---|---|
| 0 | Naive Baselines | Last Value, Seasonal Naive, Moving Average |
| 1 | Statistical Models | ARIMA, SARIMA, Exponential Smoothing, Prophet |
| 2 | ML/DL Models | LightGBM with lag features, LSTM, DLinear, PatchTST |
| 3 | Modern Forecasting Architectures | TimeMixer, iTransformer, CycleNet, SparseTSF |
| 4 | Foundation / Retrieval Models | TimesFM, Chronos, Moirai, TS-RAG |
- Electricity: demand forecasting, multivariate seasonality
- Weather: multivariate long-horizon forecasting
- Traffic: periodicity and weekday/weekend behavior
- Finance / multi-asset: gold, silver, oil, Nasdaq, and FX volatility, regime, and range forecasting experiments
The seminar/ directory contains a five-day financial time-series forecasting course:
- Financial time-series problem framing
- Data analysis, labels, and leakage
- Baselines and statistical models
- ML, deep learning, and foundation models
- Backtesting, risk, and research memo writing
This track intentionally avoids general finance coverage and focuses on timestamp-correct, code-first financial forecasting workflows across gold, silver, oil, Nasdaq, and FX.
just install
just test
just benchmarkFor notebook-based exploration:
just notebookBaseline first. Problem definition first. Production constraints first.
A forecasting model is only useful when its prediction target, time horizon, validation method, and business decision are clearly defined.
See papers/README.md for the paper reading map.