Saw this repo trending a while back (ZhuLinsen/daily_stock_analysis, 46k+ stars, 42k forks, still updated this week). The pitch is simple: pull market data, feed it to an LLM, get a daily analytics dashboard pushed to your inbox. I finally deployed it and read the code. The architecture is more interesting than the pitch.
Full disclosure up front: I didn't build this. It's someone else's MIT-licensed project, no affiliation. And not financial advice. I'm looking at it as an engineering project, not an investing tool.
Every day after market close, it pulls data on a list of stocks you configure, runs the numbers, asks an LLM to write up a structured report, and pushes it to email / WeChat Work / Feishu / Discord / Telegram. Output is a dashboard with a score, technical indicators, and a checklist. Supports A-shares, HK, US, plus basic JP/KR.
This is where most of the complexity lives. It doesn't trust one data source. There's a fallback chain of seven: AkShare and Efinance (East Money), Tushare, Pytdx, Baostock, YFinance, Longbridge. If one is rate-limited or down, it falls through to the next. Free financial APIs are flaky, so this is the right call. It's why the thing doesn't die when East Money throttles it. (Those 42k forks are mostly people forking it to deploy on GitHub Actions.)
Uses litellm as a unified client. You can plug in DeepSeek (the default, cheap), Gemini, Claude, OpenAI, or a local Ollama model. No provider lock-in, and people in different regions can use whatever they can reach.
I wrote one-click install scripts (Python deps + config) and ran it on a single stock to see the output. The report format is genuinely nice: a score, moving averages, support/resistance levels, a 6-item checklist. As a way to glance at "what's the technical state of this stock today," it's a clean summary.
Here's the honest part though.
Most "AI + finance" posts are hype or sales. I found it useful to see a real, popular, open implementation of "LLM as a data summarizer," warts and all. If you're building anything with LLMs plus messy real-world data, the fallback-chain pattern in the data layer is worth stealing.
Repo: github.com/ZhuLinsen/daily_stock_analysis (MIT)
Not financial advice. No affiliation with the project.