Agent skill

Tiger Brokers TypeScript SDK

by qusong0627 in qusong0627/QuantMind

Reference skill for the Tiger Brokers OpenAPI TypeScript SDK: setup, market data, trading, account queries, options and real-time push subscriptions.

MITAuto-check passedBusiness, Finance & HR

Install Tiger Brokers TypeScript SDK

skills CLI
$ npx skills add qusong0627/QuantMind --skill tigeropen-typescript -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install qusong0627/QuantMind tigeropen-typescript --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/qusong0627/QuantMind.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/tigeropen-typescript .claude/skills/tigeropen-typescript && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tigeropen-typescript
GitHub stars
1.7k
Token cost
~939 tokens
SKILL.md length
215 words
Files
7 (incl. references)
Skills in repo
27
Repo updated
First seen
Licence
MIT

At a glance

Reference skill for the Tiger Brokers OpenAPI TypeScript SDK: setup, market data, trading, account queries, options and real-time push subscriptions.

  • Building a TypeScript trading application on the Tiger Brokers OpenAPI
  • SKILL.md covers Language Rules / 语言规则, Reference Guides, Quick Start and When to Use Each Reference, plus 1 more section
  • Calls npm
  • Querying quotes, K-lines or option chains from Tiger Brokers

What it does

This skill equips an agent to write TypeScript or Node.js code against the Tiger Brokers OpenAPI SDK, installed from npm as @tigeropenapi/tigeropen. It needs Node.js 16 or newer and works with ESM and CommonJS. A quick start shows creating a client config and an HTTP client, and six reference files cover quickstart and error handling, market data, trading, real-time push, account management and options.

Market data covers quotes, K-lines, depth, options and futures. Trading covers placing, modifying and cancelling orders and reading positions and assets, and the account guide adds fund transfers, deposits and withdrawals. Push subscriptions run over WebSocket for quotes, orders and positions. A safety warning says trading involves real money, so generated trading code defaults to a paper trading account and the agent must confirm order details before any live order. A short table of common Hong Kong and US ticker symbols is included, and replies follow the user's language.

When your agent uses it

  • Building a TypeScript trading application on the Tiger Brokers OpenAPI
  • Querying quotes, K-lines or option chains from Tiger Brokers
  • Subscribing to real-time quote or order pushes
  • Writing order placement code that defaults to paper trading

Example prompts

  • “Write a Node.js script that fetches daily K-lines for AAPL with the Tiger Brokers SDK.”
  • “Subscribe to real-time quotes for TSLA over the Tiger push WebSocket.”
  • “Show me how to place a limit order in a paper trading account with tigeropen.”
  • “List my positions and account assets with the TypeScript SDK.”

Requirements

  • Node.js 16 or newer
  • The @tigeropenapi/tigeropen package
  • A Tiger Brokers developer account and API credentials
  • Compatibility (from SKILL.md): Requires Node.js 16+, supports ESM and CommonJS

What it can do on your machine

Read from SKILL.md and the folder at commit 2e93d9a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.itigerup.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires Node.js 16+, supports ESM and CommonJS

    From compatibility in the SKILL.md frontmatter.

Context cost

Tiger Brokers TypeScript SDK loads about 939 tokens when it runs, and up to ~13k if it reads all its reference files. Until then it costs about 156 tokens; SKILL.md has 215 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~156
When it runs · the whole SKILL.md, loaded when a task matches
~939
With references · SKILL.md plus every file in references/, read only if the agent opens them
~13k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from qusong0627/QuantMind at commit 2e93d9a, republished under its MIT licence (© qusong0627). 215 words, ~939 tokens.

Download SKILL.mdSave it as .claude/skills/tigeropen-typescript/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
tigeropen-typescript
description
Tiger Brokers OpenAPI TypeScript SDK — complete skills for AI coding tools. Covers SDK setup, market data queries, trading, and real-time push subscriptions. Use when building trading applications in TypeScript/Node.js, querying market data, placing orders, or integrating Tiger Brokers API. 老虎证券 OpenAPI TypeScript SDK 完整技能集。涵盖 SDK 配置、行情查询、交易、实时推送订阅。适用于用 TypeScript/Node.js 构建交易应用、查询行情数据、下单交易。 用户提到以下关键词时自动使用 / Auto-activate on these keywords: 行情、报价、K线、买入、卖出、下单、撤单、交易、持仓、资金、账户、订单、期权、期货、推送、订阅、TypeScript SDK、tigeropen typescript、quote、price、K-line、order、buy、sell、trade、position、asset、option、future、push
compatibility
Requires Node.js 16+, supports ESM and CommonJS
license
MIT
metadata.author
tigerbrokers
metadata.version
0.5.4
metadata.language
zh_CN, en_US

Tiger Open API TypeScript SDK

老虎量化开放平台 TypeScript SDK 完整技能集 / Complete AI skill set for Tiger Brokers OpenAPI (TypeScript)

