For live trading using TradeStation + Ninja DLL method, if our position in the Wheat market was "Long" just before we placed a Sell 1 Limit order (to exit the position), when this limit order gets filled and the order state changes from working to filled, of the 2 "bolded" times listed below which time represents the time at which the NTMarketPosition() DLL ninjatrader function "updates" from +1 to 0 ? Is the answer :680 or :710?
2013-05-29 12:45:01:680 (RJO Pats) Cbi.Connection.ProcessEventArgs.PositionUpdateEven tArgs1: Instrument='ZW 07-13' Account='U17876XX' Avg price=0 Quantity=0 Market position=Flat Operation=Remove Currency=UsDollar
2013-05-29 12:45:01:710 (RJO Pats) Cbi.PositionUpdateEventArgs.Process: Instrument='ZW 07-13' Account='U17876XX' Avg price=0 Quantity=0 Market position=Flat Operation=Remove Currency=UsDollar
Reason we ask this question is that one ninja support staff told us that we should be looking at the first time (i.e. 12:45:01:680) however another ninja support staff told us a different answer and that we should be looking at the second time which is 12:45:01:710. Accordingly, since we are getting conflicting answers from the ninja support team we need to ask this question on this forum to get a correct answer.
Thank you in advance. Much appreciated.
Regards,
Rod
Comment