← Back to Leaderboard
DZhuLinsen

ZhuLinsen/daily_stock_analysis

A Python Agent workbench for multi-market watchlist research and scheduled reports

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A+ · 100/100
Maintenance Activity
● Updated today
Latest Release
v3.35.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption25/25
Release Cadence20/20
License Clarity20/20
MCPDockerSelf-HostedLocal AICLIAPI
Total Stars
★ 75,894
24h Growth
+89
7d Growth
+870
Forks
59,428

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

ZhuLinsen/daily_stock_analysis Star History (2026-01-09 - 2026-12-04) ALL-TIME STAR HISTORY (2026-01 – 2026-12) +75.9k in 329d · avg +231/day 80.1k 40.1k 0 2026-01-09: ★ 12026-01-31: ★ 7,9532026-02-21: ★ 11,8202026-03-14: ★ 19,3762026-04-04: ★ 27,0672026-04-25: ★ 30,5722026-05-16: ★ 35,4452026-06-06: ★ 40,1612026-06-27: ★ 49,6762026-07-18: ★ 56,8852026-08-08: ★ 60,0392026-08-29: ★ 63,5842026-09-19: ★ 64,7692026-10-10: ★ 65,7392026-10-31: ★ 67,0572026-11-20: ★ 73,4782026-12-04: ★ 75,894 ★ 75.9k 2026-01 2026-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Daily Stock Analysis is a Python application that assembles watchlist research from market data and news, uses an LLM to synthesize reports, and presents or delivers results through Web, Bot, and notification channels. The root tree separates data_provider/, src/, api/, bot/, and strategies/. main.py is the documented CLI entry point. The dependency set includes python-dotenv for configuration, Tenacity for retry and backoff, SQLAlchemy for database access, schedule for periodic jobs, and exchange-calendars for trading calendars.

The market-data layer defines an ordered fallback rather than relying on one feed: the manifest puts efinance ahead of AkShare, and v3.35.0 isolates Tushare permission failures by endpoint so affected calls can fall back. FastAPI is the HTTP integration path. The stock_analyzer Agent plugin drives a configured checkout or running service rather than shipping the Python runtime. MCP is a separate, optional read-only stdio surface launched with python -m src.mcp_server.

Key Capabilities & Differentiators

Watchlists cover mainland China, Hong Kong, the US, Japan, South Korea, and Taiwan, plus ETFs. The inputs include quotes, candlesticks, technical indicators, news, disclosures, and fundamentals, but coverage varies by market. The generated dashboard combines a score and trend assessment with price levels, risk flags, catalysts, and a checklist. The Web and desktop workbenches support on-demand analysis, task progress, Markdown report history, backtesting, holdings, and watchlist imports from images, CSV/Excel files, or the clipboard.

The research Agent exposes 20 built-in strategies across Web, Bot, and API, supports multi-turn follow-up, and can call quote, technical, news, and risk tools. Custom strategy files are supported; multi-agent orchestration is experimental. Model choices include Gemini, Claude, OpenAI-compatible endpoints, and local Ollama. The ETF dual-momentum workflow introduced in v3.33.0 is separate from LLM analysis: it produces rotation signals, cost-adjusted backtests, annual comparisons, parameter sensitivity checks, and data-quality warnings without a model.

Trade-offs & Limitations

Compared with a single-feed watchlist script, DSA adds cross-market context, provider fallback, follow-up research, and report delivery at the cost of more configuration and dependencies. Free quote sources can be rate-limited or disrupted by upstream API changes. Token-backed feeds can improve stability where supported, but a successful fallback does not establish that two providers offer equivalent freshness or price conventions. The v3.35.0 fixes for quote trade dates and Yahoo ex-dividend prices are concrete reasons to validate the source and date before acting on a report.

Compared with a dedicated backtesting or execution platform, its best-documented workflows are research, monitoring, and delivery. LLM-generated levels and recommendations are inputs to review, not validated signals or evidence of an execution path. Local Ollama keeps inference local, while hosted models avoid running inference infrastructure but add an external service and potentially usage fees. Neither a no-server schedule nor free quote feeds guarantee zero operating cost. The MIT license applies to the code, not to rights in upstream market data or news.

