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 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 noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"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've been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
"I had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
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 »Equity Option Chain Question
Author Topic: Equity Option Chain Question (3 messages, Page 1 of 1)

bards
-Interested User-
Posts: 32
Joined: May 7, 2011


Posted: Sep 8, 2014 08:05 PM          Msg. 1 of 3
Every third Friday of the month, I retrieve option chains for some
stocks that expire the month after.
For example, on Friday Sep 6th, 2014,I retrieve the option for the stock BAC
that expire October 18th, and I only want 2 in the money,
and 2 out the money.

I use this command:

CEO,BAC,pc,JV,,2,2,2\n

For stock BAC, I get many options, a lot of them that expire October 3rd,
October 10th, October 18th, and October 24th. But I only want those that
expire the third week of October, ie, October 18th.
Is there a way to do that?
Am I calling it wrong?

For other stocks, such ADSK, (which only has options that expire third week
of the month), the above call works.

I would appreciate any help/input.

Thanks.

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


Posted: Sep 8, 2014 09:51 PM          Msg. 2 of 3
Hello, there is no option to have these filtered out in the feed currently. However, this should be an easy enough filter to implement on your end. As you know, all monthly expiry contracts do so on the 3rd Friday so the weekly options that expire during the other Fridays can be excluded. Additionally, if you are wanting to exclude Jumbo options, the root of these contracts will have a 'J' appended before the expiry date in the symbol. Likewise, mini options will have a '7' appended I the same location.

bards
-Interested User-
Posts: 32
Joined: May 7, 2011


Posted: Sep 9, 2014 03:32 PM          Msg. 3 of 3
Thanks Steve for your response.
 

 

Time: Fri May 10, 2024 9:39 AM CFBB v1.2.0 12 ms.
© AderSoftware 2002-2003