fubon-trade-api

fubon-trade-api is a skill for Codex from Kelu0427/fubon-tradeapi-ai-skill. It costs 108 tokens per session (1,909 once invoked), scanned A, original, MIT.

A coding guide for Fubon Neo, also called Fubon Securities TradeAPI, a Taiwanese brokerage API for market data, trading, accounts, and related workflows.

In plain words
What is it for?
Use it to install or validate the SDK, write or debug stock, futures, options, conditional-order, and account-query code, or audit larger Fubon API projects.
Why use it?
It helps prevent incorrect API code by directing the agent to official documentation and checking names, parameters, versions, and errors.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to install or validate the SDK, write or debug stock, futures, options, conditional-order, and account-query code, or audit larger Fubon API projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kelu0427/fubon-tradeapi-ai-skill/fubon-tradeapi-ai-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Kelu0427/fubon-tradeapi-ai-skill --skill fubon-tradeapi-ai-skill
Clone the repo
git clone --depth 1 https://github.com/Kelu0427/fubon-tradeapi-ai-skill

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fubon-trade-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/kelu0427/fubon-tradeapi-ai-skill/fubon-tradeapi-ai-skill/github.svg)](https://agentmods.dev/skills/kelu0427/fubon-tradeapi-ai-skill/fubon-tradeapi-ai-skill)
Your own site
<a href="https://agentmods.dev/skills/kelu0427/fubon-tradeapi-ai-skill/fubon-tradeapi-ai-skill"><img src="https://agentmods.dev/badge/skills/kelu0427/fubon-tradeapi-ai-skill/fubon-tradeapi-ai-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fubon-trade-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/kelu0427/fubon-tradeapi-ai-skill/fubon-tradeapi-ai-skill"><img src="https://agentmods.dev/badge/skills/kelu0427/fubon-tradeapi-ai-skill/fubon-tradeapi-ai-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,909 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00108 $0.01909
Opus 5.5 $0.00043 $0.00764
Sonnet 5.5 $0.00022 $0.00382
Haiku 4.5 $0.00011 $0.00191

Measured 2mo ago against content hash 6afa1961c833, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fubon-trade-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/search_docs.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

SKILL.md · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fubon TradeAPI Skill

Use this skill whenever the user asks for help with Fubon Neo, Fubon Securities API, Fubon TradeAPI, 富邦新一代 API, 富邦證券 API, or natural-language-to-code assistance for Fubon market data, trading, account, futures/options, condition-order workflows, or large-project Fubon API audits.

Source Of Truth

  • Official online index: https://www.fbs.com.tw/TradeAPI/llms.txt. Use first for navigation when network is available.
  • Official online full docs: https://www.fbs.com.tw/TradeAPI/llms-full.txt. Use for exact signatures, object fields, examples, constants, version notes, and error codes when network is available.
  • Bundled llms.txt and llms-full.txt: local cache and offline fallback.
  • references/fubon-api-guidance.md: local workflow and recurring gotchas for agents.
  • scripts/search_docs.py: deterministic search/extract/sync helper for official online docs and local cached docs.

Do not invent API names, enum names, parameter order, or object fields. Prefer official online llms-full.txt; if network is unavailable, use the bundled llms-full.txt cache and say it is the local snapshot.

Workflow

  1. Classify the user's intent:
    • SDK setup/version compatibility, local environment checks, and latest SDK installation/update
    • authentication, password login, API Key login, certificate login
    • market data REST
    • market data WebSocket
    • stock trading and stock account queries
    • futures/options trading and account queries
    • smart/conditional orders
    • large-project audit for an existing app/repository using Fubon APIs
    • error handling, reconnect, or rate limit behavior
  2. Determine the target language. If unspecified, default to Python and say that assumption.
  3. Search the docs with scripts/search_docs.py; add --online when current official docs are needed and network is available.
  4. Read the exact matching section(s) from llms-full.txt; prefer official examples in the user's language.
  5. Produce code that includes imports, login/init steps, object construction, API call, response/error handling, and logout/cleanup when relevant.
  6. If reviewing code, check every SDK call, enum, object field, and argument order against llms-full.txt.

Read the full file on GitHub · 123 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 123 lines · 108 tokens per session scan A 6afa1961c833

Subscribe to this mod's changes

fubon-trade-api is a skill published in the GitHub repository Kelu0427/fubon-tradeapi-ai-skill (48 stars, last pushed 4mo ago), licensed MIT. It adds 108 tokens to every session and 1,909 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

x402

Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing…

browser-use/browser-use · 175 tokens

tushare

A Python interface for Tushare, a financial data service that provides market and company information for stocks, funds, futures, and digital assets. It returns queried data as pandas tables.

HKUDS/Vibe-Trading · 79 tokens

stripe-best-practices

Guides Stripe integration decisions across development and test environment planning (separate sandboxes vs the shared test mode sandbox), API selection (Checkout Sessions vs PaymentIntents), Connect platform setup (Accounts v2, controller properties), billing/subscriptions, tax and registrations (Stripe Tax…

stripe/ai · 161 tokens

crypto-market-data-service-guide

Guide to the Crypto Market Data TypeScript service — clean market data APIs for token prices, candles, market cap, and volume across multiple chains. Features caching, rate limiting, fallback sources, and WebSocket subscriptions. Built for production DeFi applications.

nirholas/three.ws · 56 tokens

wechatpay-payment-integration

A Chinese-language guide for WeChat Pay, Tencent's payment service, covering product selection, integration, troubleshooting, and payment operations.

wechatpay-apiv3/wechatpay-skills · 330 tokens

hyperliquid-websocket

Subscribe to live Hyperliquid data over WebSocket from the desk computer - mids, order book, trades, candles, best bid/offer, and per-account fills, order updates and events - with raw JSON, Python SDK and TypeScript examples, plus how to run a supervised watch that logs to a file and alerts. Read-only. Use for…

galleonlabs/hypergrok-trading-desk · 89 tokens