Skip to main content

Preparation

caution

Before using Fubon Neo API condition orders, you must sign the smart condition-order agreement.

Sign the Condition-Order Risk Disclosure

Sign in to the Fubon Securities signing center, select Futures, and sign the futures condition-order agreement. Online signing

Import Constants (Python and Node.js Only; No Additional Step Is Required for C#)

Import the condition-order packages.

from fubon_neo.sdk import FubonSDK, Condition, FutOptConditionOrder
from fubon_neo.constant import (
TriggerContent, TradingType, Operator, FutOptTPSLOrder, FutOptTPSLWrapper, SplitDescription,
StopSign, TimeSliceOrderType, FutOptConditionPriceType, FutOptConditionOrderType, FutOptConditionMarketType, TrailOrder, Direction, FutOptTrailOrder, ConditionStatus, HistoryStatus
)

info

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