← Back to Skills Marketplace
magica-chen

TuShare Stock Skill

by Zexun Chen · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ Security Clean
7675
Downloads
7
Stars
38
Active Installs
4
Versions
Install in OpenClaw
/install tushare-stock-skill
Description
面向中国 A 股的 Tushare 专用技能,提供股票数据获取、个股分析与交易观察能力。
Usage Guidance
Install in a virtual environment, provide only the Tushare token you intend this skill to use, and set TUSHARE_STOCK_ENV_FILE only to a small file containing that token. For production or automated trading workflows, pin dependencies and treat the realtime crawler endpoints as unverified external-source data with possible compliance and reliability limits.
Capability Assessment
Purpose & Capability
The README, SKILL.md, agent prompt, scripts, and endpoint catalog consistently describe China A-share data lookup, analysis, and trading observation using Tushare.
Instruction Scope
Runtime commands are user-directed: catalog listing, explicit endpoint fetches, natural-language stock queries, analysis, and indicator listing. I found no hidden role-changing instructions, automatic background work, or unrelated behavior.
Install Mechanism
Installation uses a normal requirements.txt with pandas, tushare, requests, and beautifulsoup4, but the dependencies are unpinned, so reproducibility and dependency hygiene are weaker than ideal.
Credentials
The skill requires TUSHARE_TOKEN and optionally reads TUSHARE_STOCK_ENV_FILE only when explicitly set. Network access to Tushare and documentation pages is expected; the catalog also exposes Tushare crawler-described realtime endpoints that users should treat as less authoritative.
Persistence & Privilege
No privilege escalation, destructive actions, broad local scanning, or hidden persistence was found. The only local persistence observed is a stock-basic cache under TUSHARE_STOCK_CACHE_DIR, defaulting to /tmp/tushare_stock_skill.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install tushare-stock-skill
  3. After installation, invoke the skill by name or use /tushare-stock-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.3
- Updated skill name and description to focus clearly on China A-share stock research and analysis, with all user-facing text in Simplified Chinese. - Revised documentation to clarify the core scenarios, values, usage boundaries, and exclude non-A-share market workflows. - Streamlined examples, command references, and explanation style for more concise, practical guidance. - No functional or code changes; this update is a full documentation and localization improvement.
v1.0.2
- Update metadata to clarify required and optional environment variables and Python dependencies - Add explicit information on required and optional Python packages and dependent network domains - Add a new "Installation" section with pip install instructions and environment variable usage - Clarify boundaries by grouping environment variable descriptions and security details - No core functionality or command changes; documentation and metadata improvements only
v1.0.1
- Major refactor: simplified project root, removed legacy folders and scripts. - README and SKILL.md fully rewritten in concise English. - Usage, entry points, and environment variable requirements are now clearly documented. - Project metadata and homepage added for better discoverability. - Chinese user output and Tushare use cases remain central, but developer docs are streamlined and focused.
v1.0.0
- 首次发布,支持全套 Tushare A 股股票数据与个股分析,包括行情、估值、财务、资金流、龙虎榜等多类接口。 - 根据自然语言智能匹配最优接口,自动识别股票与参数,可辨识查询、分析和交易观察等多类意图。 - 面向分析与交易观察请求,内置快档与深档机制,自动决定是否深扫龙虎榜和机构席位。 - 查询接口默认返回原始结构化数据,分析请求输出简要结论、核心指标及风险提示。 - 明确处理权限与积分受限接口,并采用环境变量配置 Token,避免本地 token 文件写入。 - 所有说明及输出均为简体中文,接口目录与指标体系支持扩展与自定义。
Metadata
Slug tushare-stock-skill
Version 1.0.3
License MIT-0
All-time Installs 270
Active Installs 38
Total Versions 4
Frequently Asked Questions

What is TuShare Stock Skill?

面向中国 A 股的 Tushare 专用技能,提供股票数据获取、个股分析与交易观察能力。 It is an AI Agent Skill for Claude Code / OpenClaw, with 7675 downloads so far.

How do I install TuShare Stock Skill?

Run "/install tushare-stock-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is TuShare Stock Skill free?

Yes, TuShare Stock Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does TuShare Stock Skill support?

TuShare Stock Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created TuShare Stock Skill?

It is built and maintained by Zexun Chen (@magica-chen); the current version is v1.0.3.

💬 Comments