What is the current status of all the time changes? I'm lost
What is the current status of all the time changes? I'm lost
15 Aug 2013, 06:33
So, right now:
1. if you use Server.Time is in UTC for all brokers, correct?
2. The interface allows you to select an offset, which displays in orange if not set to your local time?
3.The interface where you select an offset shows the word (Server Time) in parenthesis which is what, on all the platforms this seems to be at UTC+3, what is that? is this a time that is available from the programming interface?
4. You started using a Time Zone property in Robots and Indicators? So if you set the time zone is set in a robot will the indicators used by the robot inherit the setting?
I guess thats all for now
Replies
cAlgo_Development
16 Aug 2013, 11:43
Yes. We understand that you can expect indicator to use its own timezone, but currently indicator timezone will be ignored. Indicator timezone is only applied if you add indicator directly to a chart.
@cAlgo_Development
Spotware
11 Nov 2013, 15:23
We've implemented new property in both Robot and Indicator classes: TimeZone. Instead of getting timezone from attribute you can use it;
protected override void OnStart() { Print("RobotTimeZone Setting: {0}", TimeZone); Print("RobotTimeZone Name: {0}", TimeZone.DisplayName); Print("Offset: {0}", TimeZone.BaseUtcOffset); Print("DST: {0}", TimeZone.SupportsDaylightSavingTime); }
Moreover, in nested indicators that inherit timezone from robot TimeZone property returns actual inherited timezone.
Please check new release of Spotware cAlgo (1.12).
@Spotware
cAlgo_Development
15 Aug 2013, 14:13
@cAlgo_Development