daily_stock_analysis is a free, open source ai development platforms project written in Python and released under MIT. It has 65,204 GitHub stars, 54,570 forks and 44 open issues, and was last pushed 5 days ago. On this registry it ranks #12 of 61 tracked projects in AI Development Platforms, with 5 head-to-head comparisons available. It gained 93 stars over the last 3 tracked days.

What is daily_stock_analysis?

daily_stock_analysis is an MIT-licensed Python system that uses large language models to analyse self-selected stocks across the A-share, Hong Kong, US, Japanese, Korean and Taiwanese markets and push a daily decision dashboard to chat and email channels, aimed at individual investors and quant-minded developers who want scheduled AI analysis without operating a server.

What it is

daily_stock_analysis is an LLM-driven multi-market stock analysis system written in Python. It aggregates quotes, K-line data, technical indicators, news, announcements and fundamentals for user-maintained watchlists covering A股, 港股, 美股, 日股, 韩股, 台股 and ETFs, then produces a daily AI decision report and delivers it as a decision dashboard to 企业微信, 飞书, Telegram, Discord, Slack or email. It runs as a GitHub Actions workflow, as a Docker container, as a local scheduled task, or as a FastAPI service, and it also ships a web and desktop workbench alongside an agent that answers follow-up questions about strategy.

The concrete problem it replaces is the manual morning routine of checking several quote terminals, news sites and announcement feeds, then writing up conclusions by hand. Instead of a proprietary terminal subscription or a hand-built script chain, the project packages data acquisition, LLM analysis, report rendering and notification delivery into one repository. The GitHub Actions path is explicitly positioned as the zero-cost, no-server option: a user forks the repository, fills in secrets, and receives a pushed report on a schedule without provisioning infrastructure.

Key capabilities

  • Generates an AI decision report containing core conclusion, score, trend, buy and sell points, risk alerts, catalyst factors and an operation checklist.
  • Aggregates multi-market data for A股, 港股, 美股, 日股, 韩股, 台股 and ETFs, including quotes, K-line, technical indicators, news, announcements and fundamentals.
  • Provides an Agent 策略问股 mode with multi-turn follow-up and 15 built-in strategies covering 均线, 缠论, 波浪, 趋势, 热点, 事件, 成长 and 预期, reachable through Web, Bot and API.
  • Imports watchlists from images, CSV/Excel files and the clipboard, with completion by stock code, name, pinyin or alias.
  • Pushes results to 企业微信, 飞书, Telegram, Discord, Slack and email, with configuration for signature verification, grouped mail and Markdown-to-image conversion.
  • Runs through GitHub Actions, Docker, local scheduled tasks or a FastAPI service, and supports the published image zhulinsen/daily_stock_analysis.
  • Supports LLM backends including Anspire, AIHubMix, Gemini, OpenAI-compatible endpoints, DeepSeek, 通义千问, Claude and local Ollama, with market data from AkShare, Baostock, YFinance, TickFlow, Tushare, Pytdx and Longbridge, and news search via Anspire, SerpAPI, Tavily, Bocha, Brave, MiniMax and SearXNG.

Who uses it and how

  • Individual investors holding watchlists spanning A股, 港股 and 美股 who want one scheduled morning report rather than several manual lookups.
  • Users with no server and no budget: fork the repository, add secrets, and let GitHub Actions run the analysis at zero cost.
  • Self-hosters running Docker or local scheduled tasks, including those pointing the system at Ollama for local model inference.
  • Developers and traders who need programmatic access, using the FastAPI service or Bot interface to drive the 15 built-in agent strategies in multi-turn sessions.
  • Workbench users who review manual analyses, task progress, historical reports, full Markdown output, backtests and position records with light or dark themes.

Getting started

The README recommends forking the repository and configuring repository secrets under Settings, then Secrets and variables, then Actions, using identifiers such as ANSPIRE_API_KEYS or AIHUBMIX_KEY for the model, one of WECHAT_WEBHOOK_URL, FEISHU_WEBHOOK_URL, TELEGRAM_BOT_TOKEN with TELEGRAM_CHAT_ID, DISCORD_WEBHOOK_URL, SLACK_BOT_TOKEN with SLACK_CHANNEL_ID, or EMAIL_SENDER with EMAIL_PASSWORD for delivery, and a watchlist secret that is required. The README describes this path as roughly five minutes with no server; local and Docker deployment targets Python 3.10 and above, and Ollama is suggested for those local or Docker setups.

