Shioaji



繁體中文
Shioaji is a trading API provided by Sinopac that offers a comprehensive and user-friendly platform for accessing the Taiwan financial markets. Shioaji is a cross-language, cross-platform universal trading platform — accessible through native Python bindings (import shioaji as sj) or any HTTP-capable language (JavaScript/TypeScript, Go, C/C++, C#, Rust, Java/Kotlin) for trading stocks, futures, options, and combo orders. On the Python side, Shioaji integrates seamlessly with familiar packages such as numpy, scipy, pandas, pytorch, and tensorflow for building custom trading models; on the HTTP side, a built-in OpenAPI interactive document, SSE real-time streaming, and a visual Dashboard provide live monitoring of server status, SSE connections, CA certificates, accounts, and API usage. Whether for traders new to the world of programmatic trading or experienced developers seeking a more powerful platform, Shioaji is built to deliver. Sign up for a free account today and start trading with confidence.
✨ The first Taiwan trading API with AI coding agent skill support — Claude Code & Codex CLI
AI Coding Agent Skills
Shioaji is the first Taiwan trading API with AI coding agent skill support. Get AI-assisted guidance on using the Shioaji API.
Claude Code
claude plugin marketplace add Sinotrade/Shioaji
claude plugin install shioaji
Codex
codex plugin marketplace add Sinotrade/Shioaji
codex plugin add shioaji@sinotrade
Cursor
Install from the Cursor Marketplace after the Shioaji plugin is published, or submit the repository through the Cursor publisher flow for review.
Multi-platform Installers (Cursor, Windsurf, Copilot, Codex, and more)
npx skills add Sinotrade/Shioaji # skills.sh - 18+ agents
npx skillkit install Sinotrade/Shioaji # skillkit - 32+ agents
npx openskills install Sinotrade/Shioaji # openskills - universal
Installation
Expand the section that matches your installation preference.
Python Package
# uv (recommended)
uv add shioaji
# pip
pip install shioaji
To pin a version, lock the release line, for example uv add "shioaji==1.7.*". PyPI keeps only the latest two patch releases of each line. Releases with the same first two version parts never make incompatible changes, so a line pin is always safe to upgrade within.
CLI Tool
uv tool install shioaji
# or only the CLI, on any Python version:
uv tool install shioaji-cli
shioaji --help
The CLI ships in the regular wheels; free-threaded Python 3.14t wheels do not include it, so install the CLI with a regular Python (the uv tool install default).
Standalone Installer
Linux / macOS:
# Stable
curl -fsSL https://github.com/Sinotrade/Shioaji/releases/latest/download/install.sh | sh
# Pre-release
curl -fsSL https://github.com/Sinotrade/Shioaji/releases/latest/download/install.sh | CHANNEL=prerelease sh
# Specific version
curl -fsSL https://github.com/Sinotrade/Shioaji/releases/latest/download/install.sh | VERSION=v1.5.6 sh