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 noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"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 am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"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
"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
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
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 »premature !ENDMSG!
Author Topic: premature !ENDMSG! (5 messages, Page 1 of 1)

J
-Interested User-
Posts: 24
Joined: Jun 27, 2017


Posted: Jul 23, 2017 01:48 PM          Msg. 1 of 5
Odd.

I'm trying to retrieve historical 1-minute bar data for SPX.XO, from 2007 - present. For example, using the following request:

HIT,SPX.XO,60,20160101 093000,,,093000,160000,1,SPX.XO_HISTORY_9b1j30oylux517pwdzq1,,s

...and the odd part is that I'm getting an early !ENDMSG! after only 2500 bars retrieved (the value of DatapointsPerSend; if I raise DatapointsPerSend to 5000, I get 5000 bars before the !ENDMSG!).

I'm *fairly sure* I've succeeded before in pulling much more than DatapointsPerSend before getting !ENDMSG!... so I wanted to check if anything changed on the IQFEED end?

- J

J
-Interested User-
Posts: 24
Joined: Jun 27, 2017


Posted: Jul 23, 2017 02:05 PM          Msg. 2 of 5
same thing happening with HID, for example:

HID,SPX.XO,60,5200,,070000,170000,1,SPX.XO_HISTORY_mvfc3essif69izxqh4k9,,s

returns on 2500 1-minute bars, instead of all available.

J
-Interested User-
Posts: 24
Joined: Jun 27, 2017


Posted: Jul 23, 2017 02:19 PM          Msg. 3 of 5
It's not symbol specific, I see the same truncation with 'SPY' and 'AAPL'.

If I set the DataPointsPerSend to 5797440 (asking server to queue all/approximately 11 years worth of 1 minute bars before sending it all down the socket), then I got 6369 lines of AAPL history 1-minute bars, covering only 2007-04-27 to 2007-05-21. This was the query:

HID,AAPL,60,5200,,070000,170000,1,AAPL_HISTORY_cwzp8cavvynj49tywc0y,5797440,s

Similarly for SPY I got only 10618 bars, covering 2007-04-23 to 2007-05-31.

Perhaps the database is down for maintenance? I should expect it to be available all weekend, no?

Thanks.

- J

J
-Interested User-
Posts: 24
Joined: Jun 27, 2017


Posted: Jul 23, 2017 06:21 PM          Msg. 4 of 5
This is not an IQFEED issue but rather something to do with my code, since I can checkout an earlier version of my code and the earlier code retreives symbols far beyond the 2500; it works correctly.

Still puzzling over what the problem could be, so suggestions welcome.

J
-Interested User-
Posts: 24
Joined: Jun 27, 2017


Posted: Jul 23, 2017 07:43 PM          Msg. 5 of 5
Yep, Nevermind. This was all user error on my part.
 

 

Time: Tue May 7, 2024 3:26 PM CFBB v1.2.0 11 ms.
© AderSoftware 2002-2003