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 am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"You have an excellent product !!!!!!" - Comment from Arely
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"It’s so nice to be working with real professionals!" - Comment from Len
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"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
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
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: Sun May 5, 2024 11:29 AM CFBB v1.2.0 12 ms.
© AderSoftware 2002-2003