$npx skillfedfor your agent

shioaji

Shioaji — cross-language, cross-platform universal trading API. Native Python bindings, HTTP API with SSE streaming, standalone CLI, and a visual dashboard.

With conditionsPyPI Python ModulesReleased Aug 2026158.2K downloads / moPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — shioaji-1.7.2-cp314-cp314t-macosx_10_15_x86_64.whl · shioaji-1.7.2-cp314-cp314t-macosx_11_0_arm64.whl · shioaji-1.7.2-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
v1.7.2 · released 2026-08-06 · Python >=3.7

Yes, with conditions. Shioaji is actively maintained and production-stable for accessing Taiwan's financial markets via Python, HTTP, or CLI. Install it if you have a Sinopac trading account and need programmatic access to stocks, futures, or options. However, verify the license terms first—the metadata does not declare an SPDX license, so confirm it aligns with your use case before committing to production. Medium install friction is acceptable for a compiled trading library.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a Sinopac trading account with API credentials and a CA certificate file (Sinopac.pfx) to authenticate and activate trading.
  • Medium install friction due to compiled wheels for multiple platforms and Python versions (3.7–3.14).
  • Package is actively maintained with releases on a 14-day cycle; last release was 8 days ago and the repository shows recent activity.

License · maintenance · safety

(unclear) — License treatment is unclear—no SPDX identifier or raw license text is available in the metadata. Verify the actual license terms before use, particularly if integrating into proprietary or commercial systems.

last release 2026-08-06 (8 days) · last repo commit 2026-08-13 · 505 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 158,201 downloads/mo, #10,730 on PyPI

Verify before relying

import shioaji as sj

api = sj.Shioaji()
accounts = api.login(api_key="YOUR_KEY", secret_key="YOUR_SECRET")
api.activate_ca(ca_path="/path/to/Sinopac.pfx", ca_passwd="YOUR_CA_PASSWORD")
contract = api.Contracts.Stocks["2330"]
api.subscribe(contract, quote_type="tick")
  • Whether the unclear license permits commercial or proprietary use without restrictions.
  • Whether the HTTP server mode and cross-language support are production-ready or still experimental.
  • Performance characteristics and latency guarantees for real-time streaming and order execution.
Same gist for agents: .md · .json

What it is and what it does

Shioaji is a trading platform API maintained by Sinopac that connects Python developers to Taiwan's financial markets. It provides three entry points: native Python bindings (import shioaji), a built-in HTTP server with OpenAPI documentation and SSE streaming, and a CLI tool for server management and direct trading commands. The package handles authentication via API keys and CA certificates, then exposes market data subscriptions, contract lookups, and order placement across stocks, futures, options, and combo orders.

The package is designed for both novice traders and experienced developers. It integrates with standard Python data-science libraries (numpy, scipy, pandas, pytorch, tensorflow) for building custom trading models, and its HTTP API makes it accessible from any language (JavaScript, Go, C#, Java, Rust, C/C++). A visual dashboard provides live monitoring of server status, SSE connections, accounts, and API usage. The project is actively maintained on a 14-day release cycle and supports Python 3.7 through 3.14 across macOS, Linux, and Windows.

Use it for

  • Build a Python trading bot that subscribes to real-time tick data for Taiwan stocks and executes orders based on custom signals.
  • Use the HTTP API from a Node.js or Go application to access Taiwan market data and place orders without native Python bindings.
  • Monitor live trading activity and server health through the built-in dashboard while managing multiple accounts and API connections.
  • Develop a machine-learning model in PyTorch or TensorFlow that ingests Shioaji market data and generates trading recommendations.
  • Integrate Shioaji into a web app uploaded to the dashboard for a self-contained trading interface with live data and order placement.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

Shioaji is actively maintained and production-stable for accessing Taiwan's financial markets via Python, HTTP, or CLI. Install it if you have a Sinopac trading account and need programmatic access to stocks, futures, or options. However, verify the license terms first—the metadata does not declare an SPDX license, so confirm it aligns with your use case before committing to production. Medium install friction is acceptable for a compiled trading library.

Install

shioaji on PyPI

Before you install

Medium install friction due to compiled wheels for multiple platforms and Python versions (3.7–3.14). Package is actively maintained with releases on a 14-day cycle; last release was 8 days ago and the repository shows recent activity.

Requires a Sinopac trading account with API credentials and a CA certificate file (Sinopac.pfx) to authenticate and activate trading.

License in practice

License treatment is unclear—no SPDX identifier or raw license text is available in the metadata. Verify the actual license terms before use, particularly if integrating into proprietary or commercial systems.

Quickstart

import shioaji as sj

api = sj.Shioaji()
accounts = api.login(api_key="YOUR_KEY", secret_key="YOUR_SECRET")
api.activate_ca(ca_path="/path/to/Sinopac.pfx", ca_passwd="YOUR_CA_PASSWORD")
contract = api.Contracts.Stocks["2330"]
api.subscribe(contract, quote_type="tick")

Verify before relying

  • Whether the unclear license permits commercial or proprietary use without restrictions.
  • Whether the HTTP server mode and cross-language support are production-ready or still experimental.
  • Performance characteristics and latency guarantees for real-time streaming and order execution.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.7
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 8 days since the last release
Last repo commit
First released
Downloads158,201 / month, #10,730 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Financial and Insurance IndustryNatural Language :: Chinese (Traditional)Natural Language :: EnglishOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: RustTopic :: Office/Business :: Financial :: InvestmentTopic :: Software Development :: Libraries :: Python Modules

Evidence: shioaji-1.7.2-cp314-cp314t-macosx_10_15_x86_64.whl; shioaji-1.7.2-cp314-cp314t-macosx_11_0_arm64.whl; shioaji-1.7.2-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; shioaji-1.7.2-cp314-cp314t-manylinux_2_28_aarch64.whl; shioaji-1.7.2-cp37-abi3-macosx_10_15_x86_64.whl; shioaji-1.7.2-cp37-abi3-macosx_11_0_arm64.whl; shioaji-1.7.2-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; shioaji-1.7.2-cp37-abi3-manylinux_2_28_aarch64.whl; shioaji-1.7.2-cp37-abi3-win_amd64.whl

Tags

Capabilities
taiwan stock trading apipython trading platformreal-time market data streamingfutures and options tradingsinopac trading apiprogrammatic order placementcross-language trading api
Topics
trading-apitaiwan-marketsreal-time-streaming
PyPI keywords
apifuturesoptionspythonrustshioajisinopacsinotradestockstaiwantrading

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “futures and options trading”

  • shioajiShioaji is a trading API for Taiwan's financial markets that provides…
  • akshareAKShare fetches financial market data (stocks, options, futures,…
  • openbb-derivativesProvides derivatives market data and analytics through the OpenBB…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also python-binance · robin-stocks · openbb · tdxpy · growwapi · alpaca-py · ib_async · smartapi-python · dhanhq · mootdx