Agent skill

Tiger Brokers OpenAPI C# SDK

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

Apache-2.0Auto-check passedBackend & APIs

Install Tiger Brokers OpenAPI C# SDK

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

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

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

At a glance

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.

  • Building a trading application in C# on the Tiger Brokers API
  • SKILL.md covers Language Rules / 语言规则, Reference Guides, Quick Start and When to Use Each Reference, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Querying quotes, K-lines or option chains from a .NET program

What it does

A set of reference guides for the Tiger Brokers OpenAPI SDK in C#. The quickstart covers NuGet install, configuration, client creation and error handling. Further guides cover market data (real-time quotes, K-lines, depth, options and futures), trading (placing, modifying and canceling orders, positions and assets), real-time push over TCP or WebSocket, account management including fund transfer and deposits or withdrawals, and options with chains, expirations, Greeks and multi-leg strategies. A table maps each kind of task to the right guide, and a symbol cheat sheet lists common Hong Kong and US tickers.

A safety warning is built in: trading involves real money, so generated trading code should default to a paper account unless you explicitly ask for live trading, and order details must be confirmed with you before any live order. The agent replies in your language and leaves code, API names and parameters untranslated. The skill targets .NET 10.0 (net10.0) with C# 14 and is written in both English and Chinese.

When your agent uses it

  • Building a trading application in C# on the Tiger Brokers API
  • Querying quotes, K-lines or option chains from a .NET program
  • Writing order placement code that starts on a paper account
  • Subscribing to real-time quote, order or position pushes

Example prompts

  • “Set up the Tiger Brokers SDK in my .NET project and fetch a quote for AAPL.”
  • “Write C# code that places a limit order on a paper account and checks the position.”
  • “Subscribe to real-time quote pushes for Tencent and print each update.”
  • “Show how to pull an option chain with expirations and Greeks.”

Requirements

  • .NET 10.0 (net10.0) with C# 14
  • Tiger Brokers OpenAPI authentication details
  • Compatibility (from SKILL.md): Requires .NET 10.0 (net10.0), C# 14 default

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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are csharp).

    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):

    • quant.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 .NET 10.0 (net10.0), C# 14 default

    From compatibility in the SKILL.md frontmatter.

Context cost

Tiger Brokers OpenAPI C# SDK loads about 1k tokens when it runs, and up to ~17k if it reads all its reference files. Until then it costs about 152 tokens; SKILL.md has 217 words of instructions outside code blocks.

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

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). 217 words, ~1,026 tokens.

Download SKILL.mdSave it as .claude/skills/tigeropen-csharp/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
tigeropen-csharp
description
Tiger 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
compatibility
Requires .NET 10.0 (net10.0), C# 14 default
license
Apache-2.0
metadata.author
tigerbrokers
metadata.version
1.2.3
metadata.language
zh_CN, en_US

Tiger Open API C# SDK

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

安全警告 / 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 — NuGet install, config, client creation, error handling
  • Market Data — Real-time quotes, K-lines, depth, options, futures
  • Trading — Place/modify/cancel orders, positions, assets
  • Real-time Push — TCP/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

csharp
using TigerOpenAPI.Config;
using TigerOpenAPI.Common.Enum;
using TigerOpenAPI.Quote;
using TigerOpenAPI.Quote.Model;
using TigerOpenAPI.Trade;

// 1. 创建配置 / Create config
TigerConfig config = new TigerConfig()
{
    ConfigFilePath = "path/to/config/",
    Language = Language.en_US,
};

// 2. 查询行情 / Query quotes
QuoteClient quoteClient = new QuoteClient(config);
var request = new TigerRequest<QuoteRealTimeQuoteResponse>()
{
    ApiMethodName = QuoteApiService.QUOTE_REAL_TIME,
    ModelValue = new QuoteSymbolModel() { Symbols = new List<string> { "AAPL", "TSLA" } }
};
var response = await quoteClient.ExecuteAsync(request);

// 3. 查询订单 / Query orders
TradeClient tradeClient = new TradeClient(config);
var orderRequest = new TigerRequest<OrderBatchResponse>()
{
    ApiMethodName = TradeApiService.ORDERS,
    ModelValue = new QueryOrderModel() { Account = config.DefaultAccount }
};
var orderResponse = await tradeClient.ExecuteAsync(orderRequest);

When to Use Each Reference

