# daily-stock-analysis

Automates stock analysis across US, Hong Kong, and Chinese markets using LLMs. It calculates entry targets, stop-losses, and delivers reports via chat webhooks.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 2000 installs · ★ 88
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/daily-stock-analysis/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/daily-stock-analysis

## What it does

The skill configures automated tracking for A-shares, Hong Kong equities, and US stocks alongside major indices like SPX or DJI. Market quotes come through AkShare, Tushare, or YFinance, while recent news is retrieved via Tavily, SerpAPI, or Brave search providers. The underlying model then drafts a concise action summary with specific target and stop-loss levels.

Workflows can run on scheduled GitHub Actions crons without dedicated servers. For local setups, execution relies on `main.py` and a Flask dashboard at `web_app.py`, which includes backtesting features and eleven built-in analytical strategies.

The pipeline halts without an active API key for at least one model provider like Gemini, OpenAI, Claude, or DeepSeek. You also need to populate the `STOCKS` variable and provide a delivery endpoint such as a Telegram bot token or Discord webhook.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill daily-stock-analysis -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/daily-stock-analysis/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/daily-stock-analysis/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill daily-stock-analysis -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/daily-stock-analysis/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill daily-stock-analysis -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/daily-stock-analysis/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/trending-skills daily-stock-analysis
```

2. **Manually: put the files in place**
- File: `.github/skills/daily-stock-analysis/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill daily-stock-analysis -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/trending-skills --path skills/daily-stock-analysis
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/daily-stock-analysis/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill daily-stock-analysis -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/daily-stock-analysis/SKILL.md

## When to use it
- calculate buy targets and stop-loss levels for watched equities
- dispatch scheduled portfolio updates to Telegram or Discord
- aggregate price quotes and recent news for US and Chinese markets
- backtest multi-turn trading strategies via the local web dashboard

## Example prompts
- Set up daily stock analysis for TSLA and AAPL with Telegram notifications
- Analyze stock 600519 using the moving average crossover strategy
- Configure GitHub Actions to run the daily stock analysis workflow on weekdays

## Similar
- [churn-prevention](https://affpapa.org/en/nevibecode/skills/coreyhaines31-churn-prevention.md) — skill · 121000 installs
- [revops](https://affpapa.org/en/nevibecode/skills/revops.md) — skill · 113500 installs
- [community-marketing](https://affpapa.org/en/nevibecode/skills/community-marketing.md) — skill · 89500 installs
- [ads](https://affpapa.org/en/nevibecode/skills/ads.md) — skill · 82800 installs
- [pricing](https://affpapa.org/en/nevibecode/skills/pricing.md) — skill · 79300 installs
- [marketing-plan](https://affpapa.org/en/nevibecode/skills/marketing-plan.md) — skill · 67900 installs

From the same set: [reason-machines/trending-skills](https://affpapa.org/en/nevibecode/by/reason-machines/trending-skills.md) — 139 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
