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 just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"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
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"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
"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
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - Comment from Public Forum
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"I am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
"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 »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 6:27 PM CFBB v1.2.0 6 ms.
© AderSoftware 2002-2003