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.
"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"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 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.
"I "bracket trade" all major news releases and I have not found one lag or glitch with DTN.IQ feed. I am very comfortable with their feed under all typical news conditions (Fed releases, employment numbers, etc)." - Comment from Public Forum
"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
"It’s so nice to be working with real professionals!" - Comment from Len
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
"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
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
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 »multiple simultaneous RequestHistory's possible ?
Author Topic: multiple simultaneous RequestHistory's possible ? (2 messages, Page 1 of 1)

mbielinski
-Interested User-
Posts: 15
Joined: Jul 20, 2004


Posted: Jul 20, 2004 12:29 AM          Msg. 1 of 2
I'm developing an IQFeed interface for my app to request historical intraday data, basing it on the "history" example provided. I have not probed too deeply yet, but it appears on the surface that I can make only one request for historical data at a time.

In other words, if I need data for 5 tickers, can I blow out 5 RequestHistories at once, or do I need to do them serially, waiting for the data each time before requesting the next? The absence of handles, requestID's, or other referencing passed back when a request is made suggests the latter.

Any hope for processing multiple history requests simultaneously? If so, can you point me in the right direction?

Michael S Bielinski

tadams
-Interested User-
Posts: 18
Joined: May 7, 2004


Posted: Jul 20, 2004 08:49 AM          Msg. 2 of 2
Michael,

You can perform simultaneous requests if you spawn separate threads. Each thread should connect to port 9100 and will only receive data that was asked for within the scope of that thread. I've had as many as 15-20 threads hitting IQConnect with no problems (would advise using TCP). The only caveat: IQConnect does not detect a TCP disconnect properly - if you create threads as needed to request data IQConnect will eventually crash when it reaches ~2000 prior connections. You may be able to paste 10 or so history ActiveX controls into your application and avoid the disconnect issue, but then you lose the benefit of a compartmentalized thread.

Regards,

Ted
Edited by tadams on Jul 20, 2004 at 08:49 AM
 

 

Time: Thu April 25, 2024 11:37 AM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003