I Finetuned a Viral AI Model (Kronos) to Predict the Stock Market.
There is a model called Kronos that has been doing the rounds online. It has more than 23,000 stars on GitHub, a paper accepted at a serious AI conference (AAAI-2026), and a live demo that shows it forecasting Bitcoin for the next 24 hours. Everything about it looks impressive.
If you cant read the article because of paywall then please click here
So I did the obvious thing. I downloaded it, pointed it at Bitcoin and at SPY (the fund that tracks the S&P 500), and checked whether it actually predicts anything. Then I trained (actually finetuned) it further on my own data to see if I could make it better. This article walks through what Kronos is, how you use it, whether it works, and what happened when I tried to improve it. I have kept the jargon to a minimum, and every chart below comes from my own runs.
First, what is a candle?
Price charts are usually drawn as candles. Each candle squeezes one slice of time into four numbers: the price at the start, the price at the end, the highest price reached, and the lowest.
Green means the price finished higher than it started, red means it finished lower. In my experiments each candle covers one hour of trading. That is the raw material Kronos eats.
So what is Kronos?
Kronos is a language model, except the language is not English, it is candles. Think about how ChatGPT works. You feed it some words, and it predicts the next word, then the next, and so on, based on patterns it learned from an enormous amount of text. Kronos does exactly the same thing with price bars. Its authors trained it on more than 12 billion candles from over 45 exchanges around the world, so it has seen a great deal of market history.
There are two pieces. A tokenizer turns each candle into something like a word, from a fixed vocabulary of possible candle shapes. Then a transformer, the same family of model behind every chatbot you have used, learns to continue the sequence.
How you actually use it
You hand it a few hundred hours of recent price history and ask for the next few hours. Because it works by sampling, like a chatbot that can phrase an answer several different ways, you do not get one prediction. You run it many times and get many possible futures.
That is genuinely useful, middle path is your forecast, and the spread of all the paths is the model telling you how sure it is. A tight spread means confident, a wide spread means uncertain. Remember that spread, because it comes back later. Setting it up is easy: the models are on Hugging Face, the code is on GitHub, and you can get a forecast running in about twenty lines of Python.
Is it any good? On paper, yes
The published results are strong. The paper reports large improvements over other forecasting models on benchmark datasets, better volatility predictions, and more realistic synthetic price data. It was accepted at AAAI 2026, which is not a venue that waves things through.
None of that is fake. But benchmark results and “does this work on the thing I care about” are different questions, and the only way to answer the second one is to run it yourself.
What I did
Two experiments, in order.
- Experiment one: does it work out of the box? I asked Kronos to forecast Bitcoin 24 hours ahead, 100 separate times, and SPY one trading session ahead, 60 separate times, always using only the data available before each forecast.
- Experiment two: does training it on my own data help? The intuition most people have is that a general model plus recent local data should beat a general model alone. I tested that with two versions, one trained on the last two months of market data and one trained on the last three years.
The data was 45 heavily traded US stocks and funds, hourly candles, about 228,000 rows covering September 2023 to August 2026, downloaded from Yahoo Finance, plus Bitcoin hourly candles from Binance. Everything ran on an NVIDIA DGX Spark sitting on my desk.
The one thing that matters most: what do you compare against?
This is where most “my AI predicts the market” posts fall apart, so it is worth slowing down.
I compared every forecast against the laziest possible prediction, which is “tomorrow will look exactly like today”. In forecasting this is called a random walk, and on a liquid market it is shockingly hard to beat. If a model cannot beat “assume nothing changes”, it has not learned anything useful about the future.
So in every chart below, the question is not “was the model close?”. The question is “was the model closer than doing nothing?”
How I trained it
A few details that mattered, in plain terms, I only trained the second half of the model, the part that predicts, and left the tokenizer alone. The tokenizer is the shared vocabulary of candle shapes, learned from billions of examples, and retraining it on my small pile of data would have wrecked it.
I also had to fix a subtle bug in the example training code. It stacks all the tickers into one long file and slides a window across it, which quietly creates fake examples that start in one company and end in a completely different one. I rewrote it so no training example crosses from one ticker to another.
And I was strict about time. Nothing from the test period, or even the same hour as the first test point, was allowed anywhere near training. It is very easy to accidentally let a model see the future and then get excited about the results.
Results, part one: out of the box
Here is the accuracy of Kronos compared to the do-nothing baseline. Zero means the two are equally good. Below zero means the model is worse than doing nothing.
Every bar points down. On Bitcoin 24 hours ahead it was more than twice as far off as simply assuming the price would not change. On direction, whether the price would end up or down, it got 50 out of 100 on Bitcoin, which is what you would get by flipping a coin.
The second chart is the one that bothered me more: Remember the spread of possible futures. That spread is supposed to contain the real outcome about 80% of the time. In practice it contained the truth as little as 21% of the time. The model’s many sampled futures all agreed with each other, and were collectively wrong. Confidently wrong is the worst thing a forecasting model can be, because a model that admits uncertainty is at least usable.
Results, part two: I trained it, and it got worse
Both trained versions were tested against the untouched original on the same 21 trading days, from the same starting points. Here is every one of those forecasts against what the market actually did.
The black line is reality. The grey dashed line is the lazy “assume nothing changes” forecast. The three coloured lines are the models, and they spend the entire chart glued to the grey dashed line rather than to the black one. Look at July 29, when SPY dropped about 1.5% in a day, and none of the three saw it coming.
Scoring that properly gives the table below, the original, untouched model won. Training on two months made it slightly worse. Training on three years made it clearly worse. That is the opposite of what more data is supposed to do, so the interesting question is why.
The answer is in this chart, and it is my favourite result of the whole project. On the left is how much the model thinks prices move. SPY typically moved about 0.8% in a day, and the original model predicted moves of only 0.27%. It was mumbling. Training taught it the correct size, and the three-year version got this almost exactly right at 0.76%. That is real learning.
On the right is whether the model gets the direction right, and training changed essentially nothing. Put those together and you have a model that learned to bet bigger without learning to bet better. Bigger bets in the right size but the wrong direction produce bigger losses, and that is the entire reason the trained versions came out behind.
There is a nice side lesson here about the original model too. It scored well partly because it barely commits to anything, and predicting “roughly no change” is basically the do-nothing baseline in disguise. Being vague is not the same as being right.
The part where I argue against my own results
I could stop here with a tidy story, but the numbers do not support a tidy story. Twenty one trading days is a very small test. When I ran the statistics properly, every result came out too uncertain to call.
Each bar shows the range of plausible values for how much better or worse a model is than the baseline. Every single one crosses zero, which means “no better than doing nothing” remains a perfectly plausible answer for all three.
And then there is this, which is the most humbling chart I produced. Both bars are the exact same untouched model. The only differences are how many days I tested on and how much history I fed it. The scores are 48 points apart. If changing your test setup can move the number that far, no single result from a small test deserves much confidence.
What I can and cannot say
- What I can say: training this model on recent market data did not help, and training on three years of data made it worse. That result held across every way I measured it, and it has a clear explanation behind it.
- What I cannot say: Kronos is useless, my test was too small to prove that, and several choices worked against the model. I fed it less history than it was designed for, I never tuned its sampling settings, I used the medium-sized version rather than the largest, and I tested during one fairly calm stretch of market.
The bigger takeaway is not really about markets at all. Fine-tuning a foundation model on your own data feels like it should always help, and it genuinely taught this model something true. It just taught it the wrong true thing. Learning how much something moves is not the same as learning which way it will go, and only one of those makes money.
If you enjoyed this build, you can find more hands-on breakdowns like it on Towards Deep Learning.

