a simple question. Is a strategy Single Threaded in it's behaviors or not?
I.e., does NInjaTrader synchronize access to the strategy methods (so that only one method is ever actively called), or do I have to sync that myself, if my method is not reentrant?
I mostly ask becaue the documentation refers to multi threaded reportings for fills. Now, in the OnOrderUpdate override - can I assume that this is single threaded when called (i.e. one update after the next), or do I have to code that thread safe (possibly by just wrapping it into a lock). I start doing quite some complicated stuff there, and quite a lot of the .NET base classes (whole collection namespace) are not thread safe per definition unless explicitely asked for.... Thus my question.
Comment