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)




"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
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"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
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
"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
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
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) »DTN.IQ Client Software Support »How to check if Level 1 symbol is invalid?
Author Topic: How to check if Level 1 symbol is invalid? (4 messages, Page 1 of 1)

camping89
-Interested User-
Posts: 2
Joined: Jul 11, 2014


Posted: Jul 11, 2014 04:33 AM          Msg. 1 of 4
My question is same as topic name:

How to check if Level 1 symbol is invalid?

I send wAAAA.TES\r\n as a watch command for example, but I don't receive anything from level 1 port. My expectation is some kind of messages like "Invalid Symbol" or I should check if AAAA.TES is valid before sending.

By the way, what is different between watch(w) and trade(t) command?
wMSFT and tMSFT...

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


Posted: Jul 11, 2014 08:04 AM          Msg. 2 of 4
Hello, you will get back a not found message. You could verify this in a telnet window as well.

wQPPG
Q,QPPG,,Not Found,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

As to the (t)Watch vs the (w)Watch, the w is to watch everything, trades, bids, asks, etc. The t watch will only pull through trades, this would allow for easier processing of the data stream if you did not need the bid and ask prices.

Tim

Edited by DTN_Steve_S on Jul 11, 2014 at 08:16 AM

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


Posted: Jul 11, 2014 08:16 AM          Msg. 3 of 4
In addendum to Tim's reply about the format of the Invalid symbol message, the

Q,QPPG,,Not Found,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

Format is for the IQFeed 4.9 protocol only. If you have set your protocol to 5.0 or greater you will get a

n,QPPG

message instead to indicate an invalid symbol.

camping89
-Interested User-
Posts: 2
Joined: Jul 11, 2014


Posted: Jul 13, 2014 08:54 PM          Msg. 4 of 4
Thanks a lot, I'm using IQFeed 5.1 protocol. And I can see the n,QPPG now.

This solved my problem.
 

 

Time: Sat May 4, 2024 3:08 PM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003