Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"I was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"You are either overstaffed or people just don't have problems with your feed because customer support always answers the phone quickly." - Comment from Jay via Email
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Archive (2017 and earlier) »IQFeed Developer Support »Race Condition for S,REGON,
Author Topic: Race Condition for S,REGON, (6 messages, Page 1 of 1)

FullyArticulate
-DTN Guru-
Posts: 332
Joined: Sep 22, 2005


Posted: Jan 17, 2006 06:19 PM          Msg. 1 of 6
I'm guessing the IQfeed server checks to see if you're watching a symbol before allowing you to subscribe to regionals. However, there seems to be a race condition on the server itself.

A program which sends:
"wSPY\r\nS,REGON,SPY\r\n" will never get regional data. However, if you wait until the fundamental quote arrives and send the REGON command, it works fine.

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Jan 18, 2006 08:53 AM          Msg. 2 of 6
from brief testing this morning, sending "wSPY\r\nS,REGON,SPY\r\n" does in fact return regionals. I am not sure what would cause it to not work for you. However, there should be no need to ever send "wSPY\r\nS,REGON,SPY\r\n". You can simply request regionals, 'S,REGON,SPY\n", and IQConnect will automaticly issue a watch command for the symbol if it is currently unwatched.

FullyArticulate
-DTN Guru-
Posts: 332
Joined: Sep 22, 2005


Posted: Jan 18, 2006 10:36 AM          Msg. 3 of 6
That's really odd--the exact same code would not run last night at about 6pm eastern (tried dozens of times with dozens of symbols). I would get quotes, but no "R" records. Today, it works great.

FullyArticulate
-DTN Guru-
Posts: 332
Joined: Sep 22, 2005


Posted: Jan 18, 2006 11:10 PM          Msg. 4 of 6
There's still something odd here. Tonight (like right now), if I issue:

"wSPY\r\nS,REGON,SPY\r\n"
I get market depth no problem. However, if I issue:

"wTUO MW\r\nS,REGON,TUO MW\r\n"
I get no market depth at all. However, if I wait for the fundamental quote to arrive for TUO MW and then S,REGON,TUO MW, it works fine.

This still feels like a race condition on the server side.

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Jan 19, 2006 09:26 AM          Msg. 5 of 6
I'm looking into this further.

FullyArticulate
-DTN Guru-
Posts: 332
Joined: Sep 22, 2005


Posted: Jan 19, 2006 12:04 PM          Msg. 6 of 6
Hi Steve,

Thanks! It appears to be continuing during the day today. TUO MW will not get regionals if the S,REGON is sent as a burst with the watch, but others will.
 

 

Time: Sun May 5, 2024 7:23 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003