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 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
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"I had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"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
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
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 »Downloading historical data without going through the IQconnect interface.
Author Topic: Downloading historical data without going through the IQconnect interface. (5 messages, Page 1 of 1)

gautham
-Interested User-
Posts: 6
Joined: Sep 22, 2004


Posted: Nov 9, 2004 04:16 PM          Msg. 1 of 5
I would like to automate downloading historical data.
I do not want to be asked userid and password when I download the data.
I would like to download data after close every day.

Is there a way to automate this?

DTN_Jay_Froscheiser
-VP, Product Operations-
Posts: 1746
Joined: May 3, 2004

DTN IQFeed/DTN.IQ/DTN NxCore


Posted: Nov 9, 2004 04:21 PM          Msg. 2 of 5
There is no way to directly access the servers for data. You should only have to log in once to IQFeed, then make your requests for the historical data. You can automate the login process within your code though.

Jay Froscheiser
DTN Market Access, LLC.

gautham
-Interested User-
Posts: 6
Joined: Sep 22, 2004


Posted: Nov 9, 2004 04:27 PM          Msg. 3 of 5
How do I automate the login process with in my code?
Does it involve com programming?
Can you give me an example?

js2004
-Interested User-
Posts: 30
Joined: Jul 19, 2004


Posted: Dec 6, 2004 11:50 AM          Msg. 4 of 5
It should be no problem if you use automatic log in option.

I have been doing it for a long time.

DTN_Glenn_B
-Interested User-
Posts: 14
Joined: Nov 24, 2004


Posted: Dec 6, 2004 01:05 PM          Msg. 5 of 5
What language are you programming in? In order to start IQConnect, you need to be able to call the RegisterClientApp and RemoveClientApp functions in IQ32.dll. If you are using C++, linking the library IQ32.lib and including the IQ32.h header in your project gives you access to the dll. If you are using a language which doesn't utilize .lib files, you need to import the calls into your program. Use the IQ32.h file to see the usage of these functions.
For example, in C#:
[DllImport("IQ32.dll")]
public static extern int RegisterClientApp(IntPtr hClient, string szProductName,
string szProductKey, string szProductVersion);

You need to make sure your .exe is in the same directory as IQConnect.exe so the dll will load properly or add this directory to your path. For the ProductName, be sure to use the name you registered when you set up your account.

After registering your app, all data can be retrieved via TCP ports, the ActiveX control, or the COM interface.

When the IQConnect asks for your login information, you can select "Automatically Connect". This can also be set programatically using the SetAutoLogin and ClearAutoLogin functions.

Glenn Benes

Glenn Benes DTN Market Access, LLC.
 

 

Time: Thu May 2, 2024 1:29 PM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003