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 would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - Comment from Public Forum
"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"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
"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.
"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
"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
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 »I need an Vb.net example Urgent
Author Topic: I need an Vb.net example Urgent (16 messages, Page 1 of 1)

Pete501
-Interested User-
Posts: 11
Joined: Jan 20, 2008


Posted: May 15, 2008 12:24 PM          Msg. 1 of 16
_Can anyone give me an example in vb.net to do a request of the bid or bidsize or ask or asksize using the API ?
I really need this .

For example, imagine that I want to grab the values in real time for AAPL , I would ile to display the data like this;

Bidsize Bid Ask Asksize LastSize LastPrice Volume High Low.

I would like to show this to my developer to see if he can do this .

Thanks
Regards
Pete

Pete

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


Posted: May 15, 2008 12:38 PM          Msg. 2 of 16
Hello Pete, We do provide vb.net (2005) example applications (including full source code) for retrieving data from IQFeed via Sockets and/or COM Interoperability along with the developer API package.

If your developer is familiar with .NET sockets communications or with .NET COM interoperability, he should not have a problem using IQFeed.

Pete501
-Interested User-
Posts: 11
Joined: Jan 20, 2008


Posted: May 15, 2008 04:33 PM          Msg. 3 of 16
Hello,

But do I need to buy the license for one year ? the one that costs $300 or could you post the vb.net source code here in the forum?

I just want to see if he can manage the code, once he gives me the OK I will then subscribe the API. I am already a client of Iqfeed.

Thanks
Pete

Pete

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


Posted: May 15, 2008 05:03 PM          Msg. 4 of 16
Pete, yes, the developer API subscription is $300/yr which includes full documentation, example apps (with source code), dev tools for data verification, and support directly from the developers of the IQFeed client application so if your developer has problems with the feed, we will help him figure out what is causing it.

The example apps are only made available in the private developer section of the website.

As I mentioned before, the feed is very straight forward in terms of requesting and retrieving data. We provide a TCP sockets interface as well as a COM interface for requesting data. If your developer is familiar with Sockets and/or COM in VB.NET, he/she shouldn't have any problems understanding the examples and howto use the feed. Additionally, we are available to answer questions should they arise.

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

DTN IQFeed/DTN.IQ/DTN NxCore


Posted: May 15, 2008 10:48 PM          Msg. 5 of 16
Pete,

I would suggest you have your developer look at the Quick Start Guide at www.iqfeed.net/dev as well. This will give him enough information to determine if he will be able to implement IQFeed. If he is familiar with Sockets programming (sending and receiving data on sockets) he should be fine...

Jay Froscheiser
DTN - Trading Markets

Pete501
-Interested User-
Posts: 11
Joined: Jan 20, 2008


Posted: May 16, 2008 02:49 AM          Msg. 6 of 16
Ok, I will subscribe the API just to see the examples.
You assure that getting data via the API is faster than the DDE of Iqfeed?

Pete

Pete501
-Interested User-
Posts: 11
Joined: Jan 20, 2008


Posted: May 16, 2008 03:02 AM          Msg. 7 of 16
One detail.
The application in vb.net is done to work with Interactive Brokers data feed.
So, what I want to know is if it´s to difficult to migrate it all to Iqfeed.
Are there many changes to do in this case?
I am just insisting in the API due to the trade rate that it might provide me.
Right now using my Excel application I just get 8 updates per second in the spreadsheet which is very poor in a market that has instruments with trade rates of 100 trades per second. I hope that with the API COM I get at least a considerable trade rate of 40 updates per second to each instrument.
For instance, to have an idea of the ridiculous trade rate of Interactive Brokers, they just provide a trade rate of 4 updates per second. If I want to calculate real order flow, what use can I get with a data feed that updates 4 times per second (in snapshot,not real tick)maximum when a instrument like S&P has a trade rate of 100 straight trades per second or more?
IQfeed DDE using Excel gives me 8-9 updates per second which is poor too.

I hope using Iqfeed API would improve this issue.

Pete

stargrazer
-DTN Guru-
Posts: 302
Joined: Jun 13, 2005

Right Here & Now


Posted: May 16, 2008 05:21 AM          Msg. 8 of 16
Pete501.

With IQFeed, you may end up 'drinking from the firehose'.

