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 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
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
"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 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
"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
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
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 10:30 AM CFBB v1.2.0 11 ms.
© AderSoftware 2002-2003