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'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 cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"I started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"Everything is working great with the API. I love it." - Comment from Calvin
"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
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"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
"Excellent datafeed !!!" - 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 »Option chains and option quotes
Author Topic: Option chains and option quotes (5 messages, Page 1 of 1)

Kares
-Interested User-
Posts: 26
Joined: Aug 18, 2004


Posted: Feb 28, 2005 07:37 PM          Msg. 1 of 5
I am adding option capability to my application.

I would like to get a list of all exchange traded options (Stock Options, OPRA) to build a database of option symbols to choose from. What I envision is entering a stock symbol and getting the symbols associated with the option returned in a bunch.

Once I have the symbols, how do I submit the request to IQFEED to get the quote?

Can I get historical quotes for options?

What is the breakdown of information returned for an option quote? Bid, ask, open interest, volume, last trade size, etc?

??????

Kary Ball

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

DTN IQFeed/DTN.IQ/DTN NxCore


Posted: Feb 28, 2005 08:24 PM          Msg. 2 of 5
Option quotes are handled just like any other symbol. For options data, you have a couple things available. One, you can make an option chain request (see API documentation) which will give you a list of valid option symbols for an underlying equity (exactly what you 'envisioned'). Otherwise, we also provide a list of root option symbols and leap symbols as fundamental data when you pull a quote for an underlying equity.

So, you get a list of option symbols, then you would make a quote request for the individual option contracts ('root space monthyear' is the format for options).

You can also get intraday and historical data for options just like with equity symbols.

On quote data you will get all of the fields you mention. Pull a quote and you will see the full list of data that is populated with the request.

Jay Froscheiser
DTN Market Access, LLC.

Kares
-Interested User-
Posts: 26
Joined: Aug 18, 2004


Posted: Mar 1, 2005 01:41 PM          Msg. 3 of 5
I am having problems using the code in a VB.NET program. Please take a look at the following code:

For history:
Dim WithEvents hlookup As DTNHISTORYLOOKUPLib.HistoryLookup ' History COM object
For Option Chain:
Dim WithEvents OptLookup As DTNOPTIONCHAINLOOKUPLib.IOptionChainLookup

The DTNHISTORYLOOKUPLib line is fine.. I get a syntax error on the DTNOPTIONCHAINLOOKUPLib line when I add the word WithEvents.

Is there an example of the OPTIONCHAINLOOKUP function in VB or VB.NET????

Kary Ball

Kary Ball

Kares
-Interested User-
Posts: 26
Joined: Aug 18, 2004


Posted: Mar 14, 2005 09:28 PM          Msg. 4 of 5
Any chance this one might get an answer?

Kary Ball

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

DTN Market Access, LLC.


Posted: Mar 15, 2005 03:43 PM          Msg. 5 of 5
Kares,

There is not currently a VB or VB.NET example that uses OptionChainLookup.

You are getting the error because OptionChainLookup does not have events. If you remove WithEvents, it will work fine. You also need to add a reference to the DTNOptionChainLookup type library, if you haven't already done so.

Thanks!

Natalie Hannan DTN Market Access, LLC.
 

 

Time: Sat May 18, 2024 12:05 PM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003