Agent skill

Tiger Brokers OpenAPI SDK

by qusong0627 in 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.

Apache-2.0Auto-check passedBusiness, Finance & HR

Install Tiger Brokers OpenAPI SDK

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

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

GitHub CLI
$ gh skill install qusong0627/QuantMind tigeropen --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 .claude/skills/tigeropen && 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
GitHub stars
1.7k
Token cost
~1.4k tokens
SKILL.md length
347 words
Files
8 (incl. references)
Skills in repo
27
Repo updated
First seen
Licence
Apache-2.0

At a glance

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.

  • Setting up the tigeropen SDK and authenticating against your developer account
  • SKILL.md covers Language Rules / 语言规则, Reference Guides, Quick Start and When to Use Each Reference, plus 1 more section
  • Calls pip
  • Querying quotes, K-lines or option chains from Tiger Brokers

What it does

The skill is organized as seven reference guides the agent loads by task: quickstart (install, authentication, client setup, error codes), market data (quotes, K-lines, depth, ticks, capital flow, scanner), trading (market, limit, stop and algorithmic orders, positions, assets, transfers), options (chains, Greeks, multi-leg combinations), real-time push through PushClient, the tigeropen command-line tool with table, JSON or CSV output, and an MCP server that exposes the API as tools for editors such as Cursor and Claude Code.

Because trading uses real money, generated code defaults to a paper account unless you explicitly ask for live trading. Before any live place_order call the agent calls preview_order to show estimated fees, lays out the order in a table, and stops until you confirm; it never submits automatically. It replies in the language you write in, English or Chinese, and keeps code and API names unchanged. It requires Python 3.8 or newer, pip and a Tiger Brokers developer account.

When your agent uses it

  • Setting up the tigeropen SDK and authenticating against your developer account
  • Querying quotes, K-lines or option chains from Tiger Brokers
  • Building a trading script that previews orders before sending them
  • Exposing the Tiger API to an AI editor as MCP tools

Example prompts

  • “Set up the tigeropen SDK and authenticate with my developer account.”
  • “Pull daily K-lines for AAPL for the last month.”
  • “Write a script that previews a limit order in the paper account and shows the fees before sending.”
  • “Expose the Tiger API as MCP tools for Claude Code.”

Requirements

  • Python 3.8 or newer and pip
  • A Tiger Brokers developer account
  • Compatibility (from SKILL.md): Requires Python 3.8+, pip, and a Tiger Brokers developer account

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:

    • pip

    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
    • github.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 Python 3.8+, pip, and a Tiger Brokers developer account

    From compatibility in the SKILL.md frontmatter.

Context cost

Tiger Brokers OpenAPI SDK loads about 1.4k tokens when it runs, and up to ~45k if it reads all its reference files. Until then it costs about 193 tokens; SKILL.md has 347 words of instructions outside code blocks.

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

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 Apache-2.0 licence (© qusong0627). 347 words, ~1,373 tokens.

Download SKILL.mdSave it as .claude/skills/tigeropen/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
tigeropen
description
Tiger Brokers OpenAPI Python SDK — complete skills for AI coding tools. Covers SDK setup, market data queries, stock/futures/options trading, real-time push subscriptions, CLI command-line tool, and MCP server integration. Use when building trading applications, querying market data, placing orders, using the tigeropen CLI, or integrating Tiger Brokers API with AI editors. 老虎证券 OpenAPI Python SDK 完整技能集。涵盖 SDK 配置、行情查询、股票/期货/期权交易、实时推送订阅、CLI 命令行工具、MCP Server 集成。适用于构建交易应用、查询行情数据、下单交易、使用 tigeropen CLI、或将老虎 API 集成到 AI 编辑器。 用户提到以下关键词时自动使用 / Auto-activate on these keywords: 行情、报价、价格、K线、快照、买卖盘、深度、买入、卖出、下单、撤单、改单、交易、持仓、资金、账户、订单、委托、期权、期权链、到期日、期货、推送、订阅、选股、筛选、tigeropen、tiger API、quote、price、K-line、order、buy、sell、trade、position、asset、account、option、future、push、scanner
compatibility
Requires Python 3.8+, pip, and a Tiger Brokers developer account
license
Apache-2.0
metadata.author
tigerbrokers
metadata.version
3.7.1
metadata.language
zh_CN, en_US

