Skip to navigation

Execution Conditions

View as MarkdownOpen in Claude

The Execution Condition triggers an order whenever another order on your account has executed. The parameters allow the developer to specify how narrow a scope will trigger a condition.

See ExecutionCondition for more details on the ExecutionCondition class.

execCondition = order_condition.Create(OrderCondition.Execution)
execCondition.symbol = symbol
execCondition.exchange = exchange
execCondition.secType = secType
base_order.conditions = [execCondition]