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 just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"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
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"I was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. via Email
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"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
"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
"You have an excellent product !!!!!!" - Comment from Arely
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 »Sample console application using COM
Author Topic: Sample console application using COM (5 messages, Page 1 of 1)

xen
-Interested User-
Posts: 15
Joined: Nov 12, 2006


Posted: Nov 12, 2006 09:29 PM          Msg. 1 of 5
Hi All,

I was wondering if anyone had a sample app that uses COM for Level I/II and History? I've got a little C++ console app running using the TCP/IP interface but I think the COM interface would be much quicker and I wouldn't have to parse all the data. I know the supplied sample C++ applications show this but I was looking for something much simpler, perhaps something that didn't have all the GUI stuff wrapped with it. I'm not really familiar with all the VC++ workings.

Thanks in advance,
Joseph

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Nov 13, 2006 05:13 PM          Msg. 2 of 5
Joseph, we (DTN) currently do not have any example code for what you are asking.

I will check into this a bit more tomorrow

TLikins
-Interested User-
Posts: 32
Joined: Jul 11, 2005

Howdy


Posted: Nov 20, 2006 11:59 AM          Msg. 3 of 5
Hi Joseph,

I was wondering why you think the COM interface is faster than the TCPIP interface.
It would seem to me that a COM object talking to DTN would still have to use the
TCPIP interface since it goes through the internet. I think that due to all of the marshalling of the data through a COM object, it is inherently SLOWER than the TCPIP
socket. I don't know the exact methods that DTN uses to talk to the servers but I would bet that they use the TCPIP one for the reason mentioned above. Please explain if I
am incorrect, this COM stuff is pretty complex.

Good Luck

xen
-Interested User-
Posts: 15
Joined: Nov 12, 2006


Posted: Nov 21, 2006 10:34 PM          Msg. 4 of 5
TLikins,

Thanks for the response, yeah I didn't fully realize that I would still be doing string tokening on the Level I data even with the COM object. That was my only reason for wanting the object...but it looks like that is unavoidable.

TLikins
-Interested User-
Posts: 32
Joined: Jul 11, 2005

Howdy


Posted: Nov 22, 2006 12:35 PM          Msg. 5 of 5
Joseph,

I don't know what development platform you use but most modern tools have things like
list objects that automatically parse the data for you. I use the Borland C++ Builder for my
development. One of the objects that I use is a string list component. One of the properties
is the word separator character. By specifying what character you want to use to split a
string, ie space or coma, it becomes very easy to select the string list index for the field
you want. I don't know how Microsoft does this with their IDE but there must be something
similar.

Good luck
 

 

Time: Sat May 18, 2024 5:20 PM CFBB v1.2.0 5 ms.
© AderSoftware 2002-2003