Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

mystockmystock 分析

Agent Skill

mystock 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,655

周安装

238

GitHub Stars

公开资料未说明

下载量

1,980
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mystock(mystock 分析)
来源仓库:https://github.com/wangz/mystock
安装命令:
openclaw skills install mystock
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install mystock

简介

mystock 是股票智能助手,支持报价查询与投资分析。

  • 涵盖涨停跟踪、股东动态与组合管理功能。mystock 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 适用于个人投资者与机构研究员的信息辅助。
  • 数据来源依赖第三方接口,可能存在延迟或限制。
  • 投资有风险,建议结合专业意见审慎决策。

SKILL.md

***

name: my-stock description: MyStock - 我的股票智能助手。Use when user asks about stock quotes, market analysis, limit-up tracking, shareholder dynamics, investment research, or portfolio management. Handles real-time prices, technical analysis, and financial data queries. metadata: version: 1.1.6 author: wangz license: MIT category: finance


MyStock - 我的股票智能助手

🎨 MyStock is a full-featured stock analysis assistant with a beautiful Web UI, providing real-time quotes, limit-up tracking, shareholder dynamics monitoring, and more!

!\[MyStock Demo]\(assets/mystock-demo.png null)

✨ Capabilities

  1. Real-time Quotes - Query stock prices and percentage changes
  2. Limit-up Analysis - Track daily limit-up boards and first-board opportunities
  3. Shareholder Dynamics - Monitor shareholder increases, buybacks, and executive transactions
  4. Portfolio Management - Manage watchlists and investment notes
  5. AI Assistant - Get AI-powered investment insights
  6. 🎨 Beautiful Web UI - Modern Vue 3 + Element Plus interface

🎨 Web UI Features

The skill includes a complete web interface that users can interact with:

  • Watchlist Management - Add/remove stocks with one click
  • Real-time Data Display - Live price updates with color-coded changes
  • Limit-up Analysis - Visual tracking of daily limit-up stocks
  • Shareholder Activity - Detailed tabs for different activity types
  • AI Chat Assistant - Built-in AI assistant for stock questions
  • Responsive Design - Works on desktop and mobile

When to Use

Invoke this skill when the user:

  • Asks about stock prices, quotes, or market data
  • Mentions specific stock codes or names
  • Asks about limit-up (涨停) stocks or trading opportunities
  • Needs shareholder/investor activity information
  • Wants to track investment portfolio
  • Asks for stock analysis or research
  • Wants to see a visual interface for stock analysis
  • Mentions terms like: 打板, 涨停, 股东增持, 回购, 高管增持

Architecture

./
├── start.sh           # ⭐ One-click startup (UI + Backend)
├── backend/           # FastAPI backend server
│   ├── main.py       # Main API server
│   ├── ai_service.py # AI service integration
│   └── requirements.txt
├── frontend/         # Web interface
│   └── index.html    # Vue 3 single-page app ⭐
├── scripts/          # Helper scripts
│   ├── install.sh    # One-click installation script
│   ├── check_api.py  # API health check
│   └── test_skill.py # Skill trigger test
└── references/       # Documentation
    └── usage_examples.md

Quick Start

1. One-Click Installation (Recommended)

bash scripts/install.sh

This will automatically:

  • ✅ Install Node.js dependencies (jsdom for pywencai)
  • ✅ Install Python dependencies
  • ✅ Configure environment variables
  • ✅ Prepare data directories

2. ⚡ Start Everything (Recommended)

./start.sh

This one script starts:

  • ✅ Backend API server (port 8000)
  • ✅ Frontend web interface (port 5000)
  • ✅ Automatically opens browser with UI

Or start separately:

3. Start Backend Server

cd backend
pip install -r requirements.txt
./start.sh

The backend server runs on http://localhost:8000

Important: The start.sh script automatically sets NODE_PATH for pywencai jsdom dependency.

4. Start Frontend UI

