Skip to main content

Time-sharing component query

GetTimeSliceOrder

Input parameters

ParametersCategoryDescription
accountAccountaccount
batchNostringtime-sharing component condition order number

Result return

ParametersCategoryDescription
isSuccessboolWhether it was successful
dataListConditional order return information
messagestring ? (optional)Return error message when isSuccess = false

Commission information ConditionDetail field

Return type : Object

ParametersCategoryDescription
guidstringcondition order number
batchNostringorder batch number
orderLevelstringConditional single level
lastTimestringupdate time
parentGuidstringparent number
symbolstringproduct code
orderAmountstringOrder amount
childBatchNostringChild order batch number
accountstringaccount number
conditionContentstringcondition content
actionstringprocessing method
conditionBuySellstringBuy and sell type
conditionSymbolstringproduct name
conditionPricestringprice
conditionVolumestringOrder quantity
conditionFilledVolumestringTransaction quantity
createTimestringCreation time
startDatestringAppointment start time
statusstringcurrent status
errorMessagestringCurrent status exception description
detailRecordsCountstringQuery the number of detailed records
detailRecordsListQuery detailed information
>> guidstringcondition order number
>> accountstringaccount number
>> conditionContentstringcondition content
>> actionstringprocessing method
>> conditionBuySellstringBuy and sell type
>> conditionSymbolstringproduct name
>> conditionPricestringprice
>> conditionVolumestringOrder quantity
>> conditionFilledVolumestringTransaction quantity
>> startDatestringAppointment time
>> statusstringcurrent status
>> errorMessagestringCurrent status exception description
tpslCountstringThe number of stop loss and profit stops
tpslRecordListStop loss and stop profit details
>> guidstringcondition order number
>> accountstringaccount number
>> conditionContentstringcondition content
>> actionstringprocessing method
>> conditionBuySellstringBuy and sell type
>> conditionSymbolstringproduct name
>> conditionPricestringprice
>> conditionVolumestringOrder quantity
>> conditionFilledVolumestringTransaction quantity
>> startDatestringAppointment time
>> statusstringcurrent status
>> errorMessagestringCurrent status exception description

Request example

sdk.Stock.GetTimeSliceOrder(account,"1234567");

Return example


{
isSuccess = True,
message = ,
data = [
ConditionDetail{
Guid = c4dc90c1-4277-42ea-b585-085dc347eac0,
BatchNo = ,
OrderLevel = 0,
LastTime = 2024-07-23 17:30:01,
ConditionType = 分時分quantity,
ParentGuid = ,
Symbol = 2881,
OrderAmount = 0,
ChildBatchNo = ,
Account = 1307515,
ConditionContent = whenat2024/07/23 fixed時orders時間greateratequalat08:40:00 allfilledis止,
Action = downorders,
ConditionBuySell = currentstockBuy,
ConditionSymbol = FubonFinancialfinancial currentstockBuy,
ConditionPrice = 66(ROD),
ConditionVolume = "1lots,
ConditionFilledVolume = 0lots,
CreateTime = 2024-07-22 17:30:03,
StartDate = 2024/07/23,
Status = 條件orders中止(I),
ErrorMessage = ,
DetailRecordsCount = 0,
DetailRecords = [],
TpslCount = 0,
TpslRecord = []
},
ConditionDetail
{
Guid = 2975702e-f36f-4da4-bab6-1310344ec05d,
BatchNo = ,
OrderLevel = 0,
LastTime = 2024-07-23 17:30:01,
ConditionType = 分時分quantity,
ParentGuid = ,
Symbol = 2881,
OrderAmount = 0,
ChildBatchNo = ,
Account = 1307515,
ConditionContent = whenat2024/07/23 fixed時orders時間greateratequalat09:10:00 allfilledis止,
Action = downorders,
ConditionBuySell = currentstockBuy,
ConditionSymbol = FubonFinancialfinancial currentstockBuy,
ConditionPrice = 66(ROD),
ConditionVolume = 1lots,
ConditionFilledVolume = 0lots,
CreateTime = 2024-07-22 17:30:03,
StartDate = 2024/07/23,
Status = 條件orders中止(I),
ErrorMessage = ,
DetailRecordsCount = 0,
DetailRecords = [],
TpslCount = 0,
TpslRecord = []
}
]
}