Function TimeTillOpen works incorrectly
Created at 09 Dec 2019, 11:32
Function TimeTillOpen works incorrectly
09 Dec 2019, 11:32
Hello, function "Symbol.MarketHours.TimeTillOpen()" works incorrectly with "FLEStandardTime" timezone, or am i wrong somewhere?
Run the code on Sunday to check:
using System;
using cAlgo.API;
using cAlgo.API.Internals;
namespace cAlgo.Robots
{
[Robot(TimeZone = TimeZones.FLEStandardTime, AccessRights = AccessRights.None)]
public class NewcBot : Robot
{
protected override void OnStart()
{
Print(Symbol.MarketHours.TimeTillOpen());
}
protected override void OnTick()
{
}
protected override void OnStop()
{
}
}
}