stock-order-api

Integrate Fubon Neo stock trading into REST and WebSocket APIs.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/13g7895123/littile-bao --skill stock-order-api
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stock-order-api
Source: https://github.com/13g7895123/littile-bao/tree/main/.github/skills/stock-order-api
Command: npx skills add https://github.com/13g7895123/littile-bao --skill stock-order-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of building a reliable integration for placing stock orders, querying accounts, and consuming real-time quotes from Fubon Neo without manually wiring SDK login, REST endpoints, WebSocket subscriptions, and audit logging.

Core Features & Use Cases

  • Unified REST API for Trading Workflows: Exposes authentication, account queries, and order management endpoints for programmatic trading operations.
  • Real-time WebSocket Quotes Service: Provides a quotes streaming interface with subscription controls across trade and book channels, supporting operational modes and reconnect behavior.
  • Production-grade Audit Logging with SQLite: Persists trading events and order/fill records for traceability, debugging, and compliance-oriented review.
  • Use Case: Integrate an automated strategy service that issues limit orders, listens to fills and order-state changes in real time, and feeds dashboard metrics from the resulting data streams.

Quick Start

Use the stock-order-api skill to generate and run a FastAPI service that logs into Fubon Neo using your certificate and credentials, then exposes REST endpoints for placing and managing orders plus a WebSocket endpoint for real-time quote subscriptions.

Frequently Asked Questions about stock-order-api

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

FAQPage Schema
How do I automate Fubon Neo stock trading using a FastAPI service?▼

The service uses SQLite to persist trading events, order records, and fills, creating an audit-ready database. This approach provides traceability and compliance-oriented review for automated stock trading operations without manual logging.

Can I stream real-time WebSocket market quotes from Fubon Neo?▼

Yes, you can consume real-time WebSocket market quotes from Fubon Neo. The service provides a WebSocket streaming interface with subscription controls across trade and book channels, supporting configurable operational modes and reconnect behavior.

Do I need certificates to login to the Fubon Neo SDK?▼

Yes, you need certificates to login to the Fubon Neo SDK. The service requires FUBON_* credential inputs and certificate-based authentication to establish a secure session before exposing REST or WebSocket endpoints.

How does FastAPI integrate with Fubon Neo for order audit trails?▼

FastAPI integrates with Fubon Neo for order audit trails by using SQLite to persist trading events and order records. This maintains audit-ready event logs for traceability, debugging, and compliance-oriented review of placed orders.

What are the limitations of using a FastAPI WebSocket interface for stock quote subscriptions?▼

Limitations include managing WebSocket reconnect behavior during network interruptions and handling token-auth enforcement for endpoint security. The service maintains deterministic interfaces but requires active session management to sustain real-time quote streams.