To understand how things work in real time, I am using the SampleMACrossover strategy on 1 minute bars to generate plenty of activity. I have applied it to an instrument list of 30 Dow stocks. I am adding the strategy to the Strategies tab of Control Center and then enabling each of the 30 rows.
The first issue that occurs is that I get a whole series of error messages such as "Your strategy position(s) for instrument(s) CAT are not in sync with your account position(s). This could cause serious issues as the strategy places live orders." It appears that this is because NT is running the strategy for some period of time prior to when I started the strategy. Is there a way to prevent it from doing this? I tried setting "Days to Load" = 0, but it changes back to 1. I have specified "Wait until flat before executing live, Sync account position = false". I don't understand why it is desirable to run the strategy prior to starting it in real time; it seems to directly and unnecessarily cause sync problems. Am I misunderstanding the "Days to Load" parameter?
If I understand correctly, I can just ignore those error messages, provided my account has no open positions. But, it is extremely annoying to have to close each of those message boxes one at a time. Is there a way to suppress generating them?
Is there something very basic about using NinjaTrader that I am missing? It does not seem that it should be so cumbersome to run. I have read several times the parts of the user manual that deal with the differences between Strategy positions and Account positions.
Comment