Skip to main content

條件單查詢 By 條件單號

getConditionOrderById

輸入參數

參數類別說明
accountAccount帳號
guidstring條件單號

Result 回傳

參數類別說明
isSuccessbool是否成功
dataList條件單回傳資訊
messagestring ? (optional)當isSuccess : false 回傳錯誤訊息

委託資訊 ConditionDetail 欄位

Return type : Object

參數類別說明
guidstring條件單號
batchNostring分單批號
orderLevelstring條件單層級
lastTimestring更新時間
parentGuidstring父單單號
symbolstring商品代號
orderAmountstring委託金額
childBatchNostring子單分單批號
accountstring帳號
conditionContentstring條件內容
actionstring處理方式
conditionBuySellstring買賣別
conditionSymbolstring商品名稱
conditionPricestring價格
conditionVolumestring委託數量
conditionFilledVolumestring成交數量
createTimestring建立時間
startDatestring預約開始時間
statusstring目前狀態
errorMessagestring目前狀態異常說明
detailRecordsCountstring查詢明細筆數
detailRecordsList查詢明細資料
>> guidstring條件單號
>> accountstring帳號
>> conditionContentstring條件內容
>> actionstring處理方式
>> conditionBuySellstring買賣別
>> conditionSymbolstring商品名稱
>> conditionPricestring價格
>> conditionVolumestring委託數量
>> conditionFilledVolumestring成交數量
>> startDatestring預約時間
>> statusstring目前狀態
>> errorMessagestring目前狀態異常說明
tpslCountstring停損停利筆數
tpslRecordList停損停利明細資料
>> guidstring條件單號
>> accountstring帳號
>> conditionContentstring條件內容
>> actionstring處理方式
>> conditionBuySellstring買賣別
>> conditionSymbolstring商品名稱
>> conditionPricestring價格
>> conditionVolumestring委託數量
>> conditionFilledVolumestring成交數量
>> startDatestring預約時間
>> statusstring目前狀態
>> errorMessagestring目前狀態異常說明

請求範例

sdk.stock.getConditionOrderById(account,"8ff3472b-185a-488c-be5a-b478deda080c")

回傳範例


{
isSuccess: true,
data :
{
guid : "8ff3472b-185a-488c-be5a-b478deda080c",
batchNo : "",
orderLevel : "1",
lastTime : "2024-03-14 12:39:02",
conditionType : "多條件",
parentGuid : "58e7a51e-9701-4d26-bc16-18a392a840bd",
symbol : "2330",
orderAmount : "0",
childBatchNo : "",
account : "1307515",
conditionContent : "當自2024/03/14至2024/07/04內台積電成交價大於等於580元 全部成交為止",
action : "下單(次日回補)",
conditionBuySell : "現股賣",
conditionSymbol : "台積電 現股賣",
conditionPrice : "580元(ROD)",
conditionVolume : "5張",
conditionFilledVolume : "0張",
createTime : "2024-03-14 12:39:22",
startDate : "2024/03/14",
status : "未生效(W)",
detailRecordsCount : "0",
tPSLCount : "0"
}
}