Automatic TimeZone

Created at 12 Jun 2020, 08:11
RA

RayAdam

Joined 02.06.2019

Automatic TimeZone
12 Jun 2020, 08:11


Hi Support,

Could you please advise two things regarding TimeZone within Robot/Indicator

[Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class TestRobot : Robot

1 - How to update TimeZone via code?

2 - How to update TimeZone to timezone value selected at bottom of cTrader platform?

would appreciate if you can share code snippet or an example

Thanks

Kind regards


@RayAdam
Replies

PanagiotisCharalampous
12 Jun 2020, 08:27

Hi RayAdam,

This property cannot be updated via code.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous