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)




"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.
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"I just wanted to let you know how fast and easy I found it to integrate IQFeed into our existing Java code using your JNI client. In my experience, such things almost never go so smoothly - great job!" - Comment from Nate
"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
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"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
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"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
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
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: Sun April 28, 2024 4:44 PM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003