Agent skill

Tiger Brokers OpenAPI Go SDK

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

Apache-2.0Auto-check passedBackend & APIs

Install Tiger Brokers OpenAPI Go SDK

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

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

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

At a glance

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.

  • Writing Go code that queries Tiger Brokers market data
  • 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
  • Placing, modifying or canceling orders through the Tiger OpenAPI

What it does

The skill bundles six reference guides: a quickstart for SDK install, config, client setup, enums and error handling; market data for real-time quotes, K-lines, depth, options and futures; trading for placing, modifying and canceling orders and querying positions and assets; WebSocket push for quotes, orders, positions and assets; account management, including transfers, deposits and withdrawals; and options with chains, expirations, Greeks and multi-leg orders.

Trading involves real money, so generated trading code defaults to a paper trading account and live orders need your confirmation of the order details first. The skill replies in the language you write in, keeps code and API names untranslated and includes a lookup table of common Hong Kong and US ticker symbols. The module is `github.com/tigerfintech/openapi-go-sdk`, which needs Go 1.20 or later.

When your agent uses it

  • Writing Go code that queries Tiger Brokers market data
  • Placing, modifying or canceling orders through the Tiger OpenAPI
  • Subscribing to real-time quote or order pushes
  • Looking up option chains and Greeks

Example prompts

  • “Write a Go program that fetches the latest AAPL quote through the Tiger OpenAPI.”
  • “Place a paper-trading limit order for TSLA with the Tiger Go SDK.”
  • “Subscribe to real-time order updates over the push API in Go.”

Requirements

  • Go 1.20 or later
  • A Tiger Brokers account with OpenAPI access
  • Compatibility (from SKILL.md): Requires Go 1.20+

What it can do on your machine

Read from SKILL.md and the folder at commit 81e79e4. 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 go).

    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 Go 1.20+

    From compatibility in the SKILL.md frontmatter.

Context cost

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

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

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 81e79e4, republished under its Apache-2.0 licence (© qusong0627). 218 words, ~1,098 tokens.

Download SKILL.mdSave it as .claude/skills/tigeropen-go/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
tigeropen-go
description
Tiger 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
compatibility
Requires Go 1.20+
license
Apache-2.0
metadata.author
tigerbrokers
metadata.version
0.5.1
metadata.language
zh_CN, en_US

Tiger Open API Go SDK

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

安全警告 / 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, enums, error handling
  • Market Data — Real-time quotes, K-lines, depth, options, futures
  • Trading — Place/modify/cancel orders, query positions and assets
  • Real-time Push — WebSocket push for quotes, orders, positions, assets
  • Account Management — Account list, assets, positions, fund transfer, deposit/withdrawal
  • Options Trading — Option chain, expirations, Greeks, multi-leg strategies

Quick Start

go
package main

import (
    "fmt"
    "log"

    "github.com/tigerfintech/openapi-go-sdk/client"
    "github.com/tigerfintech/openapi-go-sdk/config"
    "github.com/tigerfintech/openapi-go-sdk/model"
    "github.com/tigerfintech/openapi-go-sdk/quote"
    "github.com/tigerfintech/openapi-go-sdk/trade"
)

