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 "bracket trade" all major news releases and I have not found one lag or glitch with DTN.IQ feed. I am very comfortable with their feed under all typical news conditions (Fed releases, employment numbers, etc)." - Comment from Public Forum
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"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 started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"DTN feed was the only feed that consistently matched Bloomberg feed for BID/ASK data verification work these past years......DTN feed is a must for my supply & demand based trading using Cumulative Delta" - Comment from Public Forum Post
"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
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
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
Viewing User Profile for: thomasr
About Contact
Joined: Feb 18, 2006 12:30 PM
Last Post: Feb 18, 2006 12:47 PM
Last Visit: Jun 1, 2006 03:36 PM
Website:  
Location:
Occupation: consultant
Interests: technology, politics, history
Avatar:
ACME'd again
Email: thomasr@dsl.pipex.com
AIM:
ICQ:
MSN IM:
Yahoo IM:
Post Statistics
thomasr has contributed to 1 posts out of 21196 total posts (0.00%) in 6,666 days (0.00 posts per day).

20 Most recent posts:
IQFeed Developer Support » IQFeed 4.1.1.1 - !ENDMSG! query Feb 18, 2006 12:47 PM (Total replies: 6)

I have been looking at some .NET code a customer has been using as part of a daily batch process and have been testing this with the IQFeed 4.1.1.1 client.

It was my understanding from the IQFeed documentation, that the <CR><LF>!ENDMSG!<CR><LF> message would signify an end-of-message when using the socket interface to retrieve historical data.

However - when attempting to get data for the symbol 'BUYY' - a symbol from the downloadable symbols list, the following message is returned:

!ERROR! !NONE!

!ENDMSG!
!ERROR! Invalid symbol.

!ENDMSG!

This suggests that there can be (in theory) any number of !ENDMSG! strings returned in response to a historical data lookup. The existing code used does not cater for this, and the only work arounds I can see are:

1 - Identify another 'No more data to be received' indicator (API call possibly ?)
2 - Rewrite the .NET socket client class to open and close the socket for every request (Not very efficient use of the socket interface)
3 - Use some form of timer to try and ensure that the buffer will no longer be fed data from the IQFeed client (Not very pretty way around)

The 'error' has not crept up before, so I am unclear as to whether this message format is a new addition.

Regards,
Thomas


Time: Sun May 19, 2024 6:18 AM CFBB v1.2.0 4 ms.
© AderSoftware 2002-2003