is it possible to work in onexecution with the orders from an ATM called by a script?
if(execution.Name="Target1" && execution.Order.Filled) then do...?
When this is not possible in onexecution can this be done in onorderupdate to check if Target1 is filled? if (order.Name == "Target1" && order.OrderState == OrderState.Filled) then do......?
(or possible in onbarupdate?)
Thank you
Tony
Comment