Since SetStopLoss() and SetProfitTarget() don’t return an IOrder object, am I right to assume that if I want to do any special handling with these orders that I should use functions that return IOrder such as ExitLongStop() instead?.
SetStopLoss() and SetProfitTarget() look to be an easy way to get the order out there, but you lose some flexibility in the process – such as not being able to check which order was filled/canceled in OnOrderUpdate().
Also, if I create my own stop orders for targets and stops, does the OCO functionality come from the signalName, or is this specified in the IOrder object?
Thanks,
-Scott

Comment