安全警告 / Safety Warning: 交易涉及真实资金。生成交易代码时默认使用模拟账户,除非用户明确要求实盘。实盘下单前必须与用户确认订单详情。 Trading involves real money. Default to Paper Trading when generating trading code. Always confirm order details before live orders.

Language Rules / 语言规则

根据用户输入语言自动回复。技术术语(代码、API 名称、参数名)保持原文不翻译。 Reply in the user's language. Keep technical terms (code, API names, parameters) as-is.

Reference Guides

  • Quickstart — SDK install, config, client setup, error handling
  • Market Data — Real-time quotes, K-lines, depth, options, futures
  • Trading — Place/modify/cancel orders, positions, assets
  • Real-time Push — WebSocket push for quotes, orders, positions
  • Account Management — Account list, assets, positions, fund transfer, deposit/withdrawal
  • Options Trading — Option chain, expirations, Greeks, multi-leg strategies

Quick Start

typescript
import {
  createClientConfig,
  HttpClient,
  QuoteClient,
  TradeClient,
} from '@tigeropenapi/tigeropen';

// 1. 创建配置 / Create config
const config = createClientConfig({
  tigerId: 'your_tiger_id',
  privateKey: 'your_rsa_private_key',
  account: 'your_account',
});

// 2. 查询行情 / Query quotes(注意:接收请求对象,不是数组)
const httpClient = new HttpClient(config);
const qc = new QuoteClient(httpClient);
const quotes = await qc.getBrief({ symbols: ['AAPL', 'TSLA'] });
console.log(quotes);

// 3. 交易操作 / Trading
const tc = new TradeClient(httpClient, config.account);
const orders = await tc.getOrders({ limit: 20 });
console.log(orders);

When to Use Each Reference

TaskReference
First time setup, SDK install, auth configquickstart.md
Get stock/option/future quotes, K-linesquote.md
Place/modify/cancel orders, check positions/assetstrade.md
Real-time streaming data via WebSocketpush.md
Account info, assets, fund transfer, deposit/withdrawalaccount.md
Option chain, Greeks, expirations, multi-leg ordersoption.md

Common Symbols / 常见标的速查

港股 HK
常见称呼代码 Symbol
腾讯00700
阿里巴巴09988
美团03690
小米01810
美股 US
常见称呼代码 Symbol
苹果 / AppleAAPL
特斯拉 / TeslaTSLA
英伟达 / NVIDIANVDA
微软 / MicrosoftMSFT
谷歌 / GoogleGOOGL
亚马逊 / AmazonAMZN
MetaMETA
老虎证券 / TIGRTIGR
标普500 ETF / SPYSPY
纳指 ETF / QQQQQQ

© qusong0627, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (references) in skills/tigeropen-typescript of qusong0627/QuantMind.

  • SKILL.md
  • references/account.md
  • references/option.md
  • references/push.md
  • references/quickstart.md
  • references/quote.md
  • references/trade.md

Open the folder on GitHubat commit 2e93d9a

Compare with similar skills

