FastQuant.TimeBarFactoryItem.GetBarOpenDateTime C# (CSharp) 메소드

GetBarOpenDateTime() 보호된 메소드

protected GetBarOpenDateTime ( DataObject obj ) : System.DateTime
obj DataObject
리턴 System.DateTime
        protected override DateTime GetBarOpenDateTime(DataObject obj)
        {
            var t = GetDataObjectDateTime(obj, this.type);
            long seconds = (long)t.TimeOfDay.TotalSeconds / this.barSize * this.barSize;
            return t.Date.AddSeconds(seconds);
        }