<- all tokdocs

Kronos: The Open-Source AI That Reads Candlestick Charts

Watch on TikTok

View on TikTok ->

A TikTok creator who goes by Giga Qian found a research paper out of China and decided to explain it on camera. The claim that grabbed people: a PhD student built an AI that forecasts stocks and crypto, then released it for free. The model is real. It is called Kronos, it lives on GitHub, and it does something genuinely interesting with price charts. The "predicts the markets for free" framing oversells what it actually does, so it is worth separating the real engineering from the hype.

Speaker in a gray sweater with a red caption banner reading "The AI MONEY MAKER has PUBLIC research and I READ IT so YoU don't have to," standing in front of a Kronos architecture diagram

What Kronos Actually Is

Kronos is a foundation model for financial time series, published in the paper "Kronos: A Foundation Model for the Language of Financial Markets" (arXiv 2508.02739). The work comes from Tsinghua University, with authors Yu Shi, Zongliang Fu, Shuo Chen, Bohan Zhao, Wei Xu, Changshui Zhang, and Jian Li. The paper was accepted to AAAI 2026. The video credits "Su Yu" at the Institute for Interdisciplinary Information Sciences, which lines up with the lead author Yu Shi, whose GitHub handle is shiyu-coder.

A time series is a sequence of measurements taken at regular intervals, like a heartbeat trace or a stock chart. A foundation model is trained once on a large corpus and then applied to data it never saw during training. Kronos combines the two. It was pre-trained on over 12 billion K-line records drawn from more than 45 global exchanges, so it learns patterns across many assets rather than memorizing one ticker.

Background diagram showing K-line Tokenization with a Tokenizer Encoder and Decoder on the left, and an Autoregressive Pre-training flow with a Causal Transformer Block on the right

How It Works

The hard part is turning a candlestick into something a language-style model can read. Each K-line carries five continuous numbers: open, high, low, close, and volume (OHLCV). Transformers work on discrete tokens, the way a language model works on words, so Kronos has to convert those five floating-point values into tokens first.

That conversion is the tokenizer, and it runs in two stages. A tokenizer encoder compresses each K-line into a compact representation. Then a quantizer snaps that representation onto a fixed vocabulary of discrete codes. The architecture diagram in the video labels this step BSQ, binary spherical quantization, which maps the encoded vector onto a set of binary codes on a sphere. The result is hierarchical: a coarse token captures the broad shape of the bar and a finer token captures the detail. A tokenizer decoder can reverse the process and reconstruct the original candlestick, which is how the team checks that the tokens preserve real price and volume information.

Once every candlestick is a token, the second stage is a decoder-only autoregressive transformer, the same family of design used by large language models. It reads a sequence of past K-line tokens and predicts the next one, then the one after that. Chaining those predictions produces a forecast of where the chart could go. On the paper's benchmarks, Kronos improves price-series forecasting (RankIC) by 93 percent over the leading prior time-series foundation model, lowers volatility forecasting error (MAE) by 9 percent, and improves the fidelity of synthetic K-line generation by 22 percent.

Creator mid-sentence with the K-line tokenization and tokenizer encoder boxes visible at the upper left of the frame

The "Predicts the Markets for Free" Problem

The model is free and open. Three sizes are published on Hugging Face: Kronos-mini at 4.1M parameters, Kronos-small at 24.7M, and Kronos-base at 102.3M. Anyone can download and run them. That part of the video holds up.

The prediction claim needs a caveat. A foundation model produces a probabilistic forecast, a distribution over likely next moves, not a guaranteed call on price. The Kronos repository itself says the included trading example is "a simplified example and not a production-ready quantitative trading system" and that real strategies "require more sophisticated techniques." Strong benchmark numbers on historical data do not translate into reliable profit on live markets, where transaction costs, slippage, and regime changes all bite. Treat Kronos as a research tool for modeling market structure, not as a money printer.

Key Takeaways

  • Kronos is a real, open-source foundation model for financial K-line (candlestick) data from Tsinghua University, accepted to AAAI 2026, with code on GitHub and weights on Hugging Face.
  • Its core idea is a two-stage design: a tokenizer turns continuous OHLCV candlesticks into discrete hierarchical tokens, then a decoder-only autoregressive transformer predicts the next tokens in the sequence.
  • The tokenizer uses binary spherical quantization (BSQ) to map encoded candlesticks onto a fixed vocabulary, and a decoder confirms the tokens still reconstruct the original price and volume.
  • The video's "AI that predicts the markets for free" pitch overstates it. Kronos outputs probabilistic forecasts, and its own authors warn the demo is not a production trading system.

Resources

Published June 19, 2026. Writeup generated from a favorited TikTok.