FD qmt-knowledge-skill
QMT(迅投极速策略交易系统)智能编程助手。提供QMT API查询、策略代码生成、回测/实盘配置指导、行情/交易函数用法、枚举常量/数据结构查档、常见问题排查。当用户明确请求QMT相关的API查询、策略代码生成或问题排查时调用本Skill;不主动介入非QMT上下文。
QMT(迅投极速策略交易系统)智能编程助手。提供QMT API查询、策略代码生成、回测/实盘配置指导、行情/交易函数用法、枚举常量/数据结构查档、常见问题排查。当用户明确请求QMT相关的API查询、策略代码生成或问题排查时调用本Skill;不主动介入非QMT上下文。
As a process D 46/100 · Unfinished process — weak spots: result and completion, when it triggers, inputs and preconditions
What is at stake
The skill contains fragments that, in the wrong hands, cost money or data. Below: what the installer risks and what the author should do.
The files contain invisible characters, encoded commands or comments hidden from readers but visible to the model. What you read differs from what the agent sees.
Remove invisible characters (they usually sneak in through copy-paste) and encoded strings: no catalog will pass them. Instructions for the model must be readable by a human too.
How to improve
- Address the high-severity findings: each costs 18 safety points. If one is a false positive, add the rule id to guard.allow in spec.yaml.
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 20
-
high Obfuscation
uni-zero-widthknowledge/04-示例与FAQ/常见问题.md:68Zero-width / invisible characters (possible hidden text) (8 occurrences)␀ 新增环境变量:我的电脑--属性--高级系统设置--高级--环境变量---path:C:\\Python36;C:\\Python36\\Scripts
Medium and low: 19
-
medium Obfuscation
obf-hex-escape-chainknowledge/01-入门/QMT新人上手教程.md:236Escaped/char-code string obfuscation参考链接:[`download_history_data`的使用方法](https://dict.thinktrader.net/innerApi/data_function.html#download-history-data-%E4%B8%8B%E8%BD%BD%E6%8C%87%E5%AE%9A%E5%90%88%E7%BA%A6%E4%BB%A3%E7%A0%81%E6%8C%87%E5%
-
medium Obfuscation
obf-hex-escape-chainknowledge/01-入门/变量约定.md:74Escaped/char-code string obfuscation仅支持回测模式下交易,`期货主力连续合约`为量价数据的简单拼接,未做平滑处理,如`rb00.SF`螺纹钢主连合约,其他\[主连合约代码请参考\]([期货数据 | 迅投知识库 (thinktrader.net)](https://dict.thinktrader.net/dictionary/future.html#%E4%B8%BB%E5%8A%9B%E8%BF%9E%E7%BB%AD%E5%90
-
medium Obfuscation
obf-hex-escape-chainknowledge/01-入门/快速开始.md:61Escaped/char-code string obfuscation- QMT 系统也支持立即下单的交易模式,`passorder`函数的**快速交易**`quicktrade`参数填 `2`,可以在运行后立刻发出委托,不对信号进行等待,丢弃的操作。此时需要用普通的全局变量(如自定义一个`Class a()`)保存委托状态,不能存在`ContextInfo`的属性里。参见[使用快速交易参数委托](https://dict.thinktrader.net/inn
-
medium Obfuscation
obf-hex-escape-chainknowledge/01-入门/迅投研新手指南.md:179Escaped/char-code string obfuscation参考链接:[`download_history_data`的使用方法](https://dict.thinktrader.net/innerApi/data_function.html#download-history-data-%E4%B8%8B%E8%BD%BD%E6%8C%87%E5%AE%9A%E5%90%88%E7%BA%A6%E4%BB%A3%E7%A0%81%E6%8C%87%E5%
-
medium Obfuscation
obf-hex-escape-chainknowledge/02-API/交易函数.md:269Escaped/char-code string obfuscation| smartAlgoType | str | 智能算法类型 \[[enum\_constants#smartAlgoType智能算法类型](https://dict.thinktrader.net/innerApi/enum_constants.html#enum-eordertype-%E7%AE%97%E6%B3%95%E4%BA%A4%E6%98%93%E3%80%81%E6%99%AE%
-
medium Obfuscation
obf-hex-escape-chainknowledge/02-API/交易函数.md:1009Escaped/char-code string obfuscation> 注:由于字段m\_dSloRatio、m\_dSloStatus提供来源和取担保品明细([get\_assure\_contract](https://dict.thinktrader.net/innerApi/innerApi/trading_function.html#get-assure-contract-%E8%8E%B7%E5%8F%96%E4%B8%A4%E8%9E%8D%E6%8
-
medium Obfuscation
obf-hex-escape-chainknowledge/02-API/交易函数.md:1067Escaped/char-code string obfuscation> 2. 该函数必须配合credit\_account\_callback回调才能使用,关于此回调的说明请看[credit\_account\_callback](https://dict.thinktrader.net/innerApi/callback_function.html?id=…
-
medium Obfuscation
obf-hex-escape-chainknowledge/02-API/交易函数.md:1119Escaped/char-code string obfuscation> 2. 该函数必须配合credit\_opvolume\_callback回调才能使用,关于此回调的说明请看[credit\_account\_callback](https://dict.thinktrader.net/innerApi/callback_function.html?id=…
-
medium Obfuscation
obf-hex-escape-chainknowledge/02-API/行情函数.md:563Escaped/char-code string obfuscation> 3. VIP用户权限请参考[vip-行情用户优势对比](https://dict.thinktrader.net/dictionary/#vip-%E8%A1%8C%E6%83%85%E7%94%A8%E6%88%B7%E4%BC%98%E5%8A%BF%E5%AF%B9%E6%AF%94)
-
medium Obfuscation
obf-hex-escape-chainknowledge/02-API/行情函数.md:580Escaped/char-code string obfuscation订阅行情数据,关于订阅机制请参考[运行机制对比](https://dict.thinktrader.net/innerApi/start_now.html#%E4%B8%89%E3%80%81%E8%BF%90%E8%A1%8C%E6%9C%BA%E5%88%B6%E5%AF%B9%E6%AF%94)
-
medium Obfuscation
obf-hex-escape-chainknowledge/02-API/行情函数.md:1484Escaped/char-code string obfuscation> 本函数用于仅用于获取本地历史行情数据,使用前请确保已通过[download\_history\_data](https://dict.thinktrader.net/innerApi/data_function.html#download-history-data-%E4%B8%8B%E8%BD%BD%E6%8C%87%E5%AE%9A%E5%90%88%E7%BA%A6%E4%BB%A3%E
-
medium Obfuscation
obf-hex-escape-chainknowledge/03-数据与枚举/数据结构.md:788Escaped/char-code string obfuscation| m\_eOrderType | enum | 算法交易、普通交易 [EOrderType类型, 见EOrderType说明](https://dict.thinktrader.net/innerApi/enum_constants.html#enum-eordertype-%E7%AE%97%E6%B3%95%E4%BA%A4%E6%98%93%E3%80%81%E6%99%AE%E9%80%
-
medium Obfuscation
obf-hex-escape-chainknowledge/04-示例与FAQ/完整示例.md:32Escaped/char-code string obfuscation> 1. K线全推需要[VIP权限](http://dict.thinktrader.net/dictionary/?id=…),非VIP用户请勿使用此功能
-
low Secrets in code
secret-high-entropy-tokenknowledge/01-入门/界面操作.md:157High-entropy token-like string (may be an id, hash or a credential)当选择的运行位置为副图时,**回调示例** 见[query\_credit\_account](https://dict.thinktrader.net/innerApi/code_examples.html?id=…)
demo -
low Obfuscation
obf-hex-escape-chainknowledge/02-API/成交回报实时主推函数.md:301Escaped/char-code string obfuscation (detector / deny-list definition)- orderArgs:[下单参数](https://dict.thinktrader.net/innerApi/data_structure.html#passorderarguments-%E4%B8%8B%E5%8D%95%E5%87%BD%E6%95%B0%E5%8F%82%E6%95%B0%E5%AF%B9%E8%B1%A1)
detector -
low Obfuscation
obf-hex-escape-chainknowledge/02-API/成交回报实时主推函数.md:372Escaped/char-code string obfuscation (security demo / example)**示例** 见[query\_credit\_opvolume](#query_credit_opvolume---%E6%9F%A5%E8%AF%A2%E4%B8%A4%E8%9E%8D%E6%9C%80%E5%A4%A7%E5%8F%AF%E4%B8%8B%E5%8D%95%E9%87%8F%60)
demo -
low Secrets in code
secret-high-entropy-tokenknowledge/02-API/系统函数.md:54High-entropy token-like string (may be an id, hash or a credential)系统会在`init`函数执行完后和执行`handlebar`之前调用`after_init`, 有些`init`里不支持的函数比如[ContextInfo.get\_trading\_dates](https://dict.thinktrader.net/pages/fd9cbd/#_23-%E8%8E%B7%E5%8F%96%E6%8C%87%E5%AE%9A%E4%B8%AA%E8%82%A1
-
low Secrets in code
secret-high-entropy-tokenknowledge/04-示例与FAQ/常见问题.md:80High-entropy token-like string (may be an id, hash or a credential)
Process rating: all ten parameters 46/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Failures and branches. Linear process with no failure handling
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 60Tools and files. Uses tools (web, python) that frontmatter does not declare
- 100Steps. 26 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 2273 tokens
- 100Running it twice. No mutating operations
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- +2Single-language instructions
- +3Description length 133: enough signal without eating the budget
- +4Structure: 29 headings
- +3Step-by-step instructions: 26 items
- +4Has examples (3 code blocks)
- +1License stated
Quality base 70; lint remarks subtract, signals add up to 100. Result: 73.