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'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 am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"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
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"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
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"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
"I was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"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 »IQFeed Developer »IQFeed Developer Support »Update messages over TCP/IP socket
Author Topic: Update messages over TCP/IP socket (3 messages, Page 1 of 1)

rfloydman
-Interested User-
Posts: 4
Joined: Mar 2, 2015


Posted: Mar 2, 2015 10:53 PM          Msg. 1 of 3
I have subscribed to receive a symbol over Level 1 TCP/IP and it's all working OK until i certain time where i seem to receive incomplete data. E.g. I receive 8 fields in the update message when i subscribed to 10.

When IQFeed sends an update message for a symbol should i expect all the fields that i subscribed to at once? Or could the update been broken up into multiple messages? I'm currently assuming all at once but i suspect that it's the later.

Thanks.

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


Posted: Mar 2, 2015 11:32 PM          Msg. 2 of 3
Good evening,

All messages will be sent with 10 fields, but it is possible to receive an incomplete message due to TCP/IP breaking up the send, and when that occurs you need to save off the partial message and marry it to the data in the next packet. I believe all of our level one examples should illustrate how to handle that, but let me know if you have questions on it, or if what I mention here does not sound like what you are seeing.

Tim

rfloydman
-Interested User-
Posts: 4
Joined: Mar 2, 2015


Posted: Mar 2, 2015 11:38 PM          Msg. 3 of 3
Thanks Tim i'll check out the examples.
 

 

Time: Thu April 2, 2020 11:13 PM CFBB v1.2.0 0 ms.
© AderSoftware 2002-2003