← Back to Skills Marketplace
gaingush

tqsdk-query

by gaingush · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
82
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install tqsdk-query
Description
天勤量化 - 期货实时行情与历史数据接口,提供国内期货、期权的实时报价、K线序列与历史数据查询。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install tqsdk-query
  3. After installation, invoke the skill by name or use /tqsdk-query
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
首次发布:用于获取国内期货、期权实时行情、K线序列及历史数据的天勤量化(TqSdk)技能。
Metadata
Slug tqsdk-query
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is tqsdk-query?

天勤量化 - 期货实时行情与历史数据接口,提供国内期货、期权的实时报价、K线序列与历史数据查询。 It is an AI Agent Skill for Claude Code / OpenClaw, with 82 downloads so far.

How do I install tqsdk-query?

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

Is tqsdk-query free?

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

Which platforms does tqsdk-query support?

tqsdk-query is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created tqsdk-query?

It is built and maintained by gaingush (@gaingush); the current version is v1.0.0.

💬 Comments