Skip to main content

Query Historical Fills

filled_history

Input Parameters

ParameterTypeDescription
accountAccountAccount
startDatestringStart date
endDatestring (default same as startDate if empty)End date

Result Response

ParameterTypeDescription
is_successboolWhether successful
dataListReturned fill history
messagestringError message when is_success = False

FilledData Fields

Return type: Object

ParameterTypeDescription
datestringFill date
branch_nostringBranch code
accountstringAccount
seq_nostringOrder sequence number
order_nostringOrder number
stock_nostringStock code
buy_sellBSActionBuy/Sell
filled_nostringFill sequence number
filled_avg_pricedoubleAverage fill price
filled_qtyintFilled quantity
filled_pricedoubleFill price
order_typeOrderTypeOrder type
filled_timestringFill time
user_defstringCustom field

Request Example

auto history_filled_response = sdk->stock->filled_history(target_account, "20250401", "20250501");

Response Example

{
isSuccess = true,
message = ,
data = [FilledData{date = 2025/04/29, stockNo = 1101, filledQty = 1000, filledAvgPrice = 35.2, ...}]
}