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 |
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 |
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 |
||||