Trending
#Finance

shiyu-coder/Kronos

A pretrained foundation model that forecasts K-line price and volume sequences for quantitative researchers and traders.

43,519
7,185
Python
MIT
1 year old

The problem

Quant forecasting usually means either fitting a small model per asset, which needs a lot of feature engineering and rarely transfers, or borrowing a general time-series foundation model that was never trained on the noise and non-stationarity of market data. Kronos takes the second path but specializes: it tokenizes OHLCV candlestick sequences into discrete tokens and pretrains an autoregressive Transformer on data from 45+ global exchanges, then exposes a predictor class that returns forecasted open/high/low/close/volume/amount frames.

What's different

General time-series foundation models treat any series as numbers; Kronos treats a candlestick as a language with a dedicated tokenizer that quantizes multi-dimensional prices into hierarchical discrete tokens before the Transformer sees them. That design is the main technical bet, and it is the reason the project can claim a single pretrained checkpoint rather than per-market training. Compared with classical forecasting (ARIMA, gradient-boosted trees on engineered features), it is a generative sampler: you get probabilistic paths via temperature, top-p and sample_count rather than one point estimate, which changes how you evaluate it. Compared with building your own LSTM/Transformer on a single symbol, the value is the pretrained prior and the fine-tuning scripts released in August 2025. Do not expect the README to explain calibration or backtest methodology; it does not.

Who it's for

Quant researchers and ML engineers who already have clean OHLCV pipelines and want a pretrained prior to fine-tune or benchmark against their own baselines. It also suits teams exploring generative, multi-path scenario forecasting for risk or execution research. It is not for retail traders looking for a signal to trade: the README gives a demo and an example script, not a strategy, and a forecast of prices is not an edge. People who need audited, explainable models for regulatory contexts should look elsewhere, as should anyone without the data infrastructure to feed and validate it.

Cost of adoption

Python 3.10+ and pip install -r requirements.txt; weights come from Hugging Face, and the usable variants are small to base (24.7M–102.3M params, 512-token context), so a single GPU is enough. The 499.2M Kronos-large is not open-source, which caps how far you can scale. MIT license is permissive. The main cost is not setup but validation: the repo is roughly 16 months old, accepted at AAAI 2026, and has fine-tuning scripts, but it is a research artifact — you will be writing your own evaluation harness and deciding whether sampled paths are trustworthy for your market and timeframe.

Verdict

Kronos is a real research release with weights, a paper and a fine-tuning path, not a README-only idea, and the current attention (about +4,200 stars in a month, #15 on the monthly Python board) suggests the financial-ML community is actively testing it. That momentum is recent rather than long-established, and no Hacker News discussion signals broad practitioner scrutiny. Treat it as a strong baseline and a pretrained prior, not as production infrastructure. The interesting question is whether the tokenizer's discrete representation beats simpler approaches on your data — that is worth a weekend, not a quarter.

Written by AI from the project's README, updated October 24, 2026. The project's own docs are the source of truth.