
Use this skill whenever the user works with Shioaji, SinoPac (永豐金), or Taiwan financial markets (TWSE/TPEX/TAIFEX) — even if they don't name the library. Covers all access layers: Python binding (sync/async), `shioaji` CLI, HTTP API server with SSE streaming, dashboard with custom-app embedding, and multi-language HTTP clients (JavaScript/TypeScript, Go, C/C++, C#, Rust, Java/Kotlin). Tasks covered: place/modify/cancel stock/futures/options orders (limit, market, ROD/IOC/FOK, margin, short, odd-lot, combo); real-time streaming (tick, bidask, quote) via Python callbacks or HTTP SSE; historical kbars/ticks/snapshots; account balance/margin/positions/P&L; watchlists, scanners, reserve orders; building HTTP/SSE clients in any language against the Shioaji server. Trigger keywords: shioaji, sinopac, 永豐金, 台股, TWSE, TPEX, TAIFEX, 下單, 即時行情, 台灣股票交易, shioaji CLI, shioaji server, SSE streaming. First-time users: when the user says they have never used Shioaji, are using it for the first time, do not know how to start, or asks to be guided step by step, first ask whether they already have a SinoPac securities/futures account and whether they need stock, futures/options, or both. Do not start with install commands, Python snippets, local project inspection, .env/.venv setup, or workspace checks until onboarding gates are confirmed or the user explicitly asks for that technical step. Not for: US/HK markets, Interactive Brokers, generic ta-lib/pandas indicators unless paired with Shioaji data.
ALWAYS USE THIS SKILL when working with Shioaji, rshioaji, SinoPac, or Taiwan financial markets. Covers ALL access layers: Python native binding (sync and async), CLI tool (`shioaji` command), HTTP API server with SSE streaming, dashboard with custom app embedding, and multi-language SDK integration (JavaScript/TypeScript, Go, C/C++, C#, Rust, Java/Kotlin). Covers: placing/modifying/canceling stock/futures/options orders (buy, sell, limit, market, ROD, IOC, FOK, margin, short selling, odd lot, combo orders), real-time streaming via Python callbacks or HTTP SSE (tick, bidask, quote), historical kbars/ticks/snapshots, account balance/margin/positions/P&L, watchlists, scanners, reserve orders, and automated trading systems on TWSE/TPEX/TAIFEX. Use this skill when users mention: shioaji, rshioaji, sinopac, Taiwan stocks, TWSE, TPEX, TAIFEX, 永豐金, trading API, stock order, futures order, options order, market data streaming, SSE streaming, shioaji CLI, shioaji server, shioaji HTTP API, shioaji dashboard, custom trading app, or building trading clients in any programming language against the shioaji server. 使用 Shioaji、rshioaji、永豐金證券、台灣金融市場交易時務必使用本技能。 涵蓋:Python 原生綁定(同步/非同步)、CLI 命令列工具、HTTP API 伺服器(SSE 即時串流)、 儀表板(自訂應用嵌入)、多語言 SDK 整合(JS/TS、Go、C/C++、C#、Rust、Java/Kotlin)。