--- license: mit base_model: NeoQuasar/Kronos-small base_model_relation: finetune library_name: pytorch pipeline_tag: time-series-forecasting tags: - time-series - forecasting - finance - quantitative-finance - volatility - realized-volatility - stocks - kronos - arxiv:2508.02739 model-index: - name: Kronos-Vol results: - task: type: time-series-forecasting name: Next-session realized volatility forecasting dataset: name: 39 large US stocks held out of training, 5-minute bars, July 2024 to November 2026 type: custom metrics: - type: qlike name: Calibrated QLIKE, lower is better value: 0.1790 - type: qlike_gain_vs_har name: Lower calibrated QLIKE than HAR-RV, percent value: 8.9 - type: r2 name: R2 on log realized variance value: 0.562 - type: spearmanr name: Rank IC across stocks value: 0.733 --- # Kronos-Vol: next-day volatility from 5-minute bars Kronos-Vol is Kronos-small, fully fine-tuned (its tokenizer frozen) to forecast how much a US stock will move in the next trading session. It reads the last 256 five-minute candles of a stock plus nine classic volatility features, and returns a forecast of the next session's realised variance (the sum of squared 5-minute returns). **It forecasts how much a stock will move, never which way.** It is a risk input for position sizing, volatility targeting and option research, and it is no trading strategy on its own. **In one line:** on stocks it never saw in training (40 held out, 39 with data in the test window), from July 2024 to November 2026, its forecasts beat HAR-RV, the standard model in the volatility literature, by 8.9% in calibrated QLIKE, in every year and on 39 of 39 stocks one by one. The same network without Kronos, trained the same way, is beaten by 3.2% (Diebold-Mariano t -4.71), in every year and on 35 of 39 stocks. Three seeds are averaged. Kronos's pretraining appears to end around mid 2024, so every number below comes from data after it. ## Why fine-tune a candlestick model for volatility Used as shipped, Kronos forecasts price paths, and its direction calls did no better than buy and hold in an independent test. Volatility is different: it clusters, it is forecastable, and the shape of the intraday candles carries information that daily summaries lose. Fine-tuning turns the pretrained network into a volatility reader. What pretraining buys, measured: | Training stocks | Kronos fine-tune | Same network, random weights | Head without Kronos | HAR-RV | |---|---|---|---|---| | 20 | 0.1813 | 0.1858 | 0.1859 | 0.1965 | | 60 | 0.1811 | 0.1841 | 0.1860 | 0.1965 | | 159 | 0.1806 | 0.1812 | 0.1847 | 0.1965 | Calibrated QLIKE on the held-out stocks, lower is better, first recipe (squared-error loss, before QLIKE was added to it). With 20 training stocks the pretrained model already reaches a level that random weights need about 159 stocks to match. With the released recipe at 20 training stocks: Kronos 0.1810, random weights 0.1839, no Kronos 0.1859 (HAR-RV 0.1965). ## Results Protocol: 199 large US stocks, 5-minute SIP bars. 40 stocks (fixed seed) are held out of training and validation entirely. TRAIN 2021-07 to 2023-12, VAL 2024-01 to 2024-06, TEST 2024-07 to 2026-11-10. | Forecast | Calibrated QLIKE | Lower loss than HAR-RV | DM t vs HAR-RV | R² (log RV) | Rank IC | |---|---|---|---|---|---| | **Kronos-Vol (this model)** | 0.1790 | +8.9% | -4.85 | 0.562 | 0.733 | | Same head without Kronos | 0.1849 | +5.9% | -3.58 | 0.558 | 0.731 | | LightGBM, same 9 features | 0.1889 | +3.8% | -3.80 | 0.552 | 0.727 | | HAR + the extra features | 0.1885 | +4.1% | -3.06 | 0.551 | 0.728 | | HAR-RV | 0.1965 | +0.0% | | 0.533 | 0.722 | | Yesterday's realised variance | 0.2405 | -22.4% | +7.34 | 0.370 | 0.654 | Held-out stocks: 39, sessions 2024-07-01 to 2026-11-10, 22,637 stock-days. By year, calibrated QLIKE: 2024: 0.1874 against HAR-RV 0.2044; 2025: 0.1946 against HAR-RV 0.2207; 2026: 0.1543 against HAR-RV 0.1635. Kronos as shipped (zero-shot, sampling the next session's 78 candles, 16 paths) on a sample of 1,289 held-out stock-days (39 stocks): calibrated QLIKE 0.2444, against 0.1719 for this model and 0.1870 for HAR-RV on those rows. SPY and QQQ, never in training: calibrated QLIKE 0.2212 against HAR-RV 0.2397 (DM t -2.28); the head without Kronos does as well there (0.2206). - **Calibrated QLIKE** removes each model's own level shift first. Raw QLIKE rewards forecasting high, so raw wins can be bias. - **t**: Diebold-Mariano on the daily cross-sectional mean loss, Newey-West errors, 5 lags. ### Fresh sessions 9 sessions after the study window (2026-11-11 to 2026-11-23), 188 stocks, never used for any choice: calibrated QLIKE 0.1209 against HAR-RV 0.1194 and the same head without Kronos 0.1213. Too few sessions to prove anything alone; a check that nothing broke. ### In a portfolio Long only, each day's weight is the square root of the forecast's own past median over today's forecast (capped at 2), held open to open, 5 bp per unit traded, July 2024 to November 2026. Risk steadiness is the std over the mean of the 21-day volatility; lower is steadier. | Equal-weight basket of 12 large names | Return | Volatility | Sharpe | Max drawdown | Risk steadiness | |---|---|---|---|---|---| | Buy and hold | 21.4% | 18.5% | 1.16 | -20.9% | 0.663 | | Sized by HAR-RV | 20.3% | 15.6% | 1.30 | -17.8% | 0.389 | | Sized by the head without Kronos | 20.2% | 15.5% | 1.30 | -17.7% | 0.385 | | **Sized by Kronos-Vol** | 20.2% | 15.3% | 1.32 | -17.7% | 0.369 | Against HAR-RV sizing the Sharpe difference is not significant (stationary block bootstrap, 21-day blocks). ## How to use ```python import pandas as pd from kronos_rv import KronosRV # this repository: kronos_rv.py and the kronos_model folder m = KronosRV.from_dir(".") # downloads the Kronos tokenizer and base config from the Hub bars = {"AAPL": pd.read_parquet("AAPL_5min.parquet")} # ts (New York time), open, high, low, close, volume, vwap spy = pd.read_parquet("SPY_5min.parquet") # needed for the three market features print(m.forecast(bars, spy)) # next_log_rv, next_var, next_vol_annual for the session after the last one ``` - Bars must be regular session only, 09:30 to 15:55 bar starts. - Each stock needs at least 256 bars and 22 full sessions of history. - Sessions with fewer than 70 bars are skipped. - `next_var` is set to the right level with a factor estimated on the validation period. - Exact reproduction needs a CUDA GPU (fp16 autocast, as in training). On CPU (fp32) the tokenizer, which quantises by sign, now and then flips a token bit: forecasts then differ by about 0.01 in log variance on average. ## Training - Kronos-small (24.7M parameters), fully fine-tuned. Backbone learning rate 1e-5, head 1e-3, AdamW, one-cycle schedule. - Batch 64, 3 epochs, loss squared error plus QLIKE on log variance. - Kronos's tokenizer stays frozen. - Head: an MLP on the last hidden state (last position) joined with nine HAR features: - log realised variance over 1, 5 and 22 sessions - the overnight gap - the last hour - the daily return - SPY's realised variance over 1, 5 and 22 sessions - One RTX 4050 laptop GPU (6 GB), about 51 minutes per seed. - This release is trained on all 199 stocks. The protocol numbers above come from the same recipe with 40 stocks held out. ## Intended use - A next-day risk forecast for large US stocks: position sizing, volatility targeting, risk budgets, and a check next to option-implied volatility. - Research on what a pretrained candlestick model adds to classic volatility models. The results above include the two twins (no Kronos, random weights) that isolate it. - Out of scope: price direction, standalone trading signals, intraday horizons, markets other than large US stocks. ## Limitations - Large, liquid US stocks only. Small caps, other markets, crypto and futures are untested. - Stocks were picked among names that stayed large, a survivorship shortcut. It affects every model in the comparison the same way, but levels may be optimistic. - Training choices (loss, pooling, context length) were screened on the held-out TEST stocks; the final one was chosen on the validation period by a rule fixed in advance. The fresh sessions were never used for any choice. - On SPY and QQQ the gain over HAR-RV comes from the head and its features: the same head without Kronos does as well there. - In a portfolio the better forecast gives steadier risk and a slightly higher Sharpe than HAR-RV sizing, but that difference is not statistically significant over this window. - It forecasts the regular session only. Overnight gaps, earnings and macro releases are not in the target. - It forecasts risk only. Direction is out of its scope. ## Related work - Kronos's own paper (Shi et al., 2025) includes realized-volatility forecasting among its tasks, against ARCH and GARCH. - An independent evaluation of Kronos-small as shipped, on 30 large US stocks with hourly data, found HAR-RV ahead of it ([imanly97/kronos-evaluation](https://github.com/imanly97/kronos-evaluation)). - Fine-tuned TimesFM has beaten traditional models on next-day realized volatility built from 5-minute returns ([arXiv 2505.11163](https://arxiv.org/abs/2505.11163)). Zero-shot foundation models against log-HAR give mixed results ([arXiv 2607.05291](https://arxiv.org/abs/2607.05291)). - This model reads raw 5-minute candles directly, is scored on stocks held out of training, and is compared with two twins (no Kronos, random weights) that isolate what the pretraining adds. ## Credits Built on [Kronos](https://github.com/shiyu-coder/Kronos) (Shi et al., 2025, MIT). The `kronos_model` folder is a copy of its model code, commit 67b630e, with one import made relative. ```bibtex @misc{shi2025kronos, title={Kronos: A Foundation Model for the Language of Financial Markets}, author={Yu Shi and Zongliang Fu and Shuo Chen and Bohan Zhao and Wei Xu and Changshui Zhang and Jian Li}, year={2025}, eprint={2508.02739}, archivePrefix={arXiv}, primaryClass={q-fin.ST}, url={https://arxiv.org/abs/2508.02739} } ```