CtrlK
BlogDocsLog inGet started
Tessl Logo

tqsdk-trading-and-data

Explain, implement, or debug TqSdk Python workflows for wait_update or is_changing update loops, market data retrieval, historical download, account type selection, funds or positions or orders or trades, field meanings, order placement or cancellation, target-position tools, TqScenario margin trials, real-account margin-rate lookup, margin or risk-ratio what-if analysis, simulation, backtest, multi-strategy, and common TqSdk errors. Use when a request mentions TqSdk, TqApi, TqAuth, TqAccount, TqKq, TqKqStock, TqSim, TqSimStock, TqMultiAccount, TqTradingUnit, TqBacktest, TqScenario, TargetPosTask, TargetPosScheduler, Twap, DataDownloader, margin rate, margin calculation, risk ratio, scenario trial, market data, K-line, tick, historical data, positions, trades, orders, account data, order placement, cancellation, position adjustment, field meanings, wait_update, debugging, 行情, K线, 历史数据, 保证金率, 保证金, 风险度, 场景试算, 持仓, 成交, 委托, 账户, 下单, 撤单, 调仓, 多策略, 字段含义, or 报错.

72

Quality

89%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Medium

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Quality

Content

78%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured overview that routes requests to real one-level-deep references, names exact APIs and import paths, and includes verification checkpoints. Adding one or two short inline runnable snippets and an explicit validate→fix→retry loop would lift actionability and workflow_clarity to the top anchor.

Suggestions

Include 1-2 minimal inline runnable snippets (e.g., a basic TqApi + wait_update quote loop) so the overview is copy-paste ready, not just reference-pointing.

Make the verification checkpoint an explicit validate→fix→retry loop (e.g., 'If the import/syntax check fails, fix and re-run before continuing') to reach the top workflow_clarity anchor.

Tighten the longest Core Rules by merging near-duplicate TargetPosTask/scheduler clauses, trimming a few tokens without losing the pitfall guidance.

DimensionReasoningScore

Conciseness

Lean body that assumes Claude's competence with no generic 'what is TqSdk' padding; every Core Rule is pitfall-specific. Slight tightening possible in the long enumerated rules, but it is efficient rather than padded.

4 / 5

Actionability

Concrete API names and exact import paths (tqsdk.__init__, tqsdk.tools, tqsdk.algorithm) with specific helper-selection rules. Lacks copy-paste code snippets in the overview itself, delegating examples to the references — mostly executable guidance with a minor gap.

4 / 5

Workflow Clarity

Clear multi-step sequencing (Route The Request First 1-10, Before Writing Code 1-6) with an explicit verification checkpoint ("run the smallest practical verification, such as import checks, syntax checks...") and a credential-safety rule. The fix→retry feedback loop is present but less explicit than the top anchor.

4 / 5

Progressive Disclosure

Clean overview body with well-signaled one-level-deep references; all 10 referenced files in references/ are real and each is introduced with a clear 'Read X for Y' navigation signal, so content is appropriately split and easy to navigate.

5 / 5

Total

17

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A highly specific, comprehensive, bilingual description that explicitly covers what the skill does and when to invoke it. Uses third-person voice and concrete trigger terms; the only minor concern is length/keyword repetition, but it stays precise rather than vague.

DimensionReasoningScore

Specificity

Lists many concrete actions covering wait_update/is_changing loops, market data retrieval, historical download, account-type selection, funds/positions/orders/trades, field meanings, order placement/cancellation, target-position tools, TqScenario margin trials, and error handling — comprehensive rather than generic.

5 / 5

Completeness

Explicitly answers both what ("Explain, implement, or debug TqSdk Python workflows for...") and when ("Use when a request mentions TqSdk, TqApi...") with concrete trigger phrases, including the required 'Use when...' clause.

5 / 5

Trigger Term Quality

Comprehensive coverage of natural terms with both English ("market data", "K-line", "tick", "historical data", "positions", "order placement", "wait_update") and Chinese synonyms ("行情", "K线", "历史数据", "保证金", "持仓", "下单", "撤单") plus concrete API class names as triggers.

5 / 5

Distinctiveness Conflict Risk

Clear TqSdk-specific niche with API-class triggers and bilingual domain terms; unlikely to fire for unrelated skills and minimal overlap risk with other skills.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
shinnytech/tqsdk-python
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.