Skip to content
cccskills
FreePublished on GitHub

tb-doc-index

Use when locating TBQ3 documentation, function references, examples, or source docs under docs without loading the full corpus; supports rg-based search and curated topic/function indexes.

The English summary is being prepared. Showing the original description.

Run score Not tested

See how to install

Files included (3)

  • SKILL.md1.4 KB
  • references/function-index.md4.2 KB
  • references/topic-index.md3.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

TBQ3 文档索引

本 skill 用于在 docs 中定位资料。默认使用 rg 精确搜索,避免把 1000+ 篇文档全部放入上下文。

检索流程

  1. 先读 references/topic-index.md 判断是否已有主题入口。
  2. 查函数时读 references/function-index.md。
  3. 如果索引没有覆盖,用 rg -n "关键词" docs -g '*.md' 搜索。
  4. 只打开最相关的 1-3 篇原文;长文档先用 rg -n 定位小节。
  5. 回答或生成代码时,优先引用已查证的函数和文档路径。

常用搜索词

  • Bar 策略:策略代码说明|MarketPosition|BuyToCover|BarsSinceEntry
  • 止盈止损:止盈|止损|AvgEntryPrice|MinMove|PriceScale
  • 资金手数:固定资金|固定保证金|ContractUnit|BigPointValue|MarginRatio
  • 事件驱动:OnReady|OnBar|OnOrder|OnPosition|SubscribeBar|Timer
  • 委托交易:发单|撤单|委托|持仓|成交|A_SendOrder
  • 跨周期多品种:跨周期|多品种|数据源|套利
  • Plot:Plot|画板|线型|ICON|颜色|表格

使用边界

索引是入口,不是最终依据。涉及交易函数签名、枚举值、事件参数、结构体字段时,应打开原文确认。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Use after installing tradeblazer_skills to collect user preferences for TBQ3/TB language work, including task focus, strategy type, document output location, and review expectations.

The English summary is being prepared. Showing the original description.

itsadrianxv/tradeblazer_skills8Updated May 8, 2026

Use when generating, modifying, explaining, or reviewing TBQ3 Bar-based trading strategies with OnBar, OnInit, OnReady, entries, exits, MarketPosition, stop profit/loss, sizing, slippage, commission, multi-symbol, or cross-period logic.

The English summary is being prepared. Showing the original description.

itsadrianxv/tradeblazer_skills8Updated May 8, 2026

Use when working with TBQ3 or TB language code, including strategy generation, syntax questions, trading functions, Bar strategies, event-driven trading, Plot drawing, examples, or TB-specific code review.

The English summary is being prepared. Showing the original description.

itsadrianxv/tradeblazer_skills8Updated May 8, 2026

Use when reviewing, debugging, or improving TBQ3/TB language code for trading correctness, Bar strategy behavior, order direction, position state, sizing, costs, backtest realism, event timing, multi-symbol logic, or function documentation consistency.

The English summary is being prepared. Showing the original description.

itsadrianxv/tradeblazer_skills8Updated May 8, 2026

Use when explaining or writing TBQ3 language syntax, including Params, Vars, Events, data types, variables, sequence variables, arrays, Map variables, control flow, operators, assignment, functions, and formula execution rules.

The English summary is being prepared. Showing the original description.

itsadrianxv/tradeblazer_skills8Updated May 8, 2026

See all skills by itsadrianxv

Report a problem with this skill