Query Historical Fills
filled_history
Input Parameters
| Parameter | Type | Description |
|---|---|---|
| account | Account | Account |
| startDate | string | Start date |
| endDate | string (default same as startDate if empty) | End date |
Result Response
| Parameter | Type | Description |
|---|---|---|
| is_success | bool | Whether successful |
| data | List | Returned fill history |
| message | string | Error message when is_success = False |
FilledData Fields
Return type: Object
| Parameter | Type | Description |
|---|---|---|
| date | string | Fill date |
| branch_no | string | Branch code |
| account | string | Account |
| seq_no | string | Order sequence number |
| order_no | string | Order number |
| stock_no | string | Stock code |
| buy_sell | BSAction | Buy/Sell |
| filled_no | string | Fill sequence number |
| filled_avg_price | double | Average fill price |
| filled_qty | int | Filled quantity |
| filled_price | double | Fill price |
| order_type | OrderType | Order type |
| filled_time | string | Fill time |
| user_def | string | Custom 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, ...}]
}