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 used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"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
"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
"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
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"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
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 Chain Lookup
Author Topic: Option Chain Lookup (9 messages, Page 1 of 1)

bill_lansa
-Interested User-
Posts: 6
Joined: Jun 24, 2016


Posted: Jun 24, 2016 09:37 AM          Msg. 1 of 9
I am looking at the documentation from here: http://www.iqfeed.net/dev/api/docs/OptionChainsviaTCPIP.cfm

Trying to request a future chain from IQFeed.

When I attempt to send the following:
CFU,C,FGHJKMNQUVXZ,6789012345,,TESTREQUEST<CR><LF>

I do not get a response back.

I am using the C# Example as a test, and modified the code a bit to send that command. In my console window, I see my "T" data feed come in, but no information from my "CFU" call.

T,20160624 10:33:26
T,20160624 10:33:26
CFU,C,FGHJKMNQUVXZ,6789012345,,TESTREQUEST
Request Send Successfully:
T,20160624 10:33:24


Am I missing anything?

Thanks

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jun 24, 2016 09:42 AM          Msg. 2 of 9
Good morning,

C is not valid now that pit trade is gone. Use @C to access the electronics and you will get the expected results.

TESTREQUEST,@CN16,@CU16,@CZ16,@CH17,@CK17,@CN17,@CU17,@CZ17,@CH18,@CK18,@CN18,@CU18,@CZ18,@CN19,@CZ19,
TESTREQUEST,!ENDMSG!,


Tim

bill_lansa
-Interested User-
Posts: 6
Joined: Jun 24, 2016


Posted: Jun 24, 2016 09:47 AM          Msg. 3 of 9
Thanks for the quick response. (I should have known about the @C!!)

I just tried the command: CFU,@C,FGHJKMNQUVXZ,6789012345,,TESTREQUEST


T,20160624 10:45:06
T,20160624 10:45:05
CFU,@C,FGHJKMNQUVXZ,6789012345,,TESTREQUEST
Request Send Successfully:
T,20160624 10:45:04

Still not able to see the results. Is my command correct? Anything else I am missing?

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jun 24, 2016 09:59 AM          Msg. 4 of 9
Your doing a lookup request, so you need to connect to the Lookup port. (9100 default).

Since your getting timestamps, it appears you are connected to Level1 (5009 default).

Tim

bill_lansa
-Interested User-
Posts: 6
Joined: Jun 24, 2016


Posted: Jun 24, 2016 10:02 AM          Msg. 5 of 9
Thank you!

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jun 24, 2016 10:05 AM          Msg. 6 of 9
Your welcome, sorry I didn't notice both details on the first reply.

Tim

bill_lansa
-Interested User-
Posts: 6
Joined: Jun 24, 2016


Posted: Jun 28, 2016 12:28 PM          Msg. 7 of 9
Hi Tim,

The lookup is working correctly, but I have a related question. I am doing a lookup for @QG:

command:
CFU,@QG,FGHJKMNQUVXZ,6789012345,,LOOKUP

returning with:
LOOKUP,@QGQ16,@QGU16,@QGV16,@QGX16,@QGZ16,@QGF17,@QGG17,@QGH17,@QGJ17,@QGK17,@QGM17,@QGN17,@QGQ17,@QGU17,@QGV17,@QGX17,@QGZ17,@QGF18,@QGG18,@QGH18,@QGJ18,@QGK18,@QGM18,@QGN18,@QGQ18,@QGU18,@QGV18,@QGX18,@QGZ18,@QGF19,@QGG19,@QGH19,@QGJ19,@QGK19,@QGM19,@QGN19,@QGQ19,@QGU19,@QGV19,@QGX19,@QGZ19,@QGF20,@QGG20,@QGH20,@QGJ20,@QGK20,@QGM20,@QGN20,@QGQ20,@QGU20,@QGV20,@QGX20,@QGZ20,@QGF21,@QGG21,@QGH21,@QGJ21,@QGK21,@QGM21,@QGN21,@QGQ21,@QGU21,@QGV21,@QGX21,@QGZ21,
LOOKUP,!ENDMSG!,


The result is good, but when I try to watch Level1 for these, I get:
n,@QGQ16
n,@QGU16
etc.

Should these be available for Level1?

Thanks,

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jun 28, 2016 01:35 PM          Msg. 8 of 9
Hello,

You would need to be permissioned for delayed or real time Nymex exchanges to see these quotes.

I did not find your IQFeed account, but that is likely the issue. The same is true of Comex exchange quotes also, fyi. If you want to have them added you can certainly call us or add them via the manage account link at https://my.telventdtn.com/storefront/login

Let me know though if you believe you have already subscribed to these and we can discuss further.
Tim

bill_lansa
-Interested User-
Posts: 6
Joined: Jun 24, 2016


Posted: Jun 28, 2016 01:40 PM          Msg. 9 of 9
Thanks Tim!

I am working on behalf of a client of mine -- I will reach out to them with regards to the permission to access real time NYMEX data.

I will post here if I have any further questions. Thanks!
 

 

Time: Sun May 19, 2024 11:58 AM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003