← Back to Skills Marketplace
Tqsdk Futures Api
by
Tang Weigang
· GitHub ↗
· v0.3.3
· MIT-0
111
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install tqsdk-futures-api
Description
TqSdk 是中国期货市场的实时行情获取与策略回测框架,支持期权定价模型构建和波动率因子分析,可用于网格交易、目标仓位管理等量化场景。。
Usage Guidance
This is an instruction-only finance/backtest skill that appears to expect a Python environment (SKILL.md claims Python 3.12+ and uv) and existing toolkits (zvt, tqsdk, joinquant/other recorders) even though the published manifest lists no required binaries, env vars, or install steps. Before installing or invoking it: (1) Ask the author to clarify and publish exact runtime requirements (Python version, pip/uv commands, required packages and their install sources). (2) Don't provide broker/API credentials (joinquant, qmt, broker tokens) until the skill explicitly requests them and you verify why they are needed. (3) Run the skill in a sandbox/container or ephemeral environment first — it may run pip installs and create/modify ~/.zvt or other data dirs. (4) Review seed.yaml and the referenced precondition/install steps yourself; request a proper install spec or whitelist of commands. (5) If you permit autonomous invocation, limit it until the dependency/installation gaps are resolved. If you want, I can produce a short checklist of specific questions to send to the skill author or a minimal safe sandbox run plan.
Capability Analysis
Type: OpenClaw Skill
Name: tqsdk-futures-api
Version: 0.3.3
The bundle is a highly structured framework for quantitative trading and backtesting using TqSdk and ZVT, specifically targeting the Chinese futures and A-share markets. It contains extensive domain-specific knowledge, including regulatory constraints (e.g., T+1 settlement rules in SHARED-CN-ASTOCK-T1-001), semantic locks to prevent common quant errors like look-ahead bias (SL-02), and a comprehensive list of cross-project anti-patterns (references/ANTI_PATTERNS.md). There is no evidence of malicious intent, data exfiltration, or unauthorized execution; the instructions are strictly aligned with the stated purpose of assisting an AI agent in developing and validating financial strategies.
Capability Tags
Capability Assessment
Purpose & Capability
The SKILL.md and reference files describe a Python-based backtesting/market-data pipeline (TqSdk / ZVT / ZVT-related tooling) and explicitly state a requirement for Python 3.12+ and the 'uv' package manager; however the published skill metadata declares no required binaries, no install steps, and no required environment variables. The name implies a TqSdk futures API but the content mixes TqSdk, ZVT, qlib and other frameworks—this mixing is plausible for a finance blueprint but the manifest omits dependencies that the runtime instructions appear to need.
Instruction Scope
SKILL.md / seed.yaml instruct the agent to re-read seed.yaml, run preconditions that execute python commands, check/install zvt, and touch ZVT_HOME (~/.zvt). Those runtime instructions can run shell/python commands and create files. While this is expected for a backtest helper, the skill does not declare those operations in its manifest and gives the agent broad discretion (reload source files, run precondition commands, run installers referenced by seed.yaml).
Install Mechanism
There is no install spec in the registry (instruction-only), which is lower-risk by itself. However seed.yaml/execution_protocol references install recipes and 'install_trigger' semantics, yet no install recipes are supplied in the manifest—this is an inconsistency (either the install steps are missing from the published package or the seed.yaml was included as a derivative without the actual install mechanism).
Credentials
The skill references external data providers and brokers (eastmoney, joinquant, akshare, qmt) that commonly require API keys/accounts, and preconditions reference ZVT_HOME and running python pip installs. Yet requires.env is empty and no primary credential is declared. The skill may therefore prompt for or attempt to use credentials at runtime without declaring them up-front.
Persistence & Privilege
always:false and model invocation allowed (normal). The SKILL.md instructs writing/creating files under a tool-specific data directory (ZVT_HOME) and running installers if preconditions fail; this is normal for tooling but the absence of declared install steps/permissions makes the intended persistence unclear. No 'always:true' privilege detected.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install tqsdk-futures-api - After installation, invoke the skill by name or use
/tqsdk-futures-api - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.3.3
v0.3.3: bilingual metadata injected. H1 shows TqSdk 期货接口; tagline replaced with skill-specific Chinese hook; tags upgraded to Level 1-4.
v0.3.1
Remove install.sh — knowledge-only bundle. Host AI consumes directly from URL; no user-side installation needed. Fixes ClawHub suspicious flag.
v0.3.0
Doramagic crystal portfolio v0.3.0. Full 5-layer bp-009 standard. github.com/tangweigang-jpg/doramagic-skills
Metadata
Frequently Asked Questions
What is Tqsdk Futures Api?
TqSdk 是中国期货市场的实时行情获取与策略回测框架,支持期权定价模型构建和波动率因子分析,可用于网格交易、目标仓位管理等量化场景。。 It is an AI Agent Skill for Claude Code / OpenClaw, with 111 downloads so far.
How do I install Tqsdk Futures Api?
Run "/install tqsdk-futures-api" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Tqsdk Futures Api free?
Yes, Tqsdk Futures Api is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Tqsdk Futures Api support?
Tqsdk Futures Api is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Tqsdk Futures Api?
It is built and maintained by Tang Weigang (@tangweigang-jpg); the current version is v0.3.3.
More Skills