Skip to main content

Get Order Results

GetOrderResult

Request Parameter

ParameterTypeMeaning
accountAccountAccount
marketTypeFutOptMarketType (Optional : If not specified, it includes all)Trading session type : FutureOptionFutureNight After-Hour Future 、 OptionNight After-Hour Option

Result Reponse

ParameterTypeMeaning
isSuccessboolInterface result
dataListFutOptOrderResult list is returned
messagestringisSuccess = False error description is returned

FutOptOrderResult Parameter

Return type : Object

ParameterTypeMeaning
functionTypeint (optional)Function Type : 0 New 、 10 Execute New、15 Amend Price 、 20 Amend Lot 、 30 Cancel
datestringTransaction date
seqNostringOrder serial number
branchNostringBranch number
accountstringAccount
orderNostringOrder number
assetTypeintAsset type : 1 Future 、2 Option
marketstringMarket type : TAIMEX Future、Option
marketTypeFutOptMarketTypeTrading session type : FutureOptionFutureNight After-Hour Future 、 OptionNight After-Hour Option
unitintTrading Unit
currencystringTrading Currency
symbolstringSymbol
expiryDatestringExpiry Date
strikePricedoubleStrike Price
callPutCallPutCall / Put Type : Call Call 、Put Put
buySellBsActionBuy/Sell Type : BuySell
symbolLeg2stringSymbol - Spread Order
expiryDateLeg2stringExpiry Date - Spread Order
strikePriceLeg2doubleStrike Price - Spread Order
callPutLeg2CallPutCall / Put Type : Call Call 、Put Put
buySellLeg2BsActionBuy/Sell Type : BuySell
priceTypeFutOptPriceTypeOriginal order price type : LimitMarketRangeMarket Market with Protection Orders 、 Reference
pricedoubleOrder Price
lotintOriginal order lot
timeInForceTimeInForceTime In Force RodFokIoc
orderTypeFutOptOrderTypeOrder Type : NewCloseAutoFdayTrade
isPreOrderboolReservation Flag
statusintOrder Status : 0 Reservation 、 4 In queue 、 8 Processing by system backend 、 9 TimeOut 、 10 Active Order 、 30 Cancel Order 、 50 Fully Filled 、 90 Order Failed
afterPriceTypeFutOptPriceTypeValid order price type : LimitMarketRangeMarket Market with Protection Orders 、 Reference
afterPricedoubleValid order price
afterLotintValid Order Lot
filledLotintFilled Lot
filledMoneydoubleFilled Value
beforeLotintBefore the Lot Modification
beforePricedoubleBefore the Price Modification
userDefstringCustom Fields
lastTimestringLast Modification Time
detailslistOrder Process
errorMessagestringError Message

Request Example

var orderResults = sdk.FutOpt.GetOrderResults(accounts.data[0]);

Console.WriteLine(orderResults);

Response Example

{
isSuccess = True,
message = ,
data =[
FutOptOrderResult{
functionType = , // Function type (int)
date = 2024/03/25, // Transaction date (string)
seqNo = 00110212608, // Order sequence number (string)
branchNo = 15901, // Branch number (string)
account = 1234567, // Account (string)
orderNo = C0001, // Order number (string)
assetType = 1, // Asset type (int)
market = TAIMEX, // Market type (string)
marketType = Future, // Trading Session Type (FutOptMarketType)
unit = 1, // Unit (int)
currency = TWD, // Currency (string)
symbol = FITF, // Symbol (string)
expiryDate = 202404, // Expiry date (string)
strikePrice = , // Strike price (double)
callPut = , // Call or put (CallPut)
buySell = Buy, // Buy or sell (BsAction)
symbolLeg2 = , // Symbol - Spread Order (string)
expiryDateLeg2 = , // Expiry date - Spread Order (string)
strikePriceLeg2 = , // Strike price - Spread Order (double)
callPutLeg2 = , // Call or put - Spread Order (CallPut)
buySellLeg2 = , // Buy or sell - Spread Order (BsAction)
priceType = Limit, // Original order price type (FutOptPriceType)
price = 1822.6, // Price (double)
lot = 2, // Original order Lot (int)
timeInForce = Rod, // Time in force (TimeInforce)
orderType = Auto, // Order type (FutOptOrderType)
isPreOrder = false, // Is pre-order (bool)
status = 10, // Order status (int)
afterPriceType = , // Valid order price type (FutOptPriceType)
afterPrice = 1822.6, // Valid order price (double)
afterLot = 2, // Valid order Lot (int)
filledLot = 0, // Filled Lot (int)
filledMoney = 0, // Filled amount (int)
beforeLot = , // Lot before amendment (int)
beforePrice = , // Price before amendment (double)
userDef = , // User-defined field (string)
lastTime = 10:20:27, // Last modification time (string)
details = , // Order Process (list)
errorMessage = // Error message (string)
},
...
]
}