Skip to main content

Get Historical Filled

FilledHistory

Request Parameter

ParameterTypeMeaning
accountAccountAccount
startDatestringQuery start date
endDatestring ( or empty will equals startDate )Query end date
info

Support historical data for the past two days

Result Reponse

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

FutOptFilledData Parameter

Return type : Object

ParameterTypeMeaning
datedateFilled Date
branchNostringBranch number
accountstringAccount
seqNostringOrder serial number (only display on filled callback)
orderNostringOrder number
symbolstringSymbol
expiryDatestringExpiry Date
strikePricedoubleStrike Price
callPutCallPutCall / Put : CallPut
buySellBsActionBuy/Sell Type : BuySell
symbolLeg2stringSpread Symbol
expiryDateLeg2stringExpiry Date - Spread Order
strikePriceLeg2doubleStrike Price - Spread Order
callPutLeg2CallPutCall / Put : CallPut
buySellLeg2BsActionBuy/Sell Type - Spread Order: BuySell
filledNostringFilled Transaction number
filledAvgPricedoubleFilled Average Price
filledLotintFilled Lot
filledPricedoubleFilled Price
orderTypeFutOptOrderTypeOrder Type : NewCloseAutoFdayTrade
filledTimestringFilled Time
userDefstringCustom Fields (only display on filled callback)

Request Example

Console.WriteLine(sdk.FutOpt.FilledHistory(account,"20230921","20230922"));

Response Example

{
isSuccess = True,
message = ,
data =[
FutOptFilledData{
date = 2023/09/21, // Filled Date (string)
branchNo = 6460, // Branch number (string)
account = 26, // Account (string)
seqNo = , // Order Serial Number (string)
orderNo = bA422, // Order number (string)
symbol = FITX, // Symbol (string)
expiryDate = 202404, // Expiry Date (string)
strikePrice = , // Strike Price (double)
callPut = , // Call / Put (CallPut)
buySell = Buy, // Buy / Sell (BsAction)
symbolLeg2 = , // Symbol - Spread Order(string)
expiryDateLeg2 = , // Expiry Date - Spread Order(string)
strikePriceLeg2 = , // Strike Price - Spread Order(double)
callPutLeg2 = , // Call / Put - Spread Order(CallPut)
buySellLeg2 = , // Buy / Sell - Spread Order(BsAction)
filledNo = 00000000001, // Filled Transaction number (string)
filledAvgPrice = 20890.0, // Filled Average Price (double)
filledLots = 1, // Filled Lot (int)
filledPrice = 20890.0, // Filled Price (double)
orderType = New, // Order Type (string)
filledTime = 10:31:00.931, // Filled Time (string)
userDef = // Custom Fields (string)
},
...
]
}