shioaji

Trade Taiwan stocks, futures, and options via a Python API.

276|46|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/nicepkg/ai-workflow --skill shioaji-nicepkg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shioaji
Source: https://github.com/nicepkg/ai-workflow/tree/main/workflows/stock-trader-workflow/.claude/skills/shioaji
Command: npx skills add https://github.com/nicepkg/ai-workflow --skill shioaji-nicepkg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive Python API for interacting with Taiwan's financial markets, enabling users to trade stocks, futures, and options, subscribe to real-time data, manage accounts, and build automated trading systems.

Core Features & Use Cases

  • Trading: Place, modify, and cancel orders for stocks, futures, and options. Supports various order types and conditions, including combo orders for complex strategies.
  • Market Data: Subscribe to real-time tick and bid/ask data, query historical tick and K-bar data, and retrieve market snapshots.
  • Account Management: Query account balances, margin information, positions, profit/loss, and trading limits.
  • Automated Systems: Build sophisticated algorithmic trading strategies by combining market data, order execution, and account monitoring.
  • Use Case: An algorithmic trader can use this Skill to subscribe to real-time futures data, execute pre-defined trading strategies based on technical indicators, and automatically manage their positions and risk.

Quick Start

Use the shioaji skill to log in to the simulation environment with your API key and secret key.

Frequently Asked Questions about shioaji

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an algo trading system for Taiwan stocks and futures?

You can build a Taiwan algo trading system using Python to subscribe to real-time market data, place orders, and manage positions automatically. This API supports stocks, futures, and options for automated strategies.

Can I execute combo orders for Taiwan options trading via Python?

Yes, you can execute combo orders for Taiwan options trading via Python. The API supports advanced order types including combo orders, stop orders, and quote binding to facilitate complex trading strategies.

What do I need to connect to a Taiwan market trading API?

To connect to a Taiwan market trading API, you need your API key, secret key, and a CA certificate for authentication. These credentials are required to verify your identity and authorize trading operations.

How do I retrieve real-time and historical market data for Taiwan stocks?

You retrieve real-time and historical market data for Taiwan stocks by subscribing to real-time tick and bid/ask feeds or querying historical tick and K-bar data. The API also provides instant market snapshots for analysis.

Does Python algorithmic trading support querying account balances and margin limits?

Yes, Python algorithmic trading supports querying account balances and margin limits. The API enables you to retrieve detailed account information including balances, margin data, positions, profit/loss, and trading limits.

What are the limitations of building Taiwan market automated trading systems in Python?

A limitation of building Taiwan market automated trading systems in Python is the strict requirement for valid API keys, secret keys, and CA certificates. Without proper authentication credentials, trading operations cannot execute.