Hardware & Deployment Guide

For a local install, install requirements.txt, copy .env.example to .env, and configure the watchlist and a model channel for LLM analysis. python main.py runs analysis; --schedule enables local scheduling, and --webui-only starts the Web workbench at 127.0.0.1:8000. Docker is a self-hosted option. GitHub Actions can run reports without an always-on server: configure STOCK_LIST, a model channel, and a notification destination in Secrets. The default schedule is 18:00 Beijing time on weekdays, subject to trading-day checks.

Hosted inference does not require a local GPU for DSA itself. With Ollama, size memory and any VRAM for the chosen model and concurrency; market data and news still depend on network access. The manually configured MCP server needs a full checkout and the optional mcp>=1.0.0,<2 dependency. The release history shows why deployment version matters: v3.34.0 added optional FastAPI security middleware and a switch to skip duplicate startup analysis, while v3.35.0 expanded Taiwan market support and refined data fallback.

Provider resilience: Ordered quote-source fallback; v3.35.0 isolates Tushare permission failures by endpoint.
Market scope: Watchlists span six equity markets and ETFs, with data coverage varying by market.
Research Agent: 20 built-in strategies and multi-turn follow-up across Web, Bot, and API; multi-agent orchestration is experimental.
Model routing: Hosted providers and OpenAI-compatible endpoints alongside local Ollama; inference and market-data connectivity are separate.
Rule-based research: ETF dual-momentum rotation runs without an LLM and provides cost-adjusted backtests and parameter sensitivity checks.
Integration: FastAPI for analysis requests, a plugin that drives an existing DSA runtime, and a separate read-only MCP stdio server.
Best For

Investors or research teams that want scheduled cross-market watchlist briefings, source-aware review, and follow-up questions through Web, Bot, or API.

Skip If

You require fully offline market data, guaranteed feed freshness, validated trading signals, or automated order execution.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPDockerSelf-HostedLocal AI
# 克隆项目
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

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
daily_stock_analysis ★75.9k+870PythonMITA Python Agent workbench for multi-market watchlist research and scheduled repor
Vibe-Trading39.6k+490PythonMITA self-hosted trading agent for evidence-linked research and inspectable backtes
hermes-agent268.1k+1.5kPythonMITSelf-hosted Python agent with persistent memory and automation across chat and C
dify162.4k+370Python—Visual workflow and RAG workspace for building and serving LLM apps

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/ZhuLinsen/daily_stock_analysis.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

ZhuLinsen/daily_stock_analysis Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about daily_stock_analysis

Should I integrate through FastAPI, the Agent plugin, or MCP?

Use FastAPI when the caller needs to request an analysis. For conversational requests that should not broadcast to notification channels, use notify: false for stock analysis and send_notification: false for market reviews; check that your checkout supports the latter before calling it. Use the optional read-only MCP stdio server for read-only integration. The Agent plugin relies on an existing DSA checkout or service and does not bundle the runtime.

Do I need a GPU, and how should I size a self-hosted instance?

A hosted-model setup uses Python to retrieve data, orchestrate analysis, and serve or deliver reports; the remote provider handles inference, so DSA itself does not need a GPU on that path. With local Ollama, size RAM and any GPU VRAM for the selected model and concurrent requests. No fixed hardware minimum is specified. Local inference also does not make quotes and news available offline.

Can a company self-host or redistribute it?

The MIT license permits commercial use, modification, and redistribution, subject to retaining the copyright and license notices as required. It does not grant rights to redistribute market data, news, or third-party service outputs. Check the terms of each configured provider before using the system commercially or sharing its reports.

When is DSA a better fit than a quote script or a dedicated quant platform?

Choose DSA when you need recurring reports and follow-up questions that combine watchlist data, news, and technical context across markets. A single-provider script can be simpler if you only need prices or threshold alerts. If the main goal is reproducible strategy testing or order execution, choose a dedicated system for that purpose; DSA's ETF rotation backtest is a specific strategy workflow, not a substitute for either.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining ZhuLinsen/daily_stock_analysis? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature ZhuLinsen/daily_stock_analysis on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare