FIRST PROBLEM
The strategy failed immediately because it tried submitting an active historical order using the same historical position size and was rejected.
BUG? NT uses the same size of the active historical order to attempt to enter a position into the live account but gets rejected and the system shuts down.
So I disabled that in the Options and so that it waits until flat.
SECOND PROBLEM
With Options set to wait until flat before trading, the strategy never exited the most recent active historical position.
5 minutes past when it should have hit the profit target, I reloaded Ninjascript on the chart and it correctly exited the historical position.
FINALLY
Finally when there was no active historical trade, the system traded properly. It entered and exited according to the rules and used the correct real time trade size.
QUESTIONS
Is there any known bugs around dealing with active historical orders? If not, I can report this under 6.5 beta issues.
MAJOR CONCERN
This presents a major problem whenever you need to restarting the strategy due to a software or system failure. If it already has a position, how does it re-synchronize when restarting?
Sincerely,
Wayne
Comment