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)




"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"I am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
"I started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"It’s so nice to be working with real professionals!" - Comment from Len
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
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: Wed May 8, 2024 6:21 AM CFBB v1.2.0 17 ms.
© AderSoftware 2002-2003