Get Batch Order List
batch_order_lists
Input Parameters
| Parameter | Type | Meaning |
|---|---|---|
| account | Account | Account |
Result
| Parameter | Type | Meaning |
|---|---|---|
| is_success | bool | Whether successful |
| data | List | BatchResult list is returned |
| message | string | Error message returned when is_success = false |
BatchResult Parameter
Return type : Object
| Parameter | Type | Meaning |
|---|---|---|
| function_type | int | Function Type : 0 New Order, 10 New Order Executed, 15 Change Price, 20 Change Quantity, 30 Cancel, 90 Failed |
| date | string | Query Date (today) |
| branch_no | string | Branch number |
| account | string | Account |
| batch_seq_no | string | Serial number |
Request Example
sdk.stock.batch_order_lists(account)
Response Example
Result {
is_success: True,
message: None,
data : [BatchResult{
function_type: 0, # Function type (int)
date: "2023/10/16", # Transaction Date (string)
branch_no: "6460", # Branch code (string)
account: "26", # Account (string)
batch_seq_no: "11EE6BC3B85670DE8000000C29304663" # Batch order sequence number (string)
},
BatchResult{
function_type: 15, # Function type (int)
date: "2023/10/16", # Transaction Date (string)
branch_no: "6460", # Branch code (string)
account: "26", # Account (string)
batch_seq_no: "11EE6BC3E189F02A8000000C29304663" # Batch order sequence number (string)
},
...
]
}