Mindket

Kronos

Newversion 1 · updated
Star47.1k

Overview

A family of decoder-only foundation models for financial market K-line sequences, designed to process high-noise market data for quantitative forecasting tasks.

Kronos is an open-source project on GitHub in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.

At a glance

Runs in
  • Predict future price and volume trends from historical K-line data
  • Execute batch forecasting for multiple assets at the same time
  • Fine-tune the model on custom financial datasets
Start with
pip install -r requirements.txt

About

What it is

It quantizes continuous market data into hierarchical discrete tokens and uses an autoregressive transformer to generate forecasts for quantitative tasks.

Who it suits

This project suits quantitative researchers and data scientists who need to model market trends using historical price data.

Where to use it

This project runs in local environments where you can execute scripts to process market data and generate predictions.

  • Predict future price and volume trends from historical K-line data
  • Execute batch forecasting for multiple assets at the same time
  • Fine-tune the model on custom financial datasets

How to set it up

  1. Install Python 3.10 or newer and the required dependencies
  2. Install Qlib to prepare data for custom tasks
  3. Configure your data paths and hyperparameters in the settings file
  4. Run the data preparation script to format your market history
pip install -r requirements.txt
pip install pyqlib

How to use it

You use the KronosPredictor class to load a model and tokenizer, ingest historical CSV data, and generate future projections.

| Tool | What it does | |---|---| | KronosPredictor | Manages data preprocessing and inference | | predict | Generates a forecast for a single asset series | | predict_batch | Performs parallel inference on multiple series |

predictor = KronosPredictor(model, tokenizer, max_context=512)

Example

You prepare a CSV of historical prices and run the predict method to return a data frame with forecasted open, high, low, close, volume, and amount values.

For newcomers and experts

Newcomers can think of this as a model that learns patterns in market charts. Experts will recognize the decoder-only transformer architecture that treats financial data as a sequence of hierarchical discrete tokens. It uses a two-stage training approach to capture domain-specific signals.

Good to know

  • The context window is 512 steps for most models.
  • It requires column data for open, high, low, and close prices.
  • It is licensed under the MIT License.

README and files

README

Kronos

A family of decoder-only foundation models for financial market K-line sequences, designed to process high-noise market data for quantitative forecasting tasks.

Made by shiyu-coder on GitHub. These notes are Minda's, written from its README; the project's own files and license are in its repository.

About

What it is: It quantizes continuous market data into hierarchical discrete tokens and uses an autoregressive transformer to generate forecasts for quantitative tasks.

Who it suits: This project suits quantitative researchers and data scientists who need to model market trends using historical price data.

Where to use it: This project runs in local environments where you can execute scripts to process market data and generate predictions.

  • Predict future price and volume trends from historical K-line data
  • Execute batch forecasting for multiple assets at the same time
  • Fine-tune the model on custom financial datasets

How to set it up:

  1. Install Python 3.10 or newer and the required dependencies
  2. Install Qlib to prepare data for custom tasks
  3. Configure your data paths and hyperparameters in the settings file
  4. Run the data preparation script to format your market history
pip install -r requirements.txt
pip install pyqlib

How to use it: You use the KronosPredictor class to load a model and tokenizer, ingest historical CSV data, and generate future projections.

| Tool | What it does | |---|---| | KronosPredictor | Manages data preprocessing and inference | | predict | Generates a forecast for a single asset series | | predict_batch | Performs parallel inference on multiple series |

predictor = KronosPredictor(model, tokenizer, max_context=512)

Example: You prepare a CSV of historical prices and run the predict method to return a data frame with forecasted open, high, low, close, volume, and amount values.

For newcomers and experts: Newcomers can think of this as a model that learns patterns in market charts. Experts will recognize the decoder-only transformer architecture that treats financial data as a sequence of hierarchical discrete tokens. It uses a two-stage training approach to capture domain-specific signals.

Good to know:

  • The context window is 512 steps for most models.
  • It requires column data for open, high, low, and close prices.
  • It is licensed under the MIT License.

On GitHub, 4 November 2026

  • Stars: 46,545 (503 that day)
  • Forks: 7,665
  • Watching: 407
  • Open issues and pull requests: 295
  • Language: Python
  • License: MIT
  • Trending: #12 repository of the day on GitHub trending (4 November 2026)

Links

Get the code

git clone https://github.com/shiyu-coder/Kronos.git

Then follow the setup in its README. Nothing in this kit runs by itself.

Files
README.md  3 KB

1 file, 3 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-04

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

GitHub Trending📈 Today's GitHub Trending: 1. https://github.com/thedotmack/claude-mem - TypeScript, 1527 stars today 2. https://github.com/lightpanda-io/browser - Zig, 827 stars today 3. https://github.com/shiyu-coder/Kronos - Python, 611 stars today 4. https://github.com/pingdotgg/t3code - TypeScript, 3100 […]1 like · 1 reply@prosperflowio.bsky.socialKronos is an open-source foundation model that reads candlestick charts like a language, trained on data from 45+ global exchanges. 🔗 github.com/shiyu-coder/Kronos Credits: github.com/shiyu-coder/Kronos #kronos #python #opensource2 likes@ai-trend-to-know.bsky.socialshiyu-coder/Kronos 💻 Python #Python #OpenSource #AIAgents #GitHub 🔗 trendtoknow.com/shiyu-coder/...2 likesaequanimitasThis is true, so much circular funding they will hide metrics. As open source models become viable for profit labs lose value. Have been experimenting with Mistral, Qwen and Kronos for fun on the side. In pro life I have to use Claude due to subs and other constraints. github.com/shiyu-coder/...2 likesGitHub Trending🎉 Celebrating! 🎉 (500+ new stars) 📦 shiyu-coder / Kronos ⭐ 44,937 (+611) 🗒 Python Kronos: A Foundation Model for the Language of Financial Markets1 replyGitHub Trending🚀 Skyrocketing! 🚀 (200+ new stars) 📦 shiyu-coder / Kronos ⭐ 41,321 (+355) 🗒 Python Kronos: A Foundation Model for the Language of Financial Markets1 replyGitHub Trending8. https://github.com/shiyu-coder/Kronos - Python, 855 stars today 9. https://github.com/kornia/kornia - Python, 412 stars today 10. https://github.com/JustVugg/colibri - C, 655 stars today 11. https://github.com/mattpocock/skills - Shell, 968 stars today 12 […]デイリーGitHubトレンド今日のGitHubトレンド shiyu-coder/Kronos Kronosは、世界45以上の取引所のデータで学習された、金融ローソク足(Kライン)向けの初のオープンソース基盤モデルです。 OHLCVデータを階層的な離散トークンに量子化し、Transformerで学習する2段階フレームワークを採用することで、金融データ特有の高ノイズな特性に対応しています。 多様な計量分析タスクに活用できる統一的なモデルの提供を目的としています。

Searched

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Developer

See all in Developer

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k