This repository provides the neoapi-python skill for Fubon Neo API workflows.
本檔作為多代理入口(OpenClaw / generic agents)。
實際規則與內容以 skills/neoapi-python/ 內檔案為準。
skills/neoapi-python/SKILL.mdskills/neoapi-python/references/doc-index.mdskills/neoapi-python/references/test-environment.mdskills/neoapi-python/references/examples-guidance.mdskills/neoapi-python/references/skill-tests.mdskills/neoapi-python/references/response-shapes.md
- Chinese-first responses; English as supplement for API terms and enums.
- Prefer online LLM docs endpoints; use bundled
llms*.txtonly when offline/unavailable. - For test-environment order limits, use
sdk.stock.query_symbol_quote. intraday.tickeris for limit-up/limit-down in market data;intraday.quoteis trade-oriented.- In
get_order_results, status30means canceled order and can remain visible.
優先使用公開 URL 為主要來源,bundled 檔案作為離線 fallback:
- Public:
- Bundled (offline):
llms.txt/llms-full.txtllms.en.txt/llms-full.en.txt
使用 llms.txt 做導覽,llms-full.txt 查精確參數與範例。
- Source of Truth: 主要文件
llms-full.txt為繁體中文。 - 回覆風格:
- 使用者用中文提問 → 中文回覆,程式碼註解用英文。
- 使用者用英文提問 → 英文回覆,括號補充中文術語(e.g., "ROD (當日有效)")。
- 術語對照:
- Limit Order: 限價 (LMT)
- Market Order: 市價 (MKT)
- ROD: 當日有效
- IOC: 立即成交否則取消
- FOK: 全部成交否則取消
- Margin Trading: 融資
- Short Selling: 融券
- Day Trade: 當沖
When skills/neoapi-python/ changes, update this adapter and CLAUDE.md / GEMINI.md in the same commit.