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)




"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"If you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
"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
"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 would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"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
"Thank you so much - awesome feed, awesome service!" - Comment from Greg 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 »tick data historical request - dataPointsPerSend?
Author Topic: tick data historical request - dataPointsPerSend? (3 messages, Page 1 of 1)

traps
-Interested User-
Posts: 15
Joined: May 24, 2011


Posted: Jun 16, 2011 06:44 AM          Msg. 1 of 3
Hi

When using the historical lookup COM method ReqHistoryTickTimeframe, I am wondering how one is supposed to use the dataPointsPerSend parameter.

If it is set to some non-zero value, say 100, then the time-series of ticks will be split up into separate messages, each with no more thant 100 ticks in it.

My question is, how do I know when all the messages/ticks have been received? My call-back will get called for each message, but is there a way to tell when all messages pertaining to this request have been received? Since I do not know the number of ticks beforehand, I do not know how many messages to expect.

thanks

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Jun 16, 2011 08:12 AM          Msg. 2 of 3
Hello, per the documentation, you should receive an endmsg when any lookup completes.

However, there is a bug in 4.7.2.0 which will cause a request to sometimes not complete properly in the HistoryCOM interface. This has been fixed in the 4.8 beta available on the developer site.

traps
-Interested User-
Posts: 15
Joined: May 24, 2011


Posted: Jun 16, 2011 08:48 AM          Msg. 3 of 3
I see, I misunderstood the behaviour (thinking ENDMSG occurred with every callback).

thanks again
 

 

Time: Fri May 17, 2024 11:03 PM CFBB v1.2.0 6 ms.
© AderSoftware 2002-2003