Get Time Slice Order
getTimeSliceOrder
Request
| Parameter | Type | Meaning | 
|---|---|---|
| account | Account | Account | 
| batchNo | string | Condition Serial Number | 
Result Response
| Parameter | Type | Meaning | 
|---|---|---|
| isSuccess | bool | Interface result | 
| data | Object | ConditionDetail is returned | 
| message | string ? (optional) | isSuccess = false error description is returned | 
ConditionDetail Parameter
Return type : Object
| Parameter | Type | Meaning | 
|---|---|---|
| guid | string | Condition Serial Number | 
| batchNo | string | Condition Batch Number | 
| orderLevel | string | Condition Level | 
| lastTime | string | Last Modification Time | 
| parentGuid | string | Parent Serial Number | 
| symbol | string | Symbol | 
| orderAmount | string | Order Amount | 
| childBatchNo | string | Child Batch Number | 
| account | string | Account | 
| conditionContent | string | Condition Content | 
| action | string | COndition Action | 
| conditionBuySell | string | Condition Buy / Sell Type | 
| conditionSymbol | string | Symbol Name | 
| conditionPrice | string | Price | 
| conditionVolume | string | Volume | 
| conditionFilledVolume | string | Filled Volume | 
| createTime | string | Condition Creation Time | 
| startDate | string | Condition Start Date | 
| status | string | Status | 
| errorMessage | string | Error Message | 
| detailRecordsCount | string | Detail Number | 
| detailRecords | List | Detail Records | 
| >> guid | string | Condition Serial Number | 
| >> account | string | Account | 
| >> conditionContent | string | Condition Content | 
| >> action | string | COndition Action | 
| >> conditionBuySell | string | Condition Buy / Sell Type | 
| >> conditionSymbol | string | Symbol Name | 
| >> conditionPrice | string | Price | 
| >> conditionVolume | string | Volume | 
| >> conditionFilledVolume | string | Filled Volume | 
| >> createTime | string | Condition Creation Time | 
| >> startDate | string | Condition Start Date | 
| >> status | string | Status | 
| >> errorMessage | string | Error Message | 
| tpslCount | string | TP / SL Count Number | 
| tpslRecord | List | TP / SL Record | 
| >> guid | string | Condition Serial Number | 
| >> account | string | Account | 
| >> conditionContent | string | Condition Content | 
| >> action | string | COndition Action | 
| >> conditionBuySell | string | Condition Buy / Sell Type | 
| >> conditionSymbol | string | Symbol Name | 
| >> conditionPrice | string | Price | 
| >> conditionVolume | string | Volume | 
| >> conditionFilledVolume | string | Filled Volume | 
| >> createTime | string | Condition Creation Time | 
| >> startDate | string | Condition Start Date | 
| >> status | string | Status | 
| >> errorMessage | string | Error Message | 
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: "分時分量",
                parentGuid: "",
                symbol: "2881",
                orderAmount: "0",
                childBatchNo: "",
                account: "1307515",
                conditionContent: "當於2024/07/23 定時單時間大於等於08:40:00  全部成交為止",
                action: "下單",
                conditionBuySell: "現股買",
                conditionSymbol: "富邦金 現股買",
                conditionPrice: "66元(ROD)",
                conditionVolume: "1張",
                conditionFilledVolume: "0張",
                createTime: "2024-07-22 17:30:03",
                startDate: "2024/07/23",
                status: "條件單中止(I)",
                errorMessage: null,
                detailRecordsCount: "0",
                detailRecords: [],
                tpslCount: "0",
                tpslRecord: [],
            },
            {
                guid: "2975702e-f36f-4da4-bab6-1310344ec05d",
                batchNo: "",
                orderLevel: "0",
                lastTime: "2024-07-23 17:30:01",
                conditionType: "分時分量",
                parentGuid: "",
                symbol: "2881",
                orderAmount: "0",
                childBatchNo: "",
                account: "1307515",
                conditionContent: "當於2024/07/23 定時單時間大於等於09:10:00 全部成交為止",
                action: "下單",
                conditionBuySell: "現股買",
                conditionSymbol: "富邦金 現股買",
                conditionPrice: "66元(ROD)",
                conditionVolume: "1張",
                conditionFilledVolume: "0張",
                createTime: "2024-07-22 17:30:03",
                startDate: "2024/07/23",
                status: "條件單中止(I)",
                errorMessage: null,
                detailRecordsCount: "0",
                detailRecords: [],
                tpslCount: "0",
                tpslRecord: [],
            }
}