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)




"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.
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"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
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"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
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - 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 »Open Interest and The Greeks
Author Topic: Open Interest and The Greeks (9 messages, Page 1 of 1)

shortorlong
-Interested User-
Posts: 16
Joined: Jan 31, 2008


Posted: Feb 3, 2008 11:27 AM          Msg. 1 of 9
a) How can we determine open interest for a given option? Does IQFeed provide this data somehow?


b) I also want to compute the greeks, I know that I will ned to compute this myself. I have a few formulas I found that show how to do it, not too bad. Curious though, does anyone have code/pseudo-code on how to calculate the greeks they could post?


Cheers,

shortorlong
-Interested User-
Posts: 16
Joined: Jan 31, 2008


Posted: Feb 3, 2008 07:30 PM          Msg. 2 of 9
I see that HD queries return open interest. Does that mean I can only see open interest on a daily basis? Is yesteday's open interest the best I can get or can I get more recent open interest by doing the query for today?

shortorlong
-Interested User-
Posts: 16
Joined: Jan 31, 2008


Posted: Feb 3, 2008 10:08 PM          Msg. 3 of 9
Bizarre - When doing an 'HD' query for an option, I get the proper OHLC values, and the volume looks okay, but Open Interest is set to 0 for every option.

Anyone else getting open interest all 0s?

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


Posted: Feb 4, 2008 03:08 PM          Msg. 4 of 9
Open Interest is not reported for all symbols. Can you tell me which symbols you are looking for Open Interest?

shortorlong
-Interested User-
Posts: 16
Joined: Jan 31, 2008


Posted: Feb 4, 2008 08:46 PM          Msg. 5 of 9
Thanks for all of the help Steve!


I haven't been able to find open interest for any of the Nasdaq option symbols. All of the google options for example, GOO IT, GOO NT, etc have 0 open interest.

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


Posted: Feb 5, 2008 09:15 AM          Msg. 6 of 9
After chatting with the server team, it turns out that only futures have open interest stored in history.

shortorlong
-Interested User-
Posts: 16
Joined: Jan 31, 2008


Posted: Feb 6, 2008 11:21 AM          Msg. 7 of 9
Does anyone have suggestions on how we can calculate open interest? It seems that knowing this figure is pretty important.

Thanks again,

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


Posted: Feb 6, 2008 01:23 PM          Msg. 8 of 9
Open interested is supplied in the Level 1 data (streaming quotes) for all symbols that the exchange provides it.

Judging from the example here:
http://www.investopedia.com/terms/o/openinterest.asp

I do not know of anyway that it can be calculated without knowing a lot more information than what is provided in the exchange datafeed.

R6Solutions
-Interested User-
Posts: 7
Joined: Feb 9, 2008

Imagination is more important than knowledge


Posted: Feb 9, 2008 12:44 AM          Msg. 9 of 9
Quote: a) How can we determine open interest for a given option? Does IQFeed provide this data somehow?


b) I also want to compute the greeks, I know that I will ned to compute this myself. I have a few formulas I found that show how to do it, not too bad. Curious though, does anyone have code/pseudo-code on how to calculate the greeks they could post?


Cheers,
--- Original message by shortorlong on Feb 3, 2008 11:27 AM
For the greeks you need a cost to carry assumption (rate), a volatility assumption (rate), an interest rate (there's all kinds - open interest - yields to expiration for reversals or conversions - in the money - out of the money). You need a strike - a stock price range and an expiration.

Volatilities can be computed - they're like a moving average and a function of the underlying stock, unlike a VIX, which is a function of the option (i think).

An open interest might work.

All the greeks require a guy called the "partial derivative". Then - depending on which greeks you are interested in, the derivatives are a variation on a theme.

You can visit my web site for more info - and there is a book by Haug that offers the formulas - but some of them call Excel functions - and some - when you implement them do not agree with his results. If you make your question more specific - I might be able to help you with details.

If you're going to work with assumptions it would be pretty easy - but if you're rendering from market data, then your first effort should be to establish your metrics for volatilities and interest.
 

 

Time: Fri May 3, 2024 12:37 AM CFBB v1.2.0 12 ms.
© AderSoftware 2002-2003