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 »Level1Fields for Protocol 5.2
Author Topic: Level1Fields for Protocol 5.2 (5 messages, Page 1 of 1)

tccharleton
-Interested User-
Posts: 25
Joined: Dec 2, 2014

Reluctant but dedicated nerd.


Posted: Mar 10, 2016 01:50 PM          Msg. 1 of 5
I cannot seem to find what is wrong with my field request string for Level1Fields under protocol 5.2. I know there is something I am missing but I can't find it. Can you please verify that this request string includes valid fields?

Many Thanks!



File Attached: Level1FieldRequestString.txt (downloaded 1428 times)

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


Posted: Mar 10, 2016 01:54 PM          Msg. 2 of 5
It looks like the /r/n is missing off the end of the string.

Tim

tccharleton
-Interested User-
Posts: 25
Joined: Dec 2, 2014

Reluctant but dedicated nerd.


Posted: Mar 10, 2016 02:17 PM          Msg. 3 of 5
I was trying to save you having to read a few lines. Attached contains the setDefaultFieldsProtocol5_1 method (which works) and the setDefaultFieldsProtocol5_2 method which does not work.



File Attached: Level1FieldRequestString1.txt (downloaded 1567 times)

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


Posted: Mar 10, 2016 02:45 PM          Msg. 4 of 5
Does a flush at the front help? There could be something left on the buffer I suppose. If not, just sending this message should be fine and it does seem to work for me on this end. Can you try to enable all L1 logging in the IQ Diagnostics app and send me the resulting IQConnectLog.txt file from your Docs\DTN\IQFeed directory? Maybe there will be some clues there that can help me.

S,SELECT UPDATE FIELDS,Symbol,Last,Total Volume,High,Low,Bid,Ask,Bid Size,Ask Size,Open Interest,Open,Close,Percent Off Average Volume,Volatility,Fraction Display Code,Decimal Precision,Days to Expiration,Number of Trades Today,VWAP,Bid Market Center,Ask Market Center,Last Size,Last Time,Last Market Center,Most Recent Trade,Most Recent Trade Size,Most Recent Trade Time,Most Recent Trade Conditions,Most Recent Trade Market Center,Extended Trade,Extended Trade Size,Extended Trade Time,Extended Trade Market Center,Message Contents,Ask Time,Bid Time,Last Date,Extended Trade Date,Most Recent Trade Date

tccharleton
-Interested User-
Posts: 25
Joined: Dec 2, 2014

Reluctant but dedicated nerd.


Posted: Mar 11, 2016 12:14 PM          Msg. 5 of 5
Tim,

Your check enabled me to find an upstream switch statement that I did not have falling-through properly.

Many Thanks!
 

 

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