I am running my strategy on few instruments and I have indicated today after night session that I have two stop loss orders connected to one position. I have checked logs and its extract you can find in pdf attachment.
As you can see the second stop loss was submitted few hours after opening a position. In log files I found information that second stop loss order was submitted just after connection problems.
Please note that I use Historical function in my code so when I start my strategy it only process real time data. My Ninja Script Options are as given in the attachment.
I have also CalculateOnBarClose set to true and I am running my strategy on 60-minute time frame.
What is the reason of such situation? Please support.
Comment