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 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
"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 ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
"DTN feed was the only feed that consistently matched Bloomberg feed for BID/ASK data verification work these past years......DTN feed is a must for my supply & demand based trading using Cumulative Delta" - Comment from Public Forum Post
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"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.
"You have an excellent product !!!!!!" - Comment from Arely
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"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
"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
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: Tue April 23, 2024 2:55 AM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003