laughlin
-Interested User-
Posts: 24
Joined: Aug 3, 2005
|
Posted: Dec 7, 2005 11:14 AM
Msg. 1 of 3
Speaking of spoofing time stamps, it would sure be helpful to ping the local DTN IQFeed pgm via sockets and get something similar to a timestamp. No bandwidth to your server. How about it?
Terry Laughlin
|
DTN_Jay_Froscheiser
-VP, Product Operations-
Posts: 1746
Joined: May 3, 2004
DTN IQFeed/DTN.IQ/DTN NxCore
|
Posted: Dec 7, 2005 11:21 AM
Msg. 2 of 3
Can you elaborate a bit on your needs here. I take it you aren't looking for a timestamp specifically, rather than some kind of message to show that IQ is alive? If this is the case, could you use the S,REQUEST STATS message which will give you essentially all the information provided on the IQConnect manager screen (including market time, which still won't have second resolution).
Jay Froscheiser DTN - Trading Markets
|
laughlin
-Interested User-
Posts: 24
Joined: Aug 3, 2005
|
Posted: Dec 7, 2005 01:17 PM
Msg. 3 of 3
Because Windows is threaded, mainstream work may be concurrent with receipt of the updates from IQFeed. To properly mix my work with updates from IQFeed, it would be nice to have coordinating function. In a realtime environment, this is easy in a number of ways. In a non-realtime environment, it is tricky/hard/difficult/impossible.
Therefore, by pinging IQFeed, I can react to the response regardless of other traffic. To work, it must come in on the port that I sent to. For watches, it must come mixed with other watch traffic on the same port. The local part of IQFeed does not have to communicate with the server to meet my needs, just answer the ping.
As you can see from another post, I am simulating this with a force summary message, but the overhead seems a bit high and my coding is a bit obscure as I have to tell my fakes from real fundamental/summary messages.
Ideal would be that I ping(echo) IQFEED with an argument, such as: eARG\r\n
IQFEED responds with: E,ARG\r\n
or 95% of that would be: e\r\n
with a response of: E\r\n
From my point of view, the time stamp is a nice superfluosity. Oh, the actual syntax is irrelevant. The choice to a ping all the way to the server might be nice, but is irrelevant to me.
Terry Laughlin
|