cd frontend
python -m http.server 5000

Access the web interface at http://localhost:5001

The UI will open automatically when using ./start.sh

⚠️ Important Dependencies

Node.js (Required for pywencai)

pywencai uses jsdom for web scraping, which requires Node.js:

# Install Node.js (if not installed)
# Download from: https://nodejs.org/

# Install jsdom globally
npm install -g jsdom

# Verify installation
node -e "require('jsdom')"

The startup script automatically sets NODE_PATH to find jsdom.

4. API Endpoints

EndpointMethodDescription
/api/stocksGETGet stock quotes
/api/limit-up-analysisGETGet limit-up board analysis
/api/shareholder-activityGETGet shareholder dynamics
/api/portfolioGET/POSTManage portfolio
/api/chatPOSTAI chat assistant

Usage Examples

Example 1: Query Stock Price

User says: "查询贵州茅台的股价"

The assistant should:

  1. Call API: GET /api/stocks?code=600519.SH
  2. Return formatted response with price, change %, etc.

Example 2: Limit-up Analysis

User says: "查看今天的打板分析"

The assistant should:

  1. Call API: GET /api/limit-up-analysis
  2. Analyze and present limit-up candidates
  3. Highlight first-board opportunities

Example 3: Shareholder Dynamics

User says: "最近有哪些股东增持"

The assistant should:

  1. Call API: GET /api/shareholder-activity
  2. Present shareholder increase data
  3. Include buyback and executive transaction info

Data Sources

  • Real-time quotes: Via pywencai library (同花顺问财)
  • Shareholder data: Via pywencai queries
  • Historical data: Stored in local JSON files

Important Notes

Investment Disclaimer

⚠️ DISCLAIMER: This tool is for educational and research purposes only. All investment decisions should be made at your own risk. Past performance does not guarantee future results.

Rate Limiting

  • API calls should be throttled to avoid overwhelming the data source
  • Cache frequently accessed data locally
  • Maximum 1 request per second recommended

Data Accuracy

  • Real-time data may have slight delays
  • Historical data is cached locally
  • Verify critical information through official sources

Troubleshooting

API Server Won't Start

  1. Check if port 8000 is in use:
   lsof -i:8000
  1. Verify Python dependencies:
   pip install -r requirements.txt
  1. Check environment variables:
   cp .env.example .env
   # Edit .env with your API keys if needed

Data Not Loading

  1. Verify API server is running:
   curl http://localhost:8000/
  1. Check network connectivity
  2. Review server logs for errors

Frontend Not Displaying

  1. Ensure backend API is accessible
  2. Check browser console for errors
  3. Verify CORS settings in backend

Development

Project Structure

./
├── backend/
│   ├── main.py          # FastAPI application
│   ├── ai_service.py    # AI integration
│   ├── ai_config.py     # AI configuration
│   ├── sync_all_stocks.py # Stock data sync
│   └── requirements.txt  # Python dependencies
├── frontend/
│   └── index.html       # Single-file Vue 3 app
├── scripts/
│   ├── install.sh       # One-click installation script
│   ├── check_api.py     # API health check
│   └── test_skill.py    # Skill trigger test
├── references/
│   └── usage_examples.md # Detailed usage examples
└── README.md            # Project documentation

Adding New Features

  1. Backend changes: Add new endpoints in main.py
  2. Frontend changes: Edit frontend/index.html
  3. Test thoroughly before committing

Integration with Claude Code

This skill can be used alongside Claude Code for:

  • Automated stock research
  • Portfolio analysis workflows
  • Investment strategy discussions
  • Market trend analysis

When Claude Code detects stock-related queries, it can:

  1. Invoke this skill automatically
  2. Use backend APIs for data
  3. Provide AI-powered insights
  4. Generate analysis reports

License

MIT License - See LICENSE file for details

Support

For issues or feature requests, please open an issue on the GitHub repository.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.32%
按下载量换算1,689

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills