Kronos Indian Market Advisor 是一个AI驱动的量化预测与解读系统,它结合了小型K线基础模型(Kronos-base)和本地大型语言模型(Llama 3.2 3B),为印度股票、外汇和大宗商品生成易于理解的预测和报告。

Stars

6

7 天增长

暂无数据

Fork 数

7

开放 Issue

0

开源协议

暂无数据

最近更新

2026-07-28

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它通过将紧凑的开源基础模型与本地LLM配对,使先进的量化预测变得平民化,让印度散户投资者无需深厚的金融知识就能获得可理解的市场分析。

适合谁使用

  • 刚接触技术分析的印度散户投资者
  • 寻求轻量级、本地化AI工具的量化金融爱好者
  • 构建用户友好的市场咨询应用的开发者
  • 对AI辅助波段交易和避险感兴趣的印度交易者

典型使用场景

  • 用通俗语言解读NIFTY 50趋势
  • 为高流动性印度蓝筹股识别入场和止盈目标
  • 监测黄金ETF和美元/印度卢比汇率以辅助避险决策
  • 生成盘前量化筛选报告,验证交易假设

项目优势

  • 开源且完全本地运行(保护隐私,无API费用),基础模型仅约400MB,LLM基于Ollama
  • 将复杂的量化指标转化为直观比喻,对初学者友好
  • 包含自动回测脚本(proof_test.py),可验证方向准确率
  • 生成美观、交互式HTML报告,支持深色玻璃拟态和导出功能

使用前须知

  • 需要手动设置Ollama并拉取llama3.2:3b模型,对非技术用户有一定门槛
  • Kronos-base模型(1.023亿参数)的预测精度可能低于更大的云端预测模型
  • 目前仅专注于印度市场(NSE、BSE、美元/印度卢比、黄金ETF),地理适用性有限

README 快速开始

📺 Watch the full tutorial on YouTube

🇮🇳 Kronos Indian Market Advisor

An advanced, AI-driven quantitative prediction and interpretation system designed specifically for Indian financial investors and beginners. Powered by Kronos-base (the ~400MB open-source candlestick foundation model trained on global exchanges) and localized by Llama 3.2 3B via Ollama, this project translates complex K-line sequences into jargon-free, high-value financial insights for equities like NIFTY 50, Reliance Industries, HDFC Bank, Gold ETFs, and USD/INR exchange rates.


🚀 Key Highlights

  • Kronos Foundation Model: Utilizes the 102.3M parameter (~400MB) base model with hierarchical K-line tokenization to predict future OHLCV candlestick paths.
  • Beginner-Friendly Interpretation: Local Ollama AI analyzes quantitative forecasting metrics and translates them into intuitive analogies tailored to Indian market participants.
  • Empirical Proof Testing: Includes an automated quantitative validation script to measure directional accuracy and support/resistance resilience against historical NSE data.
  • Responsive HTML Visualizers: Generates aesthetic, interactive reporting templates featuring dark-mode glassmorphism and instant markdown export capabilities.

🛠️ Tech Stack

  • Quantitative Forecaster: NeoQuasar/Kronos-base (Hugging Face Transformers & PyTorch)
  • Local Explainer AI: llama3.2:3b (via Ollama, thinking disabled for rapid inference)
  • Market Data Provider: yfinance (Live NSE Indian market indices, corporate stocks, and commodities)
  • Visual Templating: Jinja2 with custom responsive CSS styling
  • Data & Math Engine: pandas, numpy, matplotlib, torch

📦 Installation & Setup

All commands below can be executed directly in your Windows Antigravity PowerShell terminal by copy-pasting.

1. Clone & Install Dependencies

First, clone the official Kronos foundation model repository into kronos_lib and install standard Python dependencies:

git clone https://github.com/shiyu-coder/Kronos.git kronos_lib
pip install --upgrade transformers huggingface_hub safetensors pandas einops matplotlib tqdm yfinance jinja2 requests torch

2. Download Local Ollama Model

Ensure Ollama is running, and pull the required 3B instruction model:

ollama run llama3.2:3b
``

项目描述

Kronos AI: Tiny Model That Beats Expensive Trading Bots - Open-source foundation model for financial candlesticks with Ollama Llama 3.2 Indian market analysis.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

slvDev
精选
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI 与机器学习大语言模型
1,960
gavamedia
精选
gavamedia GitHub avatar

deltafin

Deltafin is a research project that runs the 2.8-trillion-parameter Mixture-of-Experts model Kimi K3 on a single Apple Silicon Mac (e.g., M1 Max with 64 GB) at about 16 seconds per token, using exact, reproducible inference with local or streaming expert loading.

AI 与机器学习大语言模型
304
jamesob
精选
jamesob GitHub avatar

local-llm

A comprehensive guide for building and configuring a high-end local machine to run state-of-the-art LLMs, with detailed hardware choices, BIOS tuning, and Docker-based model serving.

AI 与机器学习大语言模型
1,660