Forum

Free Download More Info
Welcome to the Personal Stock Streamer Developers Forum. Anyone can read messages, but you must be a registered user in order to post. (Sorry, we did this in order to prevent forum spam.)

Everyone who is registered for the Developers Forum on this site should now also have permission to log in and post to the Support Forum.  This was done by hand, so we may have missed a couple of people.  Please let us know if you do not have access to both forums.
Subscribe to RSS Feed
PSS Developers Forum -> how does \'downloadItradayData\' work?
Not logged in.
2009-08-12 06:33:34
1 of 2
#1416
Is 'downloadIntradayData' synchronous or asynchronous operation? It looks like it does not issue the 'onHistoryUpdate' event.

Does 'ticker.intradayData' require setting of "historyStart"/"historyEnd" properties as 'ticker.history' does?
Posted by: serbogus
2009-08-12 09:53:42
2 of 2
#1418
in reply to #1416
"ticker.DownloadHistoryData" and "ticker.DownloadIntradayData" are both asynchronous operations. They require the start and end dates as arguments as per the docs.

"historystart" and "historyend" properties must be set only for when you are retrieving downloaded data with "ticker.HistoryData". This allows you to retrieve just a subset of the downloaded data.

The OnHistoryUpdated should be called after historical data is retrieved.
Anatoly Ivasyuk
DTLink Software