← 返回 Skills 市场
gaingush

Tushare 期货数据

作者 gaingush · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
199
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install tushare-future-data
功能描述
提供明确支持的14个Tushare期货接口,涵盖期货合约信息、各类行情数据、仓单持仓及指数等全面期货数据查询服务。
安全使用建议
This skill appears to be a straightforward Tushare Pro wrapper for futures data and only needs your TUSHARE_TOKEN. Before installing: 1) Provide a dedicated Tushare token with the minimal permissions you need (avoid sharing broader account credentials). The skill will send that token to Tushare Pro when calling APIs. 2) Note the metadata inconsistency: some registry metadata omitted the required env var while metadata.json and docs require TUSHARE_TOKEN — confirm the platform will protect that env var. 3) The code has a couple of minor bugs (e.g., trade_cal is routed through pro.query but the implementation may not pass the 'api_name' correctly; import failures of tushare are caught but will surface unclear error messages). These are functionality/usability issues, not indicators of data exfiltration. 4) Ensure tushare and pandas are installed in the runtime environment; test calls with a token that has restricted permissions first. 5) If you plan to allow the agent to invoke skills autonomously, be aware the skill can make arbitrary API calls to Tushare using your token — restrict token scope and monitor usage.
功能分析
Type: OpenClaw Skill Name: tushare-future-data Version: 1.0.0 The skill is a legitimate wrapper for the Tushare Pro futures data API. It implements a strict whitelist of 14 supported API endpoints in `__init__.py`, effectively preventing arbitrary method execution via `getattr`. Authentication is handled securely by requiring a user-provided token through environment variables or parameters, and the code lacks any indicators of data exfiltration, persistence, or malicious prompt injection.
能力评估
Purpose & Capability
Name/description, SKILL.md, README, requirements.txt and __init__.py all consistently implement a narrow Tushare Pro futures-data wrapper exposing 14 listed APIs. The declared Python dependencies (tushare, pandas) are appropriate for this purpose.
Instruction Scope
SKILL.md and handler logic keep scope to calling Tushare APIs and returning JSON. The runtime instructions only require a Tushare token (param or env) and do not instruct reading unrelated files or exfiltrating data. Minor implementation issues exist (see guidance) but they are bugs, not evidence of malicious scope creep.
Install Mechanism
No install script or remote download is present; the package is instruction+Python code with a standard requirements.txt. This is low-risk compared with arbitrary remote installers.
Credentials
The skill only needs a Tushare API token (TUSHARE_TOKEN) which is proportionate to contacting Tushare Pro. However, there is an inconsistency: the skill bundle's top-level registry metadata reported 'Required env vars: none' while metadata.json and the SKILL.md state TUSHARE_TOKEN is required. This mismatch should be resolved before trust/automation is granted.
Persistence & Privilege
always:false and no special system-level privileges requested. The skill does not attempt to modify other skills or system configs and does not require permanent platform-wide presence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install tushare-future-data
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /tushare-future-data 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
该skill封装了Tushare期货板块最核心的14个数据接口,让您可以轻松获取包括: 基础信息:合约列表、交易日历、主力合约映射。 行情数据:日K线、周月K线、历史分钟线及实时分钟行情。 核心参考数据:仓单日报、每日结算价、会员持仓排名。 指数与指标:南华指数、周期统计、涨跌停价格等
元数据
Slug tushare-future-data
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Tushare 期货数据 是什么?

提供明确支持的14个Tushare期货接口,涵盖期货合约信息、各类行情数据、仓单持仓及指数等全面期货数据查询服务。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 199 次。

如何安装 Tushare 期货数据?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install tushare-future-data」即可一键安装,无需额外配置。

Tushare 期货数据 是免费的吗?

是的,Tushare 期货数据 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Tushare 期货数据 支持哪些平台?

Tushare 期货数据 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Tushare 期货数据?

由 gaingush(@gaingush)开发并维护,当前版本 v1.0.0。

💬 留言讨论