func main() {
    // 1. 创建配置 / Create config
    cfg, err := config.NewClientConfig(
        config.WithTigerID("your_tiger_id"),
        config.WithPrivateKey("your_rsa_private_key"),
        config.WithAccount("your_account"),
    )
    if err != nil {
        log.Fatal(err)
    }

    // 2. 创建 HTTP 客户端 / Create HTTP client
    httpClient := client.NewHttpClient(cfg)

    // 3. 查询行情 / Query quotes
    qc := quote.NewQuoteClient(httpClient)
    briefs, err := qc.GetRealTimeQuote(model.BriefRequest{
        Symbols: []string{"AAPL", "TSLA"},
    })
    if err != nil {
        log.Fatal(err)
    }
    for _, b := range briefs {
        fmt.Printf("%s latest=%.2f\n", b.Symbol, b.LatestPrice)
    }

    // 4. 交易操作 / Trading
    tc := trade.NewTradeClient(httpClient, cfg.Account)
    orders, err := tc.Orders(model.OrdersRequest{Limit: 20})
    if err != nil {
        log.Fatal(err)
    }
    fmt.Println("orders:", len(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, 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-go 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 81e79e4

Compare with similar skills

Tiger Brokers OpenAPI Go 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 Go SDK compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tiger Brokers OpenAPI Go SDK this skillqusong0627/QuantMind1.7k—~1.1kAutomated safety check: PassApache-2.0
CCXT Crypto Exchange Library2025Emma/vibe-coding-cn23k1 repos~4.4kAutomated safety check: PassMIT
fp-go HTTP Client PatternsIBM/fp-go2k—~4.4kAutomated safety check: PassApache-2.0
Coingeckosendaifun/skills1301 repos~4.8kAutomated safety check: NotesApache-2.0
TqSdk Trading and Datashinnytech/tqsdk-python5.1k—~2kAutomated safety check: PassApache-2.0
AI-Trader Signal PlatformHKUDS/AI-Trader23k—~8.5kAutomated safety check: PassNone

Similar skills

  • CCXT Crypto Exchange Library

    2025Emma/vibe-coding-cn

    Reference help for the CCXT library covering crypto exchange APIs, market data, trading and order management across 150+ exchanges in JavaScript, Python and PHP.

    23k GitHub starsUsed in 1 repo~4.4k tokens
    Business, Finance & HRAuto-check passed
  • Official

    Shows how to build composable, context-aware HTTP pipelines in Go using fp-go's ReaderIOResult monad instead of raw net/http calls.

    2k GitHub stars~4.4k tokensUpdated today
    Backend & APIsAuto-check passed
  • Coingecko

    sendaifun/skills

    Complete CoinGecko Solana API integration for token prices, DEX pool data, OHLCV charts, trades, and market analytics.

    130 GitHub starsUsed in 1 repo~4.8k tokens
    Backend & APIsAuto-check: notes
  • TqSdk Trading and Data

    shinnytech/tqsdk-python

    Answers TqSdk Python questions on market data, accounts, orders, margin trials, simulation and backtesting, using the library's own docs and examples.

    5.1k GitHub stars~2k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Connects an agent to the AI-Trader platform's API to publish trading signals and follow traders, routing to child skills for copy trading, trade sync and market data.

    23k GitHub stars~8.5k tokensUpdated 4 mo ago
    Business, Finance & HRAuto-check passed
  • CoinGecko API Reference

    2025Emma/vibe-coding-cn

    CoinGecko API documentation - cryptocurrency market data API, price feeds, market cap, volume, historical data. Use when integrating CoinGecko API, building…

    23k GitHub starsUsed in 1 repo~646 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 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

Works with

Questions about Tiger Brokers OpenAPI Go SDK

What does Tiger Brokers OpenAPI Go SDK do?

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. The skill bundles six reference guides: a quickstart for SDK install, config, client setup, enums and error handling; market data for real-time quotes, K-lines, depth, options and futures; trading for placing, modifying and canceling orders and querying positions and assets; WebSocket push for quotes, orders, positions and assets; account management, including transfers, deposits and withdrawals; and options with chains, expirations, Greeks and multi-leg orders.

When should I use Tiger Brokers OpenAPI Go SDK?

Tiger Brokers OpenAPI Go SDK fits situations like: writing Go code that queries Tiger Brokers market data; placing, modifying or canceling orders through the Tiger OpenAPI; subscribing to real-time quote or order pushes; looking up option chains and Greeks.

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

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

How do I install Tiger Brokers OpenAPI Go SDK in Codex?

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

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

What does Tiger Brokers OpenAPI Go SDK need to run?

SKILL.md names no scripts, command-line tools or credentials: Tiger Brokers OpenAPI Go SDK is instructions for the agent only. Our summary lists: Go 1.20 or later; A Tiger Brokers account with OpenAPI access. Compatibility (from SKILL.md): Requires Go 1.20+.

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

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

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

What are the alternatives to Tiger Brokers OpenAPI Go SDK?

Skills that share tags, products or a category with Tiger Brokers OpenAPI Go SDK: CCXT Crypto Exchange Library (2025Emma/vibe-coding-cn, 23k stars), fp-go HTTP Client Patterns (IBM/fp-go, 2k stars), Coingecko (sendaifun/skills, 130 stars) and TqSdk Trading and Data (shinnytech/tqsdk-python, 5.1k 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 Go SDK?

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