neoapi-python
Installation
SKILL.md
NeoAPI Python
Overview
本 skill 教導 AI 編程代理使用 Fubon Neo Python SDK 進行台股證券交易與行情資料存取。適用 Python 3.12–3.13、SDK >= 2.x(避免 3.14)。預設 SDK ~2.2.7,除非使用者另外指定。
TL;DR — 三大工作流程:
- 登入 →
sdk.login(ID, PWD, cert, cert_pwd)取得帳號清單- 下單 → 建構
Order(...)→sdk.stock.place_order(acc, order)- 行情 →
sdk.init_realtime()→sdk.marketdata.rest_client.stock.intraday.*
Shioaji migration routing
When the user asks to migrate or port existing Shioaji code, keep the tone practical and neutral: help them translate working code safely; do not frame the answer as a broker comparison. Load references/migration-shioaji.md first, then add the narrow reference below when needed.