ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 4/5

tushare-cli

Tushare 数据查询 CLI

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/alsoforever/tushare-cli
Or

What 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

  1. "Can you check the current stock basic information for 000001.SZ and summarize its profile?"
  2. "Fetch the latest financial indicators for 600519.SH to see if the company's valuation has changed recently."
  3. "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

Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-alsoforever-tushare-cli": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#finance#stocks#tushare#data-query#investing
Safety Score: 4/5

Flags: network-access, external-api