I'm running a server in the cloud.
I connect to this using RDP.
The server runs NinjaTrader. I am using IQFeed as a dataprovider, and IB as the broker.
Occasionally the connection with IQFeed/NinjaTrader will drop (it briefly goes red in the status bar, NinjaTrader states "Connection Lost", but then I immediately hear a reconnection noise).
I get something like this in the log:
8/1/2013 10:56:43 AM|1|2|IQFeed1: Primary connection=ConnectionLost, Price feed=ConnectionLost
8/1/2013 10:56:43 AM|3|128|Strategy 'iPEADv4032wSSO/dd6a3bf959704d2cbda6f9a5fd78f1bc' lost price connection but will keep running.
8/1/2013 10:56:44 AM|1|2|IQFeed1: Primary connection=Connected, Price feed=Connected
This is not necessarily a problem, but is obviously not desirable either.
However, more of a problem seems to occur when I use RDP to connect to the server, but over a bad internet connection (i.e. 3G). When my connection to the RPD drops, this appears to correlate with a connection problem between IQFeed/NT. It appears that something gets stuck/interfered somewhere in the network stack. This can cause more terminal problems with the NT/IQFeed connection, whereby NT cannot automatically re-connect to IQFeed. Instead, I have to us the "IQLink Launcher" application to re-start IQFeed. Fwiw, my connection between NinjaTrader and IB *never* has problems.
This sounds odd/unrealistic but I'm pretty convinced the two events are related - e.g. dropped RDP connection causes a dropped IQFeed connection.
Moreover, this leads to a catch 22 problem - I cannot check for problems on my server, because it will cause the problems itself!
Any ideas?
Comment