Tiger Open API Python SDK

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

安全警告 / Safety Warning: 交易涉及真实资金。生成交易代码时默认使用模拟账户(Paper Trading),除非用户明确要求实盘。实盘下单前必须:1) 调用 preview_order() 展示预估佣金;2) 以表格展示订单详情;3) 停止并等待用户明确确认后才能调用 place_order()。 Trading involves real money. Default to Paper Trading unless the user explicitly requests live trading. Before any live place_order() call: 1) call preview_order() and show estimated fees, 2) display order details in a table, 3) stop and wait for explicit user confirmation — never auto-submit.

Language Rules / 语言规则

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

Reference Guides

This skill is organized into focused reference files. Load the relevant guide based on your task:

  • Quickstart — SDK install, authentication, client setup, enums/objects, error codes, FAQ
  • Market Data — Real-time quotes, K-lines, depth, ticks, capital flow, fundamentals, scanner
  • Trading — Place orders (market/limit/stop/algo), order management, assets, positions, fund transfers
  • Options — Option chains, Greeks, single-leg/multi-leg combos, option calculator
  • Real-time Push — Subscribe to quote/depth/tick/K-line/order/position/asset changes via PushClient
  • CLI Tool — Command-line interface: config, quote, trade, account, push commands with table/json/csv output
  • MCP Server — Expose Tiger API as MCP tools for Cursor, Claude Code, Kiro, Trae

Quick Start

python
from tigeropen.common.consts import Language, Market
from tigeropen.tiger_open_config import TigerOpenClientConfig
from tigeropen.common.util.signature_utils import read_private_key
from tigeropen.quote.quote_client import QuoteClient
from tigeropen.trade.trade_client import TradeClient

# 1. Configure / 配置
# 方式一:配置文件(推荐) / Method 1: Config file (recommended)
config = TigerOpenClientConfig(props_path='/path/to/your/config/')

# 方式二:代码赋值 / Method 2: Code assignment
# config = TigerOpenClientConfig()
# config.tiger_id = 'your_tiger_id'
# config.private_key = read_private_key('/path/to/your_private_key.pem')
# config.account = 'your_account'
# config.language = Language.en_US

# 2. Query quotes / 查询行情
quote_client = QuoteClient(config)
quote = quote_client.get_market_status(Market.US)

# 3. Place order / 下单
trade_client = TradeClient(config)
# See references/trade.md for order examples

When to Use Each Reference

TaskReference
First time setup, SDK install, auth configquickstart.md
Get stock/option/future quotes, K-lines, screenerquote.md
Place/modify/cancel orders, check positions/assetstrade.md
Option chains, Greeks, combo strategiesoption.md
Real-time streaming data via WebSocketpush.md
CLI commands: query data, manage orders from terminalcli.md
Set up MCP Server for AI editor integrationmcp.md

Common Symbols / 常见标的速查

当用户使用中文名称或英文简称时,按下表映射。不在表中的标的根据上下文判断。 Map user's natural language to symbols. For unlisted symbols, infer from context.

港股 HK
常见称呼代码 Symbol
腾讯00700
阿里巴巴、阿里09988
美团03690
小米01810
京东09618
比亚迪01211
快手01024
百度09888
网易09999
中芯国际00981
MINIMAX00100
智谱02513
美股 US
常见称呼代码 Symbol
苹果 / AppleAAPL
特斯拉 / TeslaTSLA
英伟达 / NVIDIANVDA
微软 / MicrosoftMSFT
谷歌 / GoogleGOOGL
亚马逊 / AmazonAMZN
MetaMETA
台积电 / TSMTSM
AMDAMD
老虎证券 / Tiger / TIGRTIGR
阿里巴巴(美股)/ BABABABA
京东(美股)/ JDJD
拼多多 / PDDPDD
标普500 ETF / SPYSPY
纳指 ETF / QQQQQQ

