Preparation
caution
Before starting with the Fubon Neo Condition API, please read the user agreement carefully and complete signing the agreements.
Sign the agreement
Sign the agreement
-
Open
富邦Online
APP and select more.
-
Click
M櫃台
-
Choice
條件單同意書
and sign agreements.
Upgrade SDK, version should be above v1.3.1
SDK lastest version : 下載連結
Import Constant ( Only require for Python、NodeJs)
Add Condition Package
- Python
- Node.js
from fubon_neo.sdk import FubonSDK, Condition, 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 future/options and spot products.