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)




"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
"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.
"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
"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
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"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
"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
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"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
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 »NEW IQFEED FORUMS »New IQFeed Forum »Lookup: SLM / SST / STC / SSC / SNC [RequestID] causes error
Author Topic: Lookup: SLM / SST / STC / SSC / SNC [RequestID] causes error (3 messages, Page 1 of 1)

jobrieniii
-Interested User-
Posts: 2
Joined: Oct 10, 2020


Posted: Oct 10, 2020 07:16 AM          Msg. 1 of 3
While writing some interface code, I noticed that LOOKUP SLM / SST / STC / SSC / SNC doesn't seem to be able to take a [RequestID] as outlined in the docs...

... responds properly when RequestID is not included.

It ends up resulting in an !SYNTAX_ERROR!.

<see attached>

Obviously not a big deal - just happened to notice.

PROTOCOL: 6.2.0.5



File Attached: lookup_requestid_error.png (downloaded 1399 times)

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


Posted: Oct 10, 2020 12:28 PM          Msg. 2 of 3
Note that protocols are only Major.Minor. I'm guessing you meant IQFeed version 6.2.0.5 and the protocol you are using is unknown from your post.

With that said, I am unable to duplicate this behavior except on old protocols where RequestID was not yet supported on these commands (4.9-5.1). It would appear you are using one of those older protocols.

 S,SET PROTOCOL,6.2
S,CURRENT PROTOCOL,6.2
SLM
LS,1,NGM,Nasdaq Global Market,5,NASDAQ,
LS,2,NCM,National Capital Market,5,NASDAQ,
...
SLM,TEST
TEST,LS,1,NGM,Nasdaq Global Market,5,NASDAQ,
TEST,LS,2,NCM,National Capital Market,5,NASDAQ,
...


S,SET PROTOCOL,6.1
S,CURRENT PROTOCOL,6.1
SLM
1,NGM,Nasdaq Global Market,5,NASDAQ,
2,NCM,National Capital Market,5,NASDAQ,
...
TEST,1,NGM,Nasdaq Global Market,5,NASDAQ,
TEST,2,NCM,National Capital Market,5,NASDAQ,
...

protocol 6.0 is the same as 6.1 and 5.2 for this request)
S,SET PROTOCOL,5.2
S,CURRENT PROTOCOL,5.2
SLM
1,NGM,Nasdaq Global Market,5,NASDAQ,
2,NCM,National Capital Market,5,NASDAQ,
...
SLM,TEST
TEST,1,NGM,Nasdaq Global Market,5,NASDAQ,
TEST,2,NCM,National Capital Market,5,NASDAQ,
...


Here is where it stops working (and all older protocols). This is intended.
 S,SET PROTOCOL,5.1
S,CURRENT PROTOCOL,5.1
SLM
1,NGM,Nasdaq Global Market,
2,NCM,National Capital Market,
...
SLM,TEST
E,!SYNTAX_ERROR!,

jobrieniii
-Interested User-
Posts: 2
Joined: Oct 10, 2020


Posted: Oct 13, 2020 01:25 AM          Msg. 3 of 3
Steve - thanks for setting me straight - definitely was not setting the protocol properly as you noted.

Thanks - John
 

 

Time: Wed May 8, 2024 12:22 PM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003