tushare-cli
Tushare 数据查询 CLI
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alsoforever/tushare-cliWhat This Skill Does
tushare-cli is a specialized OpenClaw agent skill designed to bridge the gap between complex financial data and actionable insights. By leveraging the comprehensive Tushare data API, this tool allows users to query real-time and historical financial data directly through the terminal or via agent interactions. Whether you are tracking daily stock performance, diving into the fundamental financial health of a corporation, or staying updated with the latest market news, this skill streamlines the process into simple command-line operations.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/alsoforever/tushare-cli
Ensure that you have your Tushare API token configured within your environment variables or the configuration file associated with the tool, as the skill requires valid authentication to interact with the Tushare servers effectively.
Use Cases
This skill is highly valuable for financial analysts, developers building automated trading bots, and investors who prefer command-line efficiency over clunky web interfaces. Key use cases include:
- Portfolio Monitoring: Quickly fetching current daily quotes for a list of stocks to track portfolio movement.
- Fundamental Analysis: Screening companies by pulling key financial indicators such as P/E ratios, revenue growth, or debt-to-equity metrics.
- Market Intelligence: Programmatically gathering financial news headlines to inform sentiment analysis workflows.
- Data Automation: Integrating stock data retrieval into larger data pipelines that feed into custom visualization or model training scripts.
Example Prompts
- "Can you check the current stock basic information for 000001.SZ and summarize its profile?"
- "Fetch the latest financial indicators for 600519.SH to see if the company's valuation has changed recently."
- "Give me a summary of the latest financial news retrieved by the tushare-cli skill."
Tips & Limitations
- Token Limits: The amount of data you can retrieve depends on your Tushare account tier. Always check your remaining points on the Tushare dashboard.
- Precision: When inputting stock codes, ensure you include the correct suffix (.SZ for Shenzhen, .SH for Shanghai) to avoid lookup errors.
- Network Dependency: This tool relies on an active internet connection to contact Tushare servers. If you encounter errors, verify your network connectivity or API token status.
- Rate Limiting: Avoid rapid-fire automation that exceeds the Tushare API request limits to ensure your account remains active and unblocked.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alsoforever-tushare-cli": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
industry-compare
行业对比技能 - 同行业多公司对比分析、行业地位评估
memory-stack
AI 记忆栈架构 - 符合 2026 前沿的 AI 记忆系统。微调+RAG+ 上下文三层设计,mirrors 人类记忆工作方式。
excel-finance
Excel 财务模型技能 - Excel 财务模型模板、自动化报表生成
product-design
产品设计技能 - 掌握用户需求分析、产品规划、原型设计、体验优化等核心能力
api-integration
API 集成技能 - 掌握 RESTful API 调用、GraphQL 支持、API 认证管理等核心能力