API Support Forum
OEC API > API Support > Contract.StartTime dose gives you the time span from now?
Author Topic: Contract.StartTime dose gives you the time span from now?
(2 messages, Page 1 of 1)
Moderators: VPfau
eo707
Posts: 68
Joined: Nov 08, 2011


Posted: Aug 26, 2012 @ 05:22 AM             Msg. 1 of 2
Hey,
Sometimes I can see that Contract.StartTime has Days = 1.
Is that mean that over the weekend, or when holidays comes forth, it will give you the time that the trading will start?

So by Friday, it will be 3 days, Saturday 2 Days?

May you elaborate?

Thank you.
RuslanK
Posts: 69
Joined: Jun 02, 2010


Posted: Aug 27, 2012 @ 05:20 PM             Msg. 2 of 2
Hello

This "extra day" appears in StartTime due to conversion of the initial UTC value to your local time zone, which calculates by simple adding of UTC offset.

Please disregard it and do not rely on this value.

Ruslan Kartokhin
Software Developer