I have encountered an unexpected behavior with position management while using real-time data.
A crossover strategy is supposed to go long or short with quantity 1. I have named the entry and exit signals consistently.
I have set entries per direction = 1 and entry handling: "unique entries"
I ended up with a Position of 2 shorts!!
It seems that NT tried to close a previous long position (1 quantity) itself (outside the strategy), while the strategy shorty before was Exiting the long position itself (almost same time). I named all entries and exits and linked them correctly. I have no "Close Position" order name in my conditions.
How can I avoid such behavior? It never happened with historical data. I used subscribed Kinetick data feed (15mins delayed).
Kind regards,
Stefan
Comment