Install
openclaw skills install mystockMyStock - 我的股票智能助手。Use when user asks about stock quotes, market analysis, limit-up tracking, shareholder dynamics, investment research, or portfolio managem...
openclaw skills install 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!

The skill includes a complete web interface that users can interact with:
Invoke this skill when the user:
./
├── 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
bash scripts/install.sh
This will automatically:
./start.sh
This one script starts:
Or start separately:
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.
cd frontend
python -m http.server 5000
Access the web interface at http://localhost:5001
The UI will open automatically when using ./start.sh
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.
| Endpoint | Method | Description |
|---|---|---|
/api/stocks | GET | Get stock quotes |
/api/limit-up-analysis | GET | Get limit-up board analysis |
/api/shareholder-activity | GET | Get shareholder dynamics |
/api/portfolio | GET/POST | Manage portfolio |
/api/chat | POST | AI chat assistant |
User says: "查询贵州茅台的股价"
The assistant should:
GET /api/stocks?code=600519.SHUser says: "查看今天的打板分析"
The assistant should:
GET /api/limit-up-analysisUser says: "最近有哪些股东增持"
The assistant should:
GET /api/shareholder-activitypywencai library (同花顺问财)pywencai queries⚠️ 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.
lsof -i:8000
pip install -r requirements.txt
cp .env.example .env
# Edit .env with your API keys if needed
curl http://localhost:8000/
./
├── 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
main.pyfrontend/index.htmlThis skill can be used alongside Claude Code for:
When Claude Code detects stock-related queries, it can:
MIT License - See LICENSE file for details
For issues or feature requests, please open an issue on the GitHub repository.