Skip to main content

Get Time Slice Order

get_time_slice_order

Request Parameter

ParameterTypeMeaning
accountAccountAccount
batch_nostringCondition Order Number

Result Response

ParameterTypeMeaning
isSuccessboolInterface result
datalistConditionDetail is returned
messagestring ? (optional)isSuccess = false error description is returned

ConditionDetail Parameter

Return type : Object

ParameterTypeMeaning
guidstringCondition Sequence Number
batch_nostringBatch number
order_levelstringCondition Level : 0 parent、1、2 Child
last_timestringLast Update Time
parent_guidstringParent Sequence Number
symbolstringSymbol
order_amountstringOrder Amount
child_batch_nostringChlid Batch Number
accountstringAccount
condition_contentstringCondition Content
actionstringCondition Trigger Action
condition_buy_sellstringBuy / Sell Action
condition_symbolstringSymbol Name
condition_pricestringOrder Price
condition_volumestringOrder Volume
condition_filled_volumestringFilled Volume
create_timestringCondition Creation Time
start_datestringCondition Start Date
statusstringStatus
error_messagestringError Message
detail_records_countstringDetail Count
detail_recordsListDetail Content
>> guidstringCondition Sequence Number
>> accountstringAccount
>> condition_contentstringCondition Content
>> actionstringCondition Trigger Action
>> condition_buy_sellstringBuy / Sell Action
>> condition_symbolstringSymbol Name
>> condition_pricestringSymbol Price
>> condition_volumestringOrder Volume
>> condition_filled_volumestringFilled Volume
>> start_datestringCondition Start Date
>> statusstringStatus
>> error_messagestringError Message
tpslCountstringTake Profit / Stop Loss Count
tpslRecordListTake Profit / Stop Loss Content
>> guidstringCondition Sequence Number
>> accountstringAccount
>> condition_contentstringCondition Content
>> actionstringCondition Trigger Action
>> condition_buy_sellstringBuy / Sell Action
>> condition_symbolstringSymbol Name
>> condition_pricestringSymbol Price
>> condition_volumestringOrder Volume
>> condition_filled_volumestringFilled Volume
>> start_datestringCondition Start Date
>> statusstringStatus
>> error_messagestringError Message

Request Example

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

Response Example


Result {
is_success: True,
message: None,
data :
ConditionDetail {
guid: "c4dc90c1-4277-42ea-b585-085dc347eac0",
batch_no: "",
order_level: "0",
last_time: "2024-07-23 17:30:01",
condition_type: "分時分量",
parent_guid: "",
symbol: "2881",
order_amount: "0",
child_batch_no: "",
account: "1307515",
condition_content: "當於2024/07/23 定時單時間大於等於08:40:00 全部成交為止",
action: "下單",
condition_buy_sell: "現股買",
condition_symbol: "富邦金 現股買",
condition_price: "66元(ROD)",
condition_volume: "1張",
condition_filled_volume: "0張",
create_time: "2024-07-22 17:30:03",
start_date: "2024/07/23",
status: "條件單中止(I)",
error_message: None,
detail_records_count: "0",
detail_records: [],
TPSLCount: "0",
TPSLRecord: [],
}, ConditionDetail {
guid: "2975702e-f36f-4da4-bab6-1310344ec05d",
batch_no: "",
order_level: "0",
last_time: "2024-07-23 17:30:01",
condition_type: "分時分量",
parent_guid: "",
symbol: "2881",
order_amount: "0",
child_batch_no: "",
account: "1307515",
condition_content: "當於2024/07/23 定時單時間大於等於09:10:00 全部成交為止",
action: "下單",
condition_buy_sell: "現股買",
condition_symbol: "富邦金 現股買",
condition_price: "66元(ROD)",
condition_volume: "1張",
condition_filled_volume: "0張",
create_time: "2024-07-22 17:30:03",
start_date: "2024/07/23",
status: "條件單中止(I)",
error_message: None,
detail_records_count: "0",
detail_records: [],
TPSLCount: "0",
TPSLRecord: [],
}
}