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)




"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"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
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
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 1426 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 1566 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: Fri May 17, 2024 2:43 AM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003