With some of the high order flow instruments, I'm pretty sure DDE will be overloaded from the amount of traffic IQFeed will present, all trades, all quote changes. Using the COM interface with VB in a spreadsheet will probably alleviate that. But one caveat, ... a spread sheet interface with high order flow may choke as well, just due to the processing overhead of the spreadsheet interface.

It will be interesting to hear about the results.

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


Posted: May 16, 2008 01:45 PM          Msg. 9 of 16
Pete, IQFeed delivers every update received from the exchange to your app (assuming your app/connection can keep up). If something updates 40 times per second, you should be receiving 40 updates per second.

As stargrazer pointed out, this can end up being a very large volume of data and it is certainly possible that the DDE interface wouldn't be able to keep up depending upon the actual volume of data you are requesting.

Unfortunately, I am not familiar with the intricacies of IB's datafeed so I am unable to make any suggestions based upon how easy it is to convert from one feed to the other, however, I know that several of our other 3rd party developers use both datafeeds in thier apps so if you run into any specific issues, you can probably get another perspective here on the forums.

JDonovan
-Interested User-
Posts: 24
Joined: Feb 11, 2007


Posted: May 21, 2008 08:03 PM          Msg. 10 of 16
Pete, IQFeed delivers every update received from the exchange to your app

FOR the data that IQ provides, which does not include regional quotes only BBO.

- Jeff

Edited by JDonovan on May 21, 2008 at 08:05 PM

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


Posted: May 22, 2008 08:36 AM          Msg. 11 of 16
Jeff, it is certainly possible to receive regional quotes from IQFeed, they are simply not turned on by default because most users do not need them and they are very bandwidth intensive.

Pete501
-Interested User-
Posts: 11
Joined: Jan 20, 2008


Posted: May 23, 2008 06:04 AM          Msg. 12 of 16
This is why I need reliable data. And fast .
This is an example of an order flow chart, the speed is not enough for excel because I only get 8-9 updates per second. I hope that in a compile app the speed would be higher using the API .
The blue line is the S&P , the black line is the indicator

Pete



File Attached: DTN forum.PNG (downloaded 1532 times)

Pete501
-Interested User-
Posts: 11
Joined: Jan 20, 2008


Posted: May 23, 2008 06:07 AM          Msg. 13 of 16
This is the same chart but in a 15 second time frame order flow

Pete



File Attached: DTN forum2.PNG (downloaded 1549 times)

stargrazer
-DTN Guru-
Posts: 302
Joined: Jun 13, 2005

Right Here & Now


Posted: May 23, 2008 06:45 AM          Msg. 14 of 16
I'm using IB's API for submitting orders and IQFeed's API for data. I do use IB's API for data for out of hours testing. I use IB and IQFeed in a C++ environment. For IB, they have a C++ header file. For IQFeed, I use the TCP interface and decode the ASCII data streams directly.

For your purposes, Both IB and IQFeed do have COM interfaces for use with VB.

Each interface is different, and as such, things are done a bit differently. Things like symbol requests in IQFeed are different from IB. The data callbacks on trade/quote updates are different.

If you compile an application for use with an IQFeed stream, you should have no problems handling updates. If you get in to many symbols or have complicated calculations, then programming correctly and efficiently becomes more important.

As a note, IB does filter traffic at the server end and only provide the three or four updates per second that you are seeing. As IB is predominately a Java based visual trading application, faster data rates aren't needed. As IQFeed is designed for program trading, you get all the quotes/trades as they happen, which is substantially more traffic than what passes through IB.

Pete501
-Interested User-
Posts: 11
Joined: Jan 20, 2008


Posted: Jun 21, 2008 08:02 AM          Msg. 15 of 16
.Jeff, it is certainly possible to receive regional quotes from IQFeed, they are simply not turned on by default because most users do not need them and they are very bandwidth intensive.

How can I have the regional quotes turned on?
I would like to have them too if I have that right.

Pete

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


Posted: Jun 23, 2008 09:04 AM          Msg. 16 of 16
Pete, I am not finding an IQFeed account based upon your forum information. If you can you send me a Private message via the forums with some information to find your account (any of phone/email/name/address/etc), I can get you more information. Additionally, assuming that you do have an API account, you can find how to turn on regional quotes in the section titled: "Regional Data via TCP/IP".
 

 

Time: Fri May 3, 2024 5:26 PM CFBB v1.2.0 14 ms.
© AderSoftware 2002-2003