Get Historical Filled
filled_history
Request Parameter
Parameter | Type | Meaning |
---|---|---|
account | Account | Account |
start_date | string | Query start date |
end_date | string (optional) ( None or empty will equals start_date) | Query end date |
info
Support historical data for the past two days
Result Response
Parameter | Type | Meaning |
---|---|---|
is_success | bool | Interface result |
data | List | FilledData list is returned |
message | string | is_success = False error description is returned |
FutOptFilledData Parameter
Return type : Object
Parameter | Type | Meaning |
---|---|---|
date | string | Filled Date |
branch_no | string | Branch number |
account | string | Account |
seq_no | string | Order Serial Number (only display on filled callback) |
order_no | string | Order number |
symbol | string | symbol |
expiry_date | string | Expiry Date |
strike_price | float | Strike Price |
call_put | CallPut | Call / Put : Call 、Put |
buy_sell | BSAction | Buy/Sell Type : Buy 、 Sell |
symbol_leg2 | string | Spread Symbol |
expiry_date_leg2 | string | Expiry Date - Spread Order |
strike_price_leg2 | float | Strike Price - Spread Order |
call_put_leg2 | CallPut | Call / Put : Call 、Put |
buy_sell_leg2 | BSAction | Buy/Sell Type - Spread Order: Buy 、 Sell |
filled_no | string | Filled Transaction number |
filled_avg_price | float | Filled Average Price |
filled_lot | int | Filled Share |
filled_price | float | Filled Price |
order_type | FutOptOrderType | Order Type : New 、 Close 、 FdayTrade |
filled_time | string | Filled Time |
user_def | string | Custom Fields (only display on filled callback) |
Request Example
sdk.futopt.filled_history(account,"20230921","20230922")
回傳範例
Result {
is_success: True,
message: None,
data :[
FutOptFilledData{
date: "2023/09/21", # Filled Date (string)
branch_no: "6460", # Branch number (string)
account: "26", # Account (string)
seq_no: None, # Order Serial Number (string)
order_no: "bA422", # Order number (string)
symbol: "FITX", # Symbol (string)
expiry_date: "202404", # Expiry Date (string)
strike_price: None, # Strike Price (float)
call_put: None, # Call / Put (CallPut)
buy_sell: Buy, # Buy / Sell (BSAction)
symbol_leg2: None, # Symbol - Spread Order(string)
expiry_date_leg2: None, # Expiry Date - Spread Order(string)
strike_price_leg2: None, # Strike Price - Spread Order(float)
call_put_leg2: None, # Call / Put - Spread Order(CallPut)
buy_sell_leg2: None, # Buy / Sell - Spread Order(BSAction)
filled_no: "00000000001", # Filled Transaction number (string)
filled_avg_price: 20890.0, # Filled Average Price (float)
filled_lots: 1, # Filled Lot (int)
filled_price: 20890.0, # Filled Price (float)
order_type: New, # Order Type (string)
filled_time: "10:31:00.931" # Filled Time (string)
user_def: None # Custom Fields (string)
},
...
]
}