Last night there was a connection loss on both my order and price feeds. I have set some rules how to act in such a situation and all worked as supposed: after 14 minutes of disconnetion strategies should be disable if there is no reconnection in the 15th minute after 30 attempts (every two seconds).
But last night five of my 19 strategies stayed enabled (green), where the other 14 disabled as supposed. When this morning the connection re-established (it was a quite serious problem with my ISP) the 14 enabled fine.
My question is where to look first at why five strategies did not disable. I have a code running which override OnTermination(), which disposes the mytimer. But other strategies which disabled have this same part of code. Does the disabling act sequencially, starting with the first strategy to go to the last one? Because all the last five except the very last strategy were still enabled after 15 minutes of being diconnected. Any ideas?
Thanks in advance,
Francis
Comment