TaskReference
First time setup, NuGet 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 TCP socketpush.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, 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 6 other files (references) in skills/tigeropen-csharp 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 OpenAPI C# 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 C# SDK compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tiger Brokers OpenAPI C# SDK this skillqusong0627/QuantMind1.7k—~1kAutomated safety check: PassApache-2.0
DisCatSharp Discord DevelopmentAiko-IT-Systems/DisCatSharp140—~1.2kAutomated safety check: PassMIT
Web3 PolymarketPolymarket/agent-skills1912 repos~2kAutomated safety check: PassNone
Cryptofeed2025Emma/vibe-coding-cn23k1 repos~1.6kAutomated safety check: PassMIT
Polymarket2025Emma/vibe-coding-cn23k1 repos~1.6kAutomated safety check: PassMIT
Stock Indicators Dotnetfacioquo/stock-indicators-dotnet1.2k—~669Automated safety check: PassApache-2.0

Similar skills

  • DisCatSharp Discord Development

    Aiko-IT-Systems/DisCatSharp

    Helps build, explain and troubleshoot C# Discord apps on DisCatSharp, answering from the project's installed version and the library's documentation rather than guesses.

    140 GitHub stars~1.2k tokensUpdated 3 days ago
    Backend & APIsAuto-check passed
  • Web3 Polymarket

    Polymarket/agent-skills

    Polymarket integration for prediction market trading on Polygon.

    191 GitHub starsUsed in 2 repos~2k tokens
    Backend & APIsAuto-check passed
  • Cryptofeed

    2025Emma/vibe-coding-cn

    Cryptofeed - Real-time cryptocurrency market data feeds from 40+ exchanges.

    23k GitHub starsUsed in 1 repo~1.6k tokens
    Backend & APIsAuto-check passed
  • Polymarket

    2025Emma/vibe-coding-cn

    Comprehensive Polymarket skill covering prediction markets, API, trading, market data, and real-time WebSocket data streaming.

    23k GitHub starsUsed in 1 repo~1.6k tokens
    Backend & APIsAuto-check passed
  • Stock Indicators Dotnet

    facioquo/stock-indicators-dotnet

    Calculate technical analysis indicators (SMA, EMA, RSI, MACD, Bollinger Bands, and dozens more) from OHLCV price bars in C with the FacioQuo.Stock.Indicators v3 NuGet package.

    1.2k GitHub stars~669 tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Finance

    jjyaoao/HelloAgents

    Comprehensive Finance API integration skill for real-time and historical financial data analysis, market research, and investment decision-making.

    3.2k GitHub starsUsed in 1 repo~602 tokens
    Backend & APIsAuto-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 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

Works with

Questions about Tiger Brokers OpenAPI C# SDK

What does Tiger Brokers OpenAPI C# SDK do?

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. A set of reference guides for the Tiger Brokers OpenAPI SDK in C#. The quickstart covers NuGet install, configuration, client creation and error handling.

When should I use Tiger Brokers OpenAPI C# SDK?

Tiger Brokers OpenAPI C# SDK fits situations like: building a trading application in C# on the Tiger Brokers API; querying quotes, K-lines or option chains from a .NET program; writing order placement code that starts on a paper account; subscribing to real-time quote, order or position pushes.

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

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

How do I install Tiger Brokers OpenAPI C# SDK in Codex?

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

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

What does Tiger Brokers OpenAPI C# SDK need to run?

SKILL.md names no scripts, command-line tools or credentials: Tiger Brokers OpenAPI C# SDK is instructions for the agent only. Our summary lists: .NET 10.0 (net10.0) with C# 14; Tiger Brokers OpenAPI authentication details. Compatibility (from SKILL.md): Requires .NET 10.0 (net10.0), C# 14 default.

Does Tiger Brokers OpenAPI C# SDK access the network?

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

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

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

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

What are the alternatives to Tiger Brokers OpenAPI C# SDK?

Skills that share tags, products or a category with Tiger Brokers OpenAPI C# SDK: DisCatSharp Discord Development (Aiko-IT-Systems/DisCatSharp, 140 stars), Web3 Polymarket (Polymarket/agent-skills, 191 stars), Cryptofeed (2025Emma/vibe-coding-cn, 23k stars) and Polymarket (2025Emma/vibe-coding-cn, 23k 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 C# SDK?

qusong0627 (a GitHub user) maintains it in qusong0627/QuantMind, which has 1,717 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on October 8, 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.