Preparation
Key takeaways
- Read the instructions and complete the agreement before using condition orders.
- Upgrade the SDK to v1.3 or later.
- Condition-order packages can be imported in Python and Node.js.
| Item | Description |
|---|---|
| Product | Fubon Neo API Condition Orders |
| Requirements | Read the instructions, sign the condition-order agreement, and upgrade the SDK |
| Supported languages | Python / C# / JavaScript (Node.js) |
| Package import | Only Python and JavaScript require an additional import |
caution
Before using Fubon Neo API condition orders, read the Instructions carefully and sign the condition-order agreement.
Sign the Condition-Order Agreement
Use your Fubon Securities account.
-
Open the Fubon Online mobile app and select More.

-
Select
M Counter.

-
Select the condition-order agreement.

Upgrade the SDK to v1.3 or Later
Latest SDK version: Download
Import Packages (Python and JavaScript Only; No Additional Step Is Required for C#)
Import the condition-order packages.
- Python
- Node.js
from fubon_neo.sdk import FubonSDK, Condition, ConditionDayTrade, ConditionOrder
from fubon_neo.constant import (
TriggerContent, TradingType, Operator, TPSLOrder, TPSLWrapper, SplitDescription,
StopSign, TimeSliceOrderType, ConditionMarketType, ConditionPriceType, ConditionOrderType, TrailOrder, Direction, ConditionStatus, HistoryStatus
)
const { FubonSDK, TriggerContent, TradingType, Operator, TPSLOrder, TPSLWrapper, SplitDescription,
StopSign, TimeSliceOrderType, ConditionMarketType, ConditionPriceType, ConditionOrderType, TrailOrder, Direction, ConditionStatus, HistoryStatus } = require('fubon-neo');
info
Condition orders currently do not support mixing futures/options products with spot products.