Tiger Brokers TypeScript SDK next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Tiger Brokers TypeScript SDK compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tiger Brokers TypeScript SDK this skillqusong0627/QuantMind1.7k—~939Automated safety check: PassMIT
Okx Sentiment Trackerdex-original/okx-agent-trade-kit1101 repos~3.8kAutomated safety check: PassMIT
starknet.js SDK Referenceinternet-court/internet-court-skill6.5k1 repos~3.5kAutomated safety check: NotesApache-2.0
Web3 PolymarketPolymarket/agent-skills1911 repos~2kAutomated safety check: PassNone
Polymarket Tennislivetennisapi/livetennisapi-mcp152—~3kAutomated safety check: PassMIT
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • Okx Sentiment Tracker

    dex-original/okx-agent-trade-kit

    A skill your agent uses when the user asks about: 'any crypto news', 'latest news', 'market update', 'daily briefing', 'BTC news', 'ETH news', 'news on SOL', 'search SEC ETF', 'regulation news'…

    110 GitHub starsUsed in 1 repo~3.8k tokens
    Business, Finance & HRAuto-check passed
  • starknet.js SDK Reference

    internet-court/internet-court-skill

    Reference for building Starknet apps with starknet.js v9: providers, accounts, contract calls, fee estimation, wallet integration and paymaster flows.

    6.5k GitHub starsUsed in 1 repo~3.5k tokens
    Backend & APIsAuto-check: notes
  • Web3 Polymarket

    Polymarket/agent-skills

    Polymarket integration for prediction market trading on Polygon.

    191 GitHub starsUsed in 1 repo~2k tokens
    Backend & APIsAuto-check passed
  • Polymarket Tennis

    livetennisapi/livetennisapi-mcp

    Build observe-only Polymarket and Kalshi tennis market tooling on the polymarket-tennis Python package (MIT) plus the Live Tennis API free tier.

    152 GitHub stars~3k tokensUpdated 2 days ago
    Business, Finance & HRAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Okx Cex Market

    dex-original/okx-agent-trade-kit

    A skill your agent uses when the user asks for: price of any asset, ticker, order book, candles, OHLCV, funding rate, open interest, OI change scanner, market screener (top movers, high-volume…

    110 GitHub starsUsed in 1 repo~2.7k tokens
    Business, Finance & HRAuto-check passed

More from qusong0627/QuantMind

All 27 skills in this repo
  • A-Share Daily Review

    qusong0627/QuantMind

    Produces a post-market review report for the China A-share market from local QuantDB data, news sentiment and model signals, ending in a next-day direction call.

    1.7k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Queries Futu quotes, options, fundamentals and accounts and places orders through the Futu OpenAPI Python SDK, defaulting to simulated trading.

    1.7k GitHub stars~3.3k tokensUpdated today
    Auto-check: notes
  • Turns a plain-language model training request into a validated QuantMind training config file that can be imported from the Model Training page.

    1.7k GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Tiger Brokers OpenAPI SDK

    qusong0627/QuantMind

    Covers the Tiger Brokers OpenAPI Python SDK for market data, stock, futures and options trading, push subscriptions, a CLI and an MCP server, defaulting to paper trading.

    1.7k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Tiger Brokers C++ OpenAPI SDK

    qusong0627/QuantMind

    Guides an agent through the Tiger Brokers OpenAPI C++ SDK for build setup, market data, orders and real-time push, defaulting to paper trading.

    1.7k GitHub stars~942 tokensUpdated today
    Auto-check passed
  • Tiger Brokers OpenAPI C# SDK

    qusong0627/QuantMind

    Guides building C# and .NET apps on the Tiger Brokers OpenAPI SDK: setup, market data, orders, accounts, options and real-time push, defaulting to paper trading.

    1.7k GitHub stars~1k tokensUpdated today
    Auto-check passed

Questions about Tiger Brokers TypeScript SDK

What does Tiger Brokers TypeScript SDK do?

Reference skill for the Tiger Brokers OpenAPI TypeScript SDK: setup, market data, trading, account queries, options and real-time push subscriptions. js code against the Tiger Brokers OpenAPI SDK, installed from npm as @tigeropenapi/tigeropen.js 16 or newer and works with ESM and CommonJS.

When should I use Tiger Brokers TypeScript SDK?

Tiger Brokers TypeScript SDK fits situations like: building a TypeScript trading application on the Tiger Brokers OpenAPI; querying quotes, K-lines or option chains from Tiger Brokers; subscribing to real-time quote or order pushes; writing order placement code that defaults to paper trading.

How do I install Tiger Brokers TypeScript SDK in Claude Code?

Run `npx skills add qusong0627/QuantMind --skill tigeropen-typescript -a claude-code`. Or copy the skill folder (skills/tigeropen-typescript in qusong0627/QuantMind) into .claude/skills/tigeropen-typescript in your project. Claude Code loads it when a task matches its description.

How do I install Tiger Brokers TypeScript SDK in Codex?

Run `npx skills add qusong0627/QuantMind --skill tigeropen-typescript -a codex`. Or copy the skill folder (skills/tigeropen-typescript in qusong0627/QuantMind) into .agents/skills/tigeropen-typescript in your project. Codex loads it when a task matches its description.

Can I use Tiger Brokers TypeScript SDK in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add qusong0627/QuantMind --skill tigeropen-typescript -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tigeropen-typescript, .gemini/skills/tigeropen-typescript, .github/skills/tigeropen-typescript and .opencode/skills/tigeropen-typescript in your project.

What does Tiger Brokers TypeScript SDK need to run?

Going by SKILL.md and its folder, Tiger Brokers TypeScript SDK needs the command-line tools its instructions call (npm). Our summary lists: Node.js 16 or newer; The @tigeropenapi/tigeropen package; A Tiger Brokers developer account and API credentials. Compatibility (from SKILL.md): Requires Node.js 16+, supports ESM and CommonJS.

Does Tiger Brokers TypeScript SDK access the network?

SKILL.md names 1 domain. As links in the text: docs.itigerup.com. This is read from the text; nothing was executed.

Is Tiger Brokers TypeScript SDK safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Tiger Brokers TypeScript SDK use?

Tiger Brokers TypeScript SDK is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Tiger Brokers TypeScript SDK use?

About 939 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 12k tokens, read only when the agent opens those files.

What are the alternatives to Tiger Brokers TypeScript SDK?

Skills that share tags, products or a category with Tiger Brokers TypeScript SDK: Okx Sentiment Tracker (dex-original/okx-agent-trade-kit, 110 stars), starknet.js SDK Reference (internet-court/internet-court-skill, 6.5k stars), Web3 Polymarket (Polymarket/agent-skills, 191 stars) and Polymarket Tennis (livetennisapi/livetennisapi-mcp, 152 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tiger Brokers TypeScript SDK?

qusong0627 (a GitHub user) maintains it in qusong0627/QuantMind, which has 1,723 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on October 9, 2026.

Source: qusong0627/QuantMind on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.