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)

"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"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
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"I was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. via Email
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"Version 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.
"I used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
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 »IQFeed Developer »IQFeed Developer Support »Getting Regional quotes
Author Topic: Getting Regional quotes (3 messages, Page 1 of 1)

-DTN Guru-
Posts: 273
Joined: Sep 4, 2004

Posted: Dec 2, 2004 09:08 AM          Msg. 1 of 3
Having some troubles. I'm using modified code based on the C++ Watchlist example, here's a snippet from StartStreaming():

m_soc.Send(request, sizeof(request)-1); //Get quotes, this works fine

char Regional[100];
memset(Regional, 0x00, sizeof(Regional));
strcpy(Regional, "S,REGON,QQQQ\n");
m_soc.Send(Regional, sizeof(Regional)-1);


1. Am I doing something obviously wrong?
2. I'm assuming I should see messages being delivered to same same HandleMessage function as "Q" quote updates, but regional message should begin with "R". Am I mistaken?
3. I can't find anything in the API on GetLastError() or the return codes. Is this documented somewhere?

-IQ Server Developer-
Posts: 41
Joined: May 3, 2004

DTN Market Access, LLC.

Posted: Dec 3, 2004 09:54 AM          Msg. 2 of 3
Shouldn't those sizeof()'s be strlen()'s? Just wondering, not sure how IQFeed will respond to all those extraneous nulls.

Tim Russell
Software Engineer
DTN IQ & FinWin

-DTN Guru-
Posts: 273
Joined: Sep 4, 2004

Posted: Dec 3, 2004 10:23 AM          Msg. 3 of 3
I agree. I was just following the sample code in the WatchList app provided.

I got it working by inserting some Sleep(200) between the Sends. I guess the connection manager needs a bit of time to process one request before I send another one.


Time: Mon May 16, 2022 12:45 AM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003