Get Time Slice Order
get_time_slice_order
Request Parameter
| Parameter | Type | Meaning |
|---|---|---|
| account | Account | Account |
| batch_no | string | Condition Order Number |
Result Response
| Parameter | Type | Meaning |
|---|---|---|
| isSuccess | bool | Interface result |
| data | list | ConditionDetail is returned |
| message | string ? (optional) | isSuccess = false error description is returned |
ConditionDetail Parameter
Return type : Object
| Parameter | Type | Meaning |
|---|---|---|
| guid | string | Condition Sequence Number |
| batch_no | string | Batch number |
| order_level | string | Condition Level : 0 parent、1、2 Child |
| last_time | string | Last Update Time |
| parent_guid | string | Parent Sequence Number |
| symbol | string | Symbol |
| order_amount | string | Order Amount |
| child_batch_no | string | Chlid Batch Number |
| account | string | Account |
| condition_content | string | Condition Content |
| action | string | Condition Trigger Action |
| condition_buy_sell | string | Buy / Sell Action |
| condition_symbol | string | Symbol Name |
| condition_price | string | Order Price |
| condition_volume | string | Order Volume |
| condition_filled_volume | string | Filled Volume |
| create_time | string | Condition Creation Time |
| start_date | string | Condition Start Date |
| status | string | Status |
| error_message | string | Error Message |
| detail_records_count | string | Detail Count |
| detail_records | List | Detail Content |
| >> guid | string | Condition Sequence Number |
| >> account | string | Account |
| >> condition_content | string | Condition Content |
| >> action | string | Condition Trigger Action |
| >> condition_buy_sell | string | Buy / Sell Action |
| >> condition_symbol | string | Symbol Name |
| >> condition_price | string | Symbol Price |
| >> condition_volume | string | Order Volume |
| >> condition_filled_volume | string | Filled Volume |
| >> start_date | string | Condition Start Date |
| >> status | string | Status |
| >> error_message | string | Error Message |
| tpslCount | string | Take Profit / Stop Loss Count |
| tpslRecord | List | Take Profit / Stop Loss Content |
| >> guid | string | Condition Sequence Number |
| >> account | string | Account |
| >> condition_content | string | Condition Content |
| >> action | string | Condition Trigger Action |
| >> condition_buy_sell | string | Buy / Sell Action |
| >> condition_symbol | string | Symbol Name |
| >> condition_price | string | Symbol Price |
| >> condition_volume | string | Order Volume |
| >> condition_filled_volume | string | Filled Volume |
| >> start_date | string | Condition Start Date |
| >> status | string | Status |
| >> error_message | string | Error 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: [],
}
}