/tigeropen:tigeropenfrom tigeropen
Complete reference for Tiger Brokers OpenAPI Python SDK: SDK setup, market data queries, stock/futures/options trading, real-time push subscriptions, CLI tool, and MCP server integration. Includes safety rules for paper trading.
Ships in tigeropen. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
老虎量化开放平台 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 liveplace_order()call: 1) callpreview_order()and show estimated fees, 2) display order details in a table, 3) stop and wait for explicit user confirmation — never auto-submit.
pip install tigeropen | Python 3.8 - 3.14根据用户输入语言自动回复。用户使用英文提问则用英文回复,使用中文提问则用中文回复。技术术语(代码、API 名称、参数名)保持原文不翻译。 Reply in the user's language. Keep technical terms (code, API names, parameters) as-is.
This skill is organized into focused reference files. Load the relevant guide based on your task:
个人用户优先使用 OAuth2:必须通过同一个 SDK OAuth2SessionManager 显式完成授权,再将 OAuth2 authentication 附加到客户端配置。tigeropen auth login 仅授权 CLI 业务命令;CLI 使用独立的 cli OAuth 客户端和凭据,不能授权下面默认 sdk-python manager。OAuth2 模式不使用 tiger_id 或 RSA 私钥。机构 / Agency、TBHK 专有两步验证和既有 RSA 用户请使用 quickstart 中的 RSA 配置。
For individual users, prefer OAuth2: explicitly authorize the same SDK OAuth2SessionManager before attaching OAuth2 authentication to the client config. tigeropen auth login authorizes CLI business commands only; the CLI has a separate cli OAuth client and credentials, so it cannot authorize the default sdk-python manager below. OAuth2 mode does not use tiger_id or an RSA private key. Organizations / Agency, TBHK proprietary two-factor authentication, and existing RSA users should use the RSA setup in quickstart.
from tigeropen.auth.oauth2 import OAuth2Authentication, OAuth2SessionManager
from tigeropen.common.consts import Market
from tigeropen.tiger_open_config import TigerOpenClientConfig
from tigeropen.quote.quote_client import QuoteClient
from tigeropen.trade.trade_client import TradeClient
# 1. Authorize this SDK session explicitly (loopback + PKCE) /
# 显式授权当前 SDK 会话(loopback + PKCE)
sessions = OAuth2SessionManager()
sessions.login_if_needed(lambda url: print("Open the authorization URL:", url))
# 2. Attach the authorized session / 附加已授权会话
config = TigerOpenClientConfig()
config.authentication = OAuth2Authentication(sessions)
# 3. Query quotes / 查询行情
quote_client = QuoteClient(config)
quote = quote_client.get_market_status(Market.US)
# 4. Place order / 下单
trade_client = TradeClient(config)
# See references/trade.md for order examples
| Task | Reference |
|---|---|
| First time setup, SDK install, auth config | quickstart.md |
| Get stock/option/future quotes, K-lines, screener | quote.md |
| Place/modify/cancel orders, check positions/assets | trade.md |
| Option chains, Greeks, combo strategies | option.md |
| Real-time streaming data via WebSocket | push.md |
| CLI commands: query data, manage orders from terminal | cli.md |
| Set up MCP Server for AI editor integration | mcp.md |
当用户使用中文名称或英文简称时,按下表映射。不在表中的标的根据上下文判断。 Map user's natural language to symbols. For unlisted symbols, infer from context.
| 常见称呼 | 代码 Symbol |
|---|---|
| 腾讯 | 00700 |
| 阿里巴巴、阿里 | 09988 |
| 美团 | 03690 |
| 小米 | 01810 |
| 京东 | 09618 |
| 比亚迪 | 01211 |
| 快手 | 01024 |
| 百度 | 09888 |
| 网易 | 09999 |
| 中芯国际 | 00981 |
| MINIMAX | 00100 |
| 智谱 | 02513 |
| 常见称呼 | 代码 Symbol |
|---|---|
| 苹果 / Apple | AAPL |
| 特斯拉 / Tesla | TSLA |
| 英伟达 / NVIDIA | NVDA |
| 微软 / Microsoft | MSFT |
| 谷歌 / Google | GOOGL |
| 亚马逊 / Amazon | AMZN |
| Meta | META |
| 台积电 / TSM | TSM |
| AMD | AMD |
| 老虎证券 / Tiger / TIGR | TIGR |
| 阿里巴巴(美股)/ BABA | BABA |
| 京东(美股)/ JD | JD |
| 拼多多 / PDD | PDD |
| 标普500 ETF / SPY | SPY |
| 纳指 ETF / QQQ | QQQ |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (tigerfintech/tigeropen-skill) — no native marketplace selected
npx claudepluginhub p/tigerfintech-tigeropen7 skills in this plugin
/tigeropen-cppTiger Brokers OpenAPI C++ SDK — complete skills for AI coding tools. Covers SDK build setup, market data queries, trading, and real-time push subscriptions. Use when building trading applications in C++, querying market data, placing orders, or integrating Tiger Brokers API.
老虎证券 OpenAPI C++ SDK 完整技能集。涵盖 SDK 编译配置、行情查询、交易、实时推送订阅。适用于用 C++ 构建交易应用、查询行情数据、下单交易。
用户提到以下关键词时自动使用 / Auto-activate on these keywords: 行情、报价、K线、买入、卖出、下单、撤单、交易、持仓、资金、账户、订单、期权、期货、推送、订阅、C++ SDK、tigeropen cpp、openapi cpp、quote、price、K-line、order、buy、sell、trade、position、asset、option、future、push
/tigeropen-csharpTiger Brokers OpenAPI C# 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 C#/.NET, querying market data, placing orders, or integrating Tiger Brokers API.
老虎证券 OpenAPI C# SDK 完整技能集。涵盖 SDK 配置、行情查询、交易、实时推送订阅。适用于用 C#/.NET 构建交易应用、查询行情数据、下单交易。
用户提到以下关键词时自动使用 / Auto-activate on these keywords: 行情、报价、K线、买入、卖出、下单、撤单、交易、持仓、资金、账户、订单、期权、期货、推送、订阅、C# SDK、csharp SDK、dotnet SDK、tigeropen csharp、openapi csharp、quote、price、K-line、order、buy、sell、trade、position、asset、option、future、push
/tigeropen-goTiger Brokers OpenAPI Go SDK — complete skills for AI coding tools. Covers SDK setup, market data queries, stock/futures/options trading, real-time push subscriptions, and raw API calls. Use when building trading applications in Go, querying market data, placing orders, or integrating Tiger Brokers API.
老虎证券 OpenAPI Go SDK 完整技能集。涵盖 SDK 配置、行情查询、股票/期货/期权交易、实时推送订阅。适用于用 Go 语言构建交易应用、查询行情数据、下单交易。
用户提到以下关键词时自动使用 / Auto-activate on these keywords: 行情、报价、价格、K线、快照、买卖盘、深度、买入、卖出、下单、撤单、改单、交易、持仓、资金、账户、订单、委托、期权、期货、推送、订阅、Go SDK、golang、tigeropen go、quote、price、K-line、order、buy、sell、trade、position、asset、account、option、future、push
Other plugins' skills for the same job