KiT: A Foundation Model for Financial Time-Series Forecasting using DiffusionTransformers

Boyu Zhang, Haorui Li
9/28/2026
cs.LGcs.CV
diffusion-flow

Official code: Luciferbobo/KiT (419 stars, Python, AGPL-3.0, last commit 2026-10-16).

Abstract

Financial candlestick forecasting is fundamental to quantitative investment, yet it remains exceptionally challenging due to extremely low signal-to-noise ratios and vast heterogeneity across markets and instruments. Existing approaches have largely attempted to introduce deep learning to capture hidden temporal features, but most adopt an auto-regressive formulation, which leads to error accumulation during inference.

Show full abstract

Meanwhile, general-purpose time-series foundation models are not tailored to the unique structure of k-line data and yield unsatisfactory performance on downstream candlestick forecasting tasks. To tackle these problems, we introduce KiT, a K-line Diffusion Transformer foundation model, and reformulate future prediction as conditional path generation via flow matching: given a historical context window, the model generates an ensemble of plausible future OHLCV trajectories. We pre-train KiT at multiple parameter scales on billions of candlestick bars spanning multiple markets and timescales. Across three markets and seven resolutions, KiT attains a mean return RankIC of 0.057 and a mean volatility RankIC of 0.66, leading at every timescale and outperforming both task-specific financial forecasters and general time-series foundation models. Code will be available at: https://github.com/Luciferbobo/KiT.

View on arXivView PDF

Code Implementations(1)

Luciferbobo/KiTOfficial100%
AGPL-3.0

KiT: A Foundation Model for Financial Time-Series Forecasting using Diffusion Transformers

41958PythonSep 28, 20261 months agoAGPL-3.0

Similar Papers

Cite this paper

@article{zhang2026kit,
  title  = {KiT: A Foundation Model for Financial Time-Series Forecasting using DiffusionTransformers},
  author = {Boyu Zhang and Haorui Li},
  year   = {2026},
  eprint = {2609.34507},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.34507v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.34507.svg)](https://codeofpaper.com/paper/2609.34507)

Discussion