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 use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"I used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - Comment from Public Forum
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"Excellent datafeed !!!" - Comment from Arely
"I was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. 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: Thu April 25, 2024 6:02 AM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003