← 返回 Skills 市场
gaingush

tqsdk-query

作者 gaingush · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
82
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install tqsdk-query
功能描述
天勤量化 - 期货实时行情与历史数据接口,提供国内期货、期权的实时报价、K线序列与历史数据查询。
安全使用建议
This skill appears to do what it says (fetch TqSdk market and kline data) and legitimately needs your TQ username/password. Before installing: (1) be aware you must set TQ_USERNAME and TQ_PASSWORD as environment variables — the registry metadata failing to list them is an oversight; (2) avoid putting high-privilege or primary account credentials in the skill without understanding risk — prefer a dedicated account if possible; (3) note the package imports a local module (.tqsdk_client) that is not present in the manifest — this may cause runtime errors; verify the package will install tqsdk and pandas in a controlled environment; (4) review network policy if you require that the skill only communicate with approved endpoints (tqsdk will contact ShinnyTech servers); and (5) if you are uncomfortable providing credentials, do not install or run the skill until these issues are resolved or run it in an isolated/sandboxed environment.
功能分析
Type: OpenClaw Skill Name: tqsdk-query Version: 1.0.0 The skill is a legitimate integration for the Tianqin Quant SDK (TQSDK), providing access to Chinese futures market data. It follows security best practices by requiring credentials (TQ_USERNAME, TQ_PASSWORD) to be provided via environment variables rather than as command parameters. The implementation in __init__.py uses the official tqsdk library to fetch quotes and K-line data as described, with no evidence of data exfiltration, unauthorized execution, or malicious instructions.
能力评估
Purpose & Capability
The name/description, SKILL.md, and code all consistently target the TqSdk market-data API and legitimately need a TQ username/password and the tqsdk/pandas dependencies. However, the published registry metadata claims no required environment variables even though SKILL.md and the code require TQ_USERNAME and TQ_PASSWORD — an inconsistency that may be an oversight but reduces transparency.
Instruction Scope
Runtime instructions and code only read the declared credentials (TQ_USERNAME/TQ_PASSWORD) and the action parameters and call the tqsdk library to fetch market data. There are no instructions to read unrelated files, scan the host, or send data to unexpected endpoints. Network calls to tqsdk servers are expected for this purpose.
Install Mechanism
There is no external download/install URL (no high-risk remote fetch). The package includes requirements.txt listing tqsdk and pandas (expected). The skill is packaged with Python code but no explicit install spec — platform may auto-install dependencies. This is reasonable but the packaging omission (no install spec) and included code file imply the environment must supply/allow Python dependency installation.
Credentials
Only TQ_USERNAME and TQ_PASSWORD are needed which is proportional to the skill's purpose. However, the skill metadata does not list these required env vars even though SKILL.md and the code require them; that mismatch reduces clarity and could lead to accidental credential exposure or misconfiguration if a user assumes no sensitive env is needed.
Persistence & Privilege
The skill does not request permanent/global presence (always:false). It does not modify other skills or system configuration. It runs as an invoked handler and uses only its own runtime.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install tqsdk-query
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /tqsdk-query 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
首次发布:用于获取国内期货、期权实时行情、K线序列及历史数据的天勤量化(TqSdk)技能。
元数据
Slug tqsdk-query
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

tqsdk-query 是什么?

天勤量化 - 期货实时行情与历史数据接口,提供国内期货、期权的实时报价、K线序列与历史数据查询。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 82 次。

如何安装 tqsdk-query?

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

tqsdk-query 是免费的吗?

是的,tqsdk-query 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

tqsdk-query 支持哪些平台?

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

谁开发了 tqsdk-query?

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

💬 留言讨论