2. It seems that OrderState.PendingSubmit is always the first new order state. Is that guaranteed for all SetStopLoss and SetProfitTarget Orders? If so, which other order types is it guaranteed for?
3. Order.Name == "Stop loss" and Order.Name=="Profit target" send order info to the respective collections. I don't see these names declared anywhere. Are these the names that orders of each of these two types are automatically given?

Comment