With orderStatus it's the same.
To come back to my initial problem, how do i "reconnect" when the datastream freezes.
If the network goes down and the up, nt will say that i'm connected but the data stream will be frozen at the last market update.
If the data stream is frozen onbarupdate, onmarketdata and onmarketdepth won't be called hence algos.
So how do i make nt check if the datastream is flowing.
I don't want the market to go against me and no alert popping up.
Regards
JF

Comment