Skip to main content

取得批次委託列表

batch_order_lists

輸入參數

參數類別說明
accountAccount帳號

Result 回傳

參數類別說明
is_successbool是否成功
dataList回傳批次單資訊
messagestring當is_success = false 回傳錯誤訊息

批次單 BatchResult 欄位

Return type : Object

參數類別說明
function_typeint功能別 : 0 新單、 10 新單執行 、 15 改價 、 20 改量 、 30 刪單 、 90 失敗
datestring交易日期
branch_nostring分公司代號
accountstring帳號
batch_seq_nostring批次單流水序號

請求範例

sdk.stock.batch_order_lists(account)

回傳範例

Result {
is_success: True,
message: None,
data : [BatchResult{
function_type: 0, # 功能種類 (int)
date: "2023/10/16", # 交易日期 (string)
branch_no: "6460", # 分公司代號 (string)
account: "26", # 帳號 (string)
batch_seq_no: "11EE6BC3B85670DE8000000C29304663" # 批次單流水序號 (string)
},
BatchResult{
function_type: 15, # 功能種類 (int)
date: "2023/10/16", # 交易日期 (string)
branch_no: "6460", # 分公司代號 (string)
account: "26", # 帳號 (string)
batch_seq_no: "11EE6BC3E189F02A8000000C29304663" # 批次單流水序號 (string)
},
...
]
}