skills/skills.volces.com/tqsdk-trading-and-data

tqsdk-trading-and-data

Installation
SKILL.md

TqSdk Trading and Data

Use this skill to answer TqSdk questions with the repository's real APIs, docs, and examples. Prefer minimal runnable snippets, keep futures and stock behavior separate, and explain the update loop explicitly whenever the user's issue depends on wait_update().

Route The Request First

Read only the references needed for the user's question.

  1. Read references/wait-update-and-update-loop.md for wait_update, is_changing, deadline, async update notifications, Jupyter caveats, or backtest progression questions.
  2. Read references/market-data.md for get_quote, get_kline_serial, get_tick_serial, contract discovery, symbol metadata, and DataDownloader.
  3. Read references/account-type-matrix.md for TqAccount, TqKq, TqKqStock, TqSim, TqSimStock, OTG account classes, and TqMultiAccount.
  4. Read references/accounts-and-trading.md for account, position, order, and trade getters plus multi-account getter patterns.
  5. Read references/order-functions-and-position-tools.md for insert_order, cancel_order, TargetPosTask, TargetPosScheduler, and advanced execution helpers.
  6. Read references/object-fields.md when the user asks what fields mean on Quote, K-line or tick rows, Account, Position, Order, Trade, or their stock variants.
  7. Read references/simulation-and-backtest.md for local sim, Quick sim, stock sim, backtest, and cross-account backtest limits.
  8. Read references/error-faq.md when the user asks about common TqSdk failures, confusing behavior, or exception messages.
  9. Read references/example-map.md when you want a repository-backed example or doc page to imitate.

Core Rules

Installs
4
First Seen
Apr 16, 2026
tqsdk-trading-and-data from skills.volces.com