© qusong0627, Apache-2.0. 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 7 other files (references) in skills/tigeropen of qusong0627/QuantMind.

  • SKILL.md
  • references/cli.md
  • references/mcp.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 OpenAPI 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 OpenAPI SDK compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tiger Brokers OpenAPI SDK this skillqusong0627/QuantMind1.7k—~1.4kAutomated safety check: PassApache-2.0
Polymarket Tennislivetennisapi/livetennisapi-mcp152—~3kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT
Tradingview MCPatilaahmettaner/tradingview-mcp5k—~1.3kAutomated safety check: PassMIT
Openbb Data Fetchermonarchjuno/vibe-investing299—~2.9kAutomated safety check: NotesMIT

Similar skills

  • 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 3 days ago
    Business, Finance & HRAuto-check passed
  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-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
  • Tradingview MCP

    atilaahmettaner/tradingview-mcp

    AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and…

    5k GitHub stars~1.3k tokensUpdated 2 days ago
    Business, Finance & HRAuto-check passed
  • Openbb Data Fetcher

    monarchjuno/vibe-investing

    Fetch financial, market, economic, fundamental, news, options, crypto, ETF, index, and macro data through the OpenBB Python interface instead of the OpenBB MCP server.

    299 GitHub stars~2.9k tokensUpdated 5 mo ago
    Data & AnalyticsAuto-check: notes
  • 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

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 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
  • Tiger Brokers OpenAPI Go SDK

    qusong0627/QuantMind

    Reference guides for building Go trading apps on the Tiger Brokers OpenAPI: SDK setup, market data, stock, futures and options orders, accounts and push streams.

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

Questions about Tiger Brokers OpenAPI SDK

What does Tiger Brokers OpenAPI SDK do?

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. The skill is organized as seven reference guides the agent loads by task: quickstart (install, authentication, client setup, error codes), market data (quotes, K-lines, depth, ticks, capital flow, scanner), trading (market, limit, stop and algorithmic orders, positions, assets, transfers), options (chains, Greeks, multi-leg combinations), real-time push through PushClient, the tigeropen command-line tool with table, JSON or CSV output, and an MCP server that exposes the API as tools for editors such as Cursor and Claude Code.

When should I use Tiger Brokers OpenAPI SDK?

Tiger Brokers OpenAPI SDK fits situations like: setting up the tigeropen SDK and authenticating against your developer account; querying quotes, K-lines or option chains from Tiger Brokers; building a trading script that previews orders before sending them; exposing the Tiger API to an AI editor as MCP tools.

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

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

How do I install Tiger Brokers OpenAPI SDK in Codex?

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

Can I use Tiger Brokers OpenAPI 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 -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, .gemini/skills/tigeropen, .github/skills/tigeropen and .opencode/skills/tigeropen in your project.

What does Tiger Brokers OpenAPI SDK need to run?

Going by SKILL.md and its folder, Tiger Brokers OpenAPI SDK needs the command-line tools its instructions call (pip). Our summary lists: Python 3.8 or newer and pip; A Tiger Brokers developer account. Compatibility (from SKILL.md): Requires Python 3.8+, pip, and a Tiger Brokers developer account.

Does Tiger Brokers OpenAPI SDK access the network?

SKILL.md names 2 domains. As links in the text: docs.itigerup.com and github.com. This is read from the text; nothing was executed.

Is Tiger Brokers OpenAPI 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 OpenAPI SDK use?

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

How many tokens does Tiger Brokers OpenAPI SDK use?

About 1.4k tokens (SKILL.md is roughly 5.5k 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 44k tokens, read only when the agent opens those files.

What are the alternatives to Tiger Brokers OpenAPI SDK?

Skills that share tags, products or a category with Tiger Brokers OpenAPI SDK: Polymarket Tennis (livetennisapi/livetennisapi-mcp, 152 stars), MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars) and Tradingview MCP (atilaahmettaner/tradingview-mcp, 5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tiger Brokers OpenAPI 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.