I am doing error-handling testing for my strategy. One of the test I did was to let TWS daily shutdown happen while a trade was on, ie. Ninja had a working target/stop pair in TWS.
After manually re-launching TWS, and asking Ninja to connect to TWS, Ninja gets stuck in the connecting status for that TWS connection. From there it never reach the 'Connected' status.
I tried that several times, it only happens when Ninja has working orders before the TWS shutdown.
This is easily reproducible, but I could provide my trace file if needed.
Thanks in advance
Dominique
Comment