I'm working in an add-on to cancel orders based in a set of conditions. I'm not creating the order with the add-on. Only want to react with the orders that I put in the superdom and in the chart trader. I mean orders created with NinjaTrader.
I need to have any special consideration related to order states? I ask this because i see that atm orders and with out it behave different. I know seems to be a general question, but if someone can hihglightme if theres is any special consideration. I try to code it, but get loops with phantom orders and with out being the creator of the orders I don't know if I'm missing something important. If someone knows wich are the states that need to take into account, sure will be helpfull.
Cheers
Comment