Pharma Daily Report
Pulls live quotes for 20 core China A-share pharma stocks, ranks 7 sub-sectors with gainer/loser TOP 3 and money-flow estimates, then pushes a rich-text daily report to Feishu.
Data & AnalyticsIntermediate★ 1,323⑂ 212AI score 8/10Last updated: Aug 8, 2026
What it does
- Fetches real-time quotes for 20 core A-share pharma tickers from Sina Finance's free public endpoint (
hq.sinajs.cn, GBK encoded, no auth needed). - Aggregates and ranks 7 sub-sectors: innovative drugs, CXO, medical devices, TCM, diversified pharma, healthcare services, and biologics.
- Computes top 3 gainers/losers, average change, and a rough net money-flow estimate from turnover.
- Builds a formatted Feishu rich-text report (color-coded moves, sector medals) and sends it to a chosen chat via
lark-cli, saving a daily snapshot JSON. - Python stdlib only (urllib) — no pip installs required.
Who it's for
- Analysts and research staff tracking the China A-share healthcare/pharma complex daily.
- Teams that want an automated morning market brief posted into a Feishu group.
- Individual investors who want to customize the ticker pool into their own sector daily.
Note: not investment advice (a disclaimer is embedded in the report) and data accuracy isn't guaranteed — cross-check before trading.
Examples
- "Show me the pharma sector today" → returns up/down counts, strongest and weakest sub-sector, and TOP 3 movers.
- "Send today's pharma data to Feishu" → confirms profile and chat_id, runs
scripts/daily_pipeline.py, and delivers the report. - "Only track innovative drug names" → trims the pool and reports on that sector alone.
- After a successful test send, schedule automatic delivery at 9:03 AM on trading days.
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the daymade-financial/pharma-daily-report folder from the GitHub repo daymade/claude-code-skills into my ~/.claude/skills/pharma-daily-report/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/daymade/claude-code-skills.git && mkdir -p ~/.claude/skills && cp -r claude-code-skills/daymade-financial/pharma-daily-report ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Clone the repository:
git clone https://github.com/daymade/claude-code-skills.git - Copy the skill into your Claude Code skills folder:
mkdir -p ~/.claude/skills && cp -r claude-code-skills/daymade-financial/pharma-daily-report ~/.claude/skills/ - Verify Python 3.8+ is available:
python3 --version(no extra packages needed). - Install and log into lark-cli for Feishu delivery:
npm install -g @larksuite/cli, thenlark-cli auth login --recommend. - List your Feishu profiles:
lark-cli profile list. - Find the target chat id:
LARK_CLI_NO_PROXY=1 lark-cli im +chat-search --query " " --page-size 20(theLARK_CLI_NO_PROXY=1prefix is required since Feishu is a China-based service). - Restart Claude Code, ask for a "pharma daily report", and supply the profile plus chat id when prompted.
- Once a test send succeeds, set up a weekday 9:03 AM cron/schedule for automatic delivery.
View source on GitHub ↗License: MIT