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.

1execCondition = order_condition.Create(OrderCondition.Execution)
2execCondition.symbol = symbol
3execCondition.exchange = exchange
4execCondition.secType = secType
5
6base_order.conditions = [execCondition]