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
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"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.
"I'm very glad I switched to IQFeed. It's working perfectly with no lag, even during fast market conditions." - Comment from Andy via Email
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
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 »Getting Regional quotes
Author Topic: Getting Regional quotes (3 messages, Page 1 of 1)

nsolot
-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);

Questions:

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?

DTN_Tim_Russell
-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

nsolot
-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: Wed May 1, 2024 5:48 PM CFBB v1.2.0 17 ms.
© AderSoftware 2002-2003