Skip to main content

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.
ItemDescription
ProductFubon Neo API Condition Orders
RequirementsRead the instructions, sign the condition-order agreement, and upgrade the SDK
Supported languagesPython / C# / JavaScript (Node.js)
Package importOnly 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.

  1. Open the Fubon Online mobile app and select More.
    Online signing step 1

  2. Select M Counter.
    Online signing step 2

  3. Select the condition-order agreement.
    Online signing step 3

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.

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
)

info

Condition orders currently do not support mixing futures/options products with spot products.