explaingit

zhulinsen/daily_stock_analysis

📈 Trending37,042PythonAudience · developerComplexity · 3/5ActiveLicenseSetup · hard

TLDR

Automates daily AI-powered stock analysis across Chinese, Hong Kong, and US markets, delivering structured investment insights to messaging apps on a schedule.

Mindmap

mindmap
  root((repo))
    What it does
      Fetches market data
      Analyzes with AI
      Sends daily briefings
    Data sources
      Stock prices
      News and sentiment
      Company announcements
    Output channels
      WeChat Work
      Telegram
      Slack
      Email
    Tech stack
      Python
      LLMs
      GitHub Actions
    Use cases
      Track watchlists
      Team briefings
      Investment decisions

Things people build with this

USE CASE 1

Set up a daily stock briefing for your investment team delivered to Slack or WeChat Work each morning.

USE CASE 2

Monitor a watchlist of Chinese A-shares and US stocks with AI-generated buy/sell signals and risk alerts.

USE CASE 3

Aggregate price data, news, and sentiment across multiple markets into one structured analysis without manual work.

USE CASE 4

Deploy a free stock analysis pipeline on GitHub Actions that runs automatically on a schedule.

Tech stack

PythonAkShareTushareYFinanceGeminiClaudeOpenAIGitHub Actions

Getting it running

Difficulty · hard Time to first run · 1day+

Requires API keys for multiple services (Gemini, Claude, OpenAI, Tushare), GitHub Actions secrets configuration, and messaging app integration setup.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

Daily Stock Analysis is a Python project that automates daily AI-powered analysis of stocks in the Chinese A-share market, Hong Kong H-share market, and US markets. The problem it solves is that tracking multiple stocks across different markets, aggregating price data, news, sentiment, and fundamental information, and producing a structured investment opinion each day is extremely time-consuming if done manually. This tool automates the entire pipeline and delivers a concise decision dashboard to messaging apps on a schedule. The system works by fetching market data from multiple sources, stock price and technical indicator providers like AkShare, Tushare, and YFinance, and combining them with real-time news search (via APIs like SerpAPI, Tavily, or Brave Search), social sentiment signals, and company announcements. It feeds this combined information to a large language model (configurable to use Gemini, Claude, OpenAI-compatible models, DeepSeek, or local Ollama models) which generates a structured analysis for each stock including a one-sentence conclusion, a score, suggested buy/sell levels, risk alerts, and an action checklist. It also generates a daily market overview covering index performance, sector leaders, and market breadth. The output is pushed automatically to notification channels including WeChat Work bots, Feishu (Lark) bots, Telegram, Discord, Slack, and email. The whole pipeline is designed to run for free on GitHub Actions on a schedule, requiring no server, though Docker and local deployment options are also supported. You would use this project if you actively follow a watchlist of Chinese and US stocks and want a daily AI-generated briefing delivered to your team chat or inbox without doing the aggregation yourself. The project is MIT-licensed Python code running on Python 3.10 or newer.

Copy-paste prompts

Prompt 1
How do I set up Daily Stock Analysis to send AI-generated stock reports to my Slack channel every morning?
Prompt 2
Show me how to configure this tool to analyze my custom watchlist of Chinese A-shares and US stocks using Claude.
Prompt 3
What data sources does Daily Stock Analysis pull from, and how do I add my own stock tickers to the analysis?
Prompt 4
How do I deploy Daily Stock Analysis on GitHub Actions so it runs automatically without a server?
Prompt 5
Can I use a local Ollama model instead of cloud LLMs for the stock analysis in this tool?
Open on GitHub → Explain another repo

Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.