|
Time stamps in queues and returned from Open, Entry,closed Tables
I'm a bit confused:
ONE::
The manual tells me that the times from stats history function return UTC. They don't currently they return to me UTC-5hrs for both demo and real accounts. The function I talk about is:
histData = (FXCore.MarketRateEnumAuttopTree.Ts.OTradeDesk.Get PriceHistory
(myInstrument.CurrencySlashPair, thisTimeStat, dtStart, dtEnd, 300, true, true);
Q: What is the historical stats function in Order2go supposed to return and if it's US time when we flip from EST to EDT does this affect the time stamps?
TWO::
When using the following function to return the time from the Open table, Closed Table and Entry Orders Table I get some suprising results.
For Orders:
DateTime thisDateTime = (DateTime)orders.CellValue(r, "Time");
For example, my localtime (UK), is 17:05. UTC is 16:05. But the above function returns 20:05?
Any advice welcome??
Any ideas what I'm doing wrong here?
Thanks
Last edited by imported_robert; 08-13-2009 at 12:03 PM..
|