Skip to main content

Time-Sliced Order Query

getTimeSliceOrder

Input Parameters

ParameterTypeDescription
accountAccountAccount
batchNostringTime-Sliced Order

Result

ParameterTypeDescription
isSuccessboolWhether successful
dataListConditional order response information
messagestring ? (optional)When isSuccess : false Returns an error message

Order Information ConditionDetail Fields

Return type : Object

ParameterTypeDescription
guidstringConditional Order ID
batchNostringSplit-order batch number
orderLevelstringConditional order level
lastTimestringUpdate time
parentGuidstringParent order ID
symbolstringSymbol
orderAmountstringOrder amount
childBatchNostringChild split-order batch number
accountstringAccount
conditionContentstringCondition content
actionstringAction
conditionBuySellstringSide
conditionSymbolstringInstrument name
conditionPricestringPrice
conditionVolumestringOrder quantity
conditionFilledVolumestringFilled quantity
createTimestringCreation time
startDatestringScheduled start time
statusstringCurrent status
errorMessagestringCurrent statusErrorDescription
detailRecordsCountstringQueryDetail record count
detailRecordsListQueryDetail records
>> guidstringConditional Order ID
>> accountstringAccount
>> conditionContentstringCondition content
>> actionstringAction
>> conditionBuySellstringSide
>> conditionSymbolstringInstrument name
>> conditionPricestringPrice
>> conditionVolumestringOrder quantity
>> conditionFilledVolumestringFilled quantity
>> startDatestringScheduled time
>> statusstringCurrent status
>> errorMessagestringCurrent statusErrorDescription
tpslCountstringTake-Profit/Stop-Lossrecord count
tpslRecordListTake-Profit/Stop-LossDetail records
>> guidstringConditional Order ID
>> accountstringAccount
>> conditionContentstringCondition content
>> actionstringAction
>> conditionBuySellstringSide
>> conditionSymbolstringInstrument name
>> conditionPricestringPrice
>> conditionVolumestringOrder quantity
>> conditionFilledVolumestringFilled quantity
>> startDatestringScheduled time
>> statusstringCurrent status
>> errorMessagestringCurrent statusErrorDescription

Request Example

sdk.stock.getTimeSliceOrder(account,"1234567")

Response Example


{
isSuccess: true,
data :
{
guid: "c4dc90c1-4277-42ea-b585-085dc347eac0",
batchNo: "",
orderLevel: "0",
lastTime: "2024-07-23 17:30:01",
conditionType: "Time Slice",
parentGuid: "",
symbol: "2881",
orderAmount: "0",
childBatchNo: "",
account: "1307515",
conditionContent: "On2024/07/23 Scheduled orderTimeGreater than or equal to08:40:00 Until fully filled",
action: "Place order",
conditionBuySell: "Cash equityBuy",
conditionSymbol: "Fubon Financial Cash equityBuy",
conditionPrice: "66TWD(ROD)",
conditionVolume: "1lots",
conditionFilledVolume: "0lots",
createTime: "2024-07-22 17:30:03",
startDate: "2024/07/23",
status: "Conditional order terminated(I)",
detailRecordsCount: "0",
detailRecords: [],
tpslCount: "0",
tpslRecord: [],
},
{
guid: "2975702e-f36f-4da4-bab6-1310344ec05d",
batchNo: "",
orderLevel: "0",
lastTime: "2024-07-23 17:30:01",
conditionType: "Time Slice",
parentGuid: "",
symbol: "2881",
orderAmount: "0",
childBatchNo: "",
account: "1307515",
conditionContent: "On2024/07/23 Scheduled orderTimeGreater than or equal to09:10:00 Until fully filled",
action: "Place order",
conditionBuySell: "Cash equityBuy",
conditionSymbol: "Fubon Financial Cash equityBuy",
conditionPrice: "66TWD(ROD)",
conditionVolume: "1lots",
conditionFilledVolume: "0lots",
createTime: "2024-07-22 17:30:03",
startDate: "2024/07/23",
status: "Conditional order terminated(I)",
detailRecordsCount: "0",
detailRecords: [],
tpslCount: "0",
tpslRecord: [],
}
}