How it compares

No list of paid products that this project replaces is provided in the available facts, and no comparable tools are named either, so the honest statement is that it stands alone in this registry entry. Readers should treat it as an open-source, MIT-licensed, self-operated alternative assessed on its own terms rather than against a mapped set of commercial competitors.

When to use it — and when not to

Use it if the appeal of an MIT-licensed analysis pipeline that runs on GitHub Actions, Docker or a local scheduler outweighs the setup work of supplying at least one LLM API key and one notification channel. Be aware that the default free market data sources, AkShare, Baostock and YFinance, can run zero-configuration but are affected by upstream rate limiting, interface changes and network instability, so the README itself recommends token-backed sources such as TickFlow, Tushare or Longbridge for long-running schedules and batch analysis. Do not choose it if guaranteed, stable market data is a hard requirement and no paid data token will be configured, or if nobody is willing to manage API keys and webhook secrets; the project also carries 44 open issues, and the primary documentation is Chinese-first, with English and Traditional Chinese translations available under docs/.

project readme (upstream, from github) — read inline

📈 股票智能分析系统

GitHub stars arXiv CI License: MIT Python 3.10+ GitHub Actions Docker

#1 Python Repository Of The Day | Trendshift Featured|HelloGitHub

🤖 基于 AI 大模型的 A股/港股/美股/日股/韩股/台股自选股智能分析系统,每日自动分析并推送「决策仪表盘」到企业微信/飞书/Telegram/Discord/Slack/邮箱

产品预览 · 功能特性 · 快速开始 · 推送效果 · 文档中心 · 完整指南

简体中文 | English | 繁體中文

💖 赞助商 (Sponsors)

🖥️ 产品预览

✨ 功能特性

能力 覆盖内容
AI 决策报告 核心结论、评分、趋势、买卖点位、风险警报、催化因素、操作检查清单
多市场数据聚合 覆盖 A股、港股、美股、日股、韩股、台股和 ETF,支持行情、K 线、技术指标、新闻、公告、基本面与报告辅助数据;不同市场的数据源和能力边界见 市场支持边界
Web / 桌面工作台 手动分析、任务进度、历史报告、完整 Markdown、回测、持仓、配置管理、浅色 / 深色主题
Agent 策略问股 多轮追问,支持均线、缠论、波浪、趋势、热点、事件、成长、预期等 15 种内置策略,覆盖 Web/Bot/API
智能导入与补全 图片、CSV/Excel、剪贴板导入;股票代码/名称/拼音/别名补全
自动化与推送 GitHub Actions、Docker、本地定时任务、FastAPI 服务和企业微信/飞书/Telegram/Discord/Slack/邮件推送

功能细节、字段契约、基本面 P0 超时语义、交易纪律、数据源优先级、Web/API 行为请看 完整配置与部署指南

技术栈与数据来源

类型 支持
AI 模型 AnspireAIHubMix、Gemini、OpenAI 兼容、DeepSeek、通义千问、Claude、Ollama 本地模型等
行情数据 TickFlow、AkShare、Tushare、Pytdx、Baostock、YFinance、Longbridge
新闻搜索 AnspireSerpAPITavilyBochaBraveMiniMax、SearXNG
社交舆情 Stock Sentiment API(Reddit / X / Polymarket,仅美股,可选)

项目默认内置 AkShare、Baostock、YFinance 等免费行情源,可零配置运行;免费源受上游限流、接口变动和网络波动影响,稳定性不保证。长期定时、批量分析或更稳定行情建议配置 TickFlow、Tushare、Longbridge 等 token 型数据源,适用市场、Actions 映射和 fallback 规则见 数据源配置

🚀 快速开始

方式一:GitHub Actions(推荐)

5 分钟完成部署,零成本,无需服务器。

1. Fork 本仓库

点击右上角 Fork 按钮(顺便点个 Star⭐ 支持一下)

2. 配置 Secrets

SettingsSecrets and variablesActionsNew repository secret

AI 模型配置(至少配置一个)

默认先选一个模型服务商并填写 API Key;需要多模型、图片识别、本地模型或高级路由时,再参考 LLM 配置指南

Secret 名称 说明 必填
ANSPIRE_API_KEYS Anspire API Key,一Key同时启用全球热门大模型和联网搜索,本项目新用户提供30元等额的免费额度(GLM5.2、GPT等模型特惠中) 推荐
AIHUBMIX_KEY AIHubMix API Key,一Key切换使用全系模型,无需科学上网,本项目可享 10% 优惠 推荐
GEMINI_API_KEY Google Gemini API Key 可选
ANTHROPIC_API_KEY Anthropic Claude API Key 可选
OPENAI_API_KEY OpenAI 兼容 API Key(支持 DeepSeek、通义千问等) 可选
OPENAI_BASE_URL / OPENAI_MODEL 使用 OpenAI 兼容服务时填写 可选

Ollama 更适合本地 / Docker 部署,GitHub Actions 推荐使用云端 API。

通知渠道配置(至少配置一个)

Secret 名称 说明
WECHAT_WEBHOOK_URL 企业微信机器人
FEISHU_WEBHOOK_URL 飞书机器人
TELEGRAM_BOT_TOKEN + TELEGRAM_CHAT_ID Telegram
DISCORD_WEBHOOK_URL Discord Webhook
SLACK_BOT_TOKEN + SLACK_CHANNEL_ID Slack Bot
EMAIL_SENDER + EMAIL_PASSWORD 邮件推送

更多渠道、签名校验、分组邮件、Markdown 转图片等配置见 通知渠道详细配置

自选股配置(必填)

Secret 名称 说明 必填
STOCK_LIST 自选股代码,如 600519,hk00700,AAPL,7203.T,005930.KS,2330.TW;已登记指数显式代码(如 sh000016930606.CSI)经一次性 --stocks 或 GitHub Actions 入口支持,规则见 指数自选股配置

新闻源配置(推荐)

新闻源会显著影响舆情、公告、事件和催化因素质量,建议至少配置一个搜索服务。

Secret 名称 说明 必填
ANSPIRE_API_KEYS Anspire AI Search:汇聚全球舆情信息,适配A股、美股、港股等新闻和舆情检索;同一Key可复用大模型服务,本项目新用户提供免费30元等额的免费点数 推荐
SERPAPI_API_KEYS SerpAPI:搜索引擎结果补强,适合实时金融新闻 推荐
TAVILY_API_KEYS Tavily:通用新闻搜索 API 可选
BOCHA_API_KEYS 博查搜索:中文搜索优化,支持 AI 摘要 可选
BRAVE_API_KEYS Brave Search:隐私优先,美股资讯补强 可选
MINIMAX_API_KEYS MiniMax:结构化搜索结果 可选
SEARXNG_BASE_URLS SearXNG 自建实例:无配额兜底,适合私有部署 可选

更多搜索源、社交舆情和降级规则见 搜索服务配置

行情数据源配置(可选)

默认使用 AkShare、Baostock、YFinance 等免费数据源,日志中"未配置"的提示不影响运行。 如需更稳定的行情,可按市场配置以下 Secret:

Secret 名称 适用市场 说明
TUSHARE_TOKEN A 股 提升历史行情稳定性
LONGBRIDGE_OAUTH_CLIENT_ID + LONGBRIDGE_OAUTH_TOKEN_CACHE_B64 港股/美股 补齐量比、换手率、PE 等字段

详见 数据源配置

3. 启用 Actions

Actions 标签 → I understand my workflows, go ahead and enable them

4. 手动测试

Actions每日股票分析Run workflowRun workflow

完成

默认每个**工作日 18:00(北京时间)**自动执行,也可手动触发。默认非交易日(含 A/H/US 节假日)不执行;强制运行、交易日检查、断点续传等规则见 完整指南

方式二:客户端配置教程 / 本地运行 / Docker 部署

# 克隆项目
git clone https://github.com/ZhuLinsen/daily_stock_analysis.git && cd daily_stock_analysis

# 安装依赖
pip install -r requirements.txt

# 配置环境变量
cp .env.example .env && vim .env

# 运行分析
python main.py

常用命令:

python main.py --debug
python main.py --dry-run
python main.py --stocks 600519,hk00700,AAPL,2330.TW
python main.py --market-review
python main.py --schedule
python main.py --serve-only

Docker 部署、定时任务、云服务器访问请参考 完整指南;桌面客户端打包请参考 桌面端打包说明

📱 推送效果

决策仪表盘

🎯 2026-02-08 决策仪表盘
共分析3只股票 | 🟢买入:0 🟡观望:2 🔴卖出:1

📊 分析结果摘要
⚪ 中钨高新(000657): 观望 | 评分 65 | 看多
⚪ 永鼎股份(600105): 观望 | 评分 48 | 震荡
🟡 新莱应材(300260): 卖出 | 评分 35 | 看空

⚪ 中钨高新 (000657)
📰 重要信息速览
💭 舆情情绪: 市场关注其AI属性与业绩高增长,情绪偏积极,但需消化短期获利盘和主力流出压力。
📊 业绩预期: 基于舆情信息,公司2025年前三季度业绩同比大幅增长,基本面强劲,为股价提供支撑。

🚨 风险警报:

风险点1:2月5日主力资金大幅净卖出3.63亿元,需警惕短期抛压。
风险点2:筹码集中度高达35.15%,表明筹码分散,拉升阻力可能较大。
风险点3:舆情中提及公司历史违规记录及重组相关风险提示,需保持关注。
✨ 利好催化:

利好1:公司被市场定位为AI服务器HDI核心供应商,受益于AI产业发展。
利好2:2025年前三季度扣非净利润同比暴涨407.52%,业绩表现强劲。
📢 最新动态: 【最新消息】舆情显示公司是AI PCB微钻领域龙头,深度绑定全球头部PCB/载板厂。2月5日主力资金净卖出3.63亿元,需关注后续资金流向。

---
生成时间: 18:00

大盘复盘

🎯 2026-01-10 大盘复盘

📊 主要指数
- 上证指数: 3250.12 (🟢+0.85%)
- 深证成指: 10521.36 (🟢+1.02%)
- 创业板指: 2156.78 (🟢+1.35%)

📈 市场概况
上涨: 3920 | 下跌: 1349 | 涨停: 155 | 跌停: 3

🔥 板块表现
领涨: 互联网服务、文化传媒、小金属
领跌: 保险、航空机场、光伏设备

⚙️ 配置说明

完整环境变量、模型渠道、通知渠道、数据源优先级、交易纪律、基本面 P0 语义和部署说明请参考 完整配置指南

🖥️ Web 界面

Web 工作台提供配置管理、任务监控、手动分析、历史报告、完整 Markdown 报告、Agent 问股、回测、持仓管理、智能导入和浅色 / 深色主题。启动方式:

python main.py --webui
python main.py --webui-only

访问 http://127.0.0.1:8000 即可使用。认证、智能导入、搜索补全、历史报告复制、云服务器访问等细节见 本地 WebUI 管理界面

🤖 Agent 策略问股

配置任意可用 AI API Key 后,Web /chat 页面即可使用策略问股;如需显式关闭可设置 AGENT_MODE=false

  • 支持均线金叉、缠论、波浪理论、多头趋势、热点题材、事件驱动、成长质量、预期重估等内置策略
  • 支持实时行情、K 线、技术指

readme truncated — read the full docs on github

Frequently asked questions

Is daily_stock_analysis free to use?

daily_stock_analysis is open source under the MIT licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does daily_stock_analysis do?

LLM 驱动的多市场股票智能分析系统:多源行情、实时新闻、决策看板与自动推送,支持零成本定时运行。 LLM-powered multi-market stock analysis system with multi-source market data, real-time news, decision dashbo

What is daily_stock_analysis written in?

daily_stock_analysis is primarily written in Python. Its source is publicly available at https://github.com/ZhuLinsen/daily_stock_analysis, and it has 65,204 GitHub stars.