API Support Forum
OEC API > API Support > retrieving last trade time for FDAX contract
Author Topic: retrieving last trade time for FDAX contract
(2 messages, Page 1 of 1)
Moderators: VPfau
YBar
Posts: 24
Joined: Dec 01, 2008


Posted: Aug 20, 2009 @ 04:26 PM             Msg. 1 of 2
Hello,
i'm using the following method to retrieve the last trade time on the FDAX:
DateTime dt = Contract.CurrentPrice.LastDateTime;

however, i get the time with 2 hours shift from the CET. Is this the correct way to do it?

Best regards,
Ybar
LLuigi
Posts: 2
Joined: Jul 11, 2009


Posted: Aug 24, 2009 @ 09:43 PM             Msg. 2 of 2
try it:
DateTime dt = Contract.CurrentPrice.LastDateTime.toLocalTime;








Jertix

Luigi Tedde