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)




"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"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.
"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.
"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
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - Comment from Public Forum
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"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
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 »HistoryLookup for DotNet
Author Topic: HistoryLookup for DotNet (3 messages, Page 1 of 1)

AlexBellrock
-Interested User-
Posts: 8
Joined: Feb 1, 2005


Posted: Feb 1, 2005 05:01 AM          Msg. 1 of 3
I am a developer at Bellrock Capital and am getting started with the IQFeed API for DotNet.

One function we require is to retrieve a history for a given symbol (e.g. last 10 days for MSFT). From the documentation, it seems I need to use a HistoryLookup object (from DTNHistoryLookup.dll) - however, when I try adding this to my Visual Studio toolbox, this does not give me any components - possibly this is not a DotNet compatible control?

Thanks for your help,

Alex.

AlexBellrock
-Interested User-
Posts: 8
Joined: Feb 1, 2005


Posted: Feb 2, 2005 05:32 AM          Msg. 2 of 3
Replying to this one myself after some further research ...

The HistoryLookup object cannot be used as a drag and drop control from Visual Studio designer but can be used successfully in DotNet by adding a reference to DTNHistoryLookup and using code such as the follows (here in C#) :

// connect HistoryLookup object
m_historyLookup = new HistoryLookup();

// hook up HistoryLookup events
m_historyLookup.DayCompleted += new _IHistoryLookupEvents_DayCompletedEventHandler(m_historyLookup_DayCompleted);


private void m_historyLookup_DayCompleted(int noDays_, object objTime_, object objOpen_, object objClose_, object objHigh_, object objLow_, object objVolume_)
{
// handle results here
}



Alex.

DTN_Natalie_H
-DTN Evangelist-
Posts: 175
Joined: May 10, 2004

DTN Market Access, LLC.


Posted: Feb 2, 2005 11:07 AM          Msg. 3 of 3
Alex,

FYI - We provide a COM interface, and a socket interface. You may use which ever one you are more comfortable with.

Thanks!

Natalie Hannan DTN Market Access, LLC.
 

 

Time: Sun May 26, 2024 5:29 AM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003