Get Historical Filled
FilledHistory
Request Parameter
Parameter | Type | Meaning |
---|---|---|
account | Account | Account |
startDate | string | Query start date |
endDate | string ( or empty will equals startDate ) | Query end date |
info
Support historical data for the past two days
Result Reponse
Parameter | Type | Meaning |
---|---|---|
isSuccess | bool | Interface result |
data | List | FutOptFilledData list is returned |
message | string | isSuccess = False error description is returned |
FutOptFilledData Parameter
Return type : Object
Parameter | Type | Meaning |
---|---|---|
date | date | Filled Date |
branchNo | string | Branch number |
account | string | Account |
seqNo | string | Order serial number (only display on filled callback) |
orderNo | string | Order number |
symbol | string | Symbol |
expiryDate | string | Expiry Date |
strikePrice | double | Strike Price |
callPut | CallPut | Call / Put : Call 、Put |
buySell | BsAction | Buy/Sell Type : Buy 、 Sell |
symbolLeg2 | string | Spread Symbol |
expiryDateLeg2 | string | Expiry Date - Spread Order |
strikePriceLeg2 | double | Strike Price - Spread Order |
callPutLeg2 | CallPut | Call / Put : Call 、Put |
buySellLeg2 | BsAction | Buy/Sell Type - Spread Order: Buy 、 Sell |
filledNo | string | Filled Transaction number |
filledAvgPrice | double | Filled Average Price |
filledLot | int | Filled Lot |
filledPrice | double | Filled Price |
orderType | FutOptOrderType | Order Type : New 、 Close 、 Auto 、 FdayTrade |
filledTime | string | Filled Time |
userDef | string | Custom 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)
},
...
]
}