I am developping a strategy, and have to deal with some methods as OnOrderUpdate. I can't figure out the differents states of my IOrder. Let's take some examples:
What the state of my limit order when it is executed on the market? What is the difference between when my order is in this state and when the trade is terminated: we touch our target for example?
Let's suppose the market is executing an order and then I send at the same time a cancel Order what can occurs? What means the overfill state (I've already read the documentation). this is mean that my order can be cancelled and then filled?

Thank you in advance,
R.E.

Comment