This is a two-part question. For background, I trade currencies with FXCM as a broker, and have a lifetime NinjaTrader license. I am live-testing automated strategies that I developed using Ninjascript.
First: NinjaTrader crashes weekly. I believe that FXCM takes its servers down for maintenance on Friday evening and generally boots them by Saturday morning. If I have an active strategy, the control center displays that the connection was lost (red in bottom left corner) and this does not resolve itself by Sunday afternoon. If I attempt to do anything in NT, such as scroll in a chart or disable a strategy, the application crashes and I have to reboot, which leads to my second problem, but before we get to that - how can this be fixed?
Second: When I try to re-enable a strategy that currently has an active position, NT flattens the position for me. I do not want this to happen; since a strategy has an active position, NT should reach out to my broker's server, match active orders, and continue without interruption.
My settings are currently: SyncAccountPosition = true, and "Immediately Submit Live Working Historical Orders" is also checked.
What combination of selections will fix this?
Thank you.
Comment