Cancel Condition
cancel_condition
Request Parameter
Parameter | Type | Meaning |
---|---|---|
account | Account | Account |
guid | string | Condition Serial Number |
marketType | FutOptConditionMarketType (Optional) default : Regular Session | Market Type |
Result Response
Parameter | Type | Meaning |
---|---|---|
isSuccess | bool | Interface result |
data | Object | ConditionOrderResult is returned |
message | string ? (optional) | isSuccess = false error description is returned |
ConditionOrderResult Parameter
Return type : Object
Parameter | Type | Meaning |
---|---|---|
advisory | string | Return Content |
Request Example
sdk.futopt.cancel_condition(target_account, "44150047-8977-40b1-953c-ce270f0000")
Response Example
Result {
is_success: True,
message: None,
data : ConditionOrderResult {
advisory : "成功筆數:1,失敗筆數:0!"
}
}