We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54a0e81 commit e58790aCopy full SHA for e58790a
Common/Data/Market/Session.cs
@@ -71,7 +71,7 @@ public class Session : RollingWindow<SessionBar>, IBar
71
/// <summary>
72
/// The end time of the session
73
/// </summary>
74
- public DateTime EndTime => _consolidator?.WorkingInstance.EndTime ?? default;
+ public DateTime EndTime => Samples > 0 ? this[0].EndTime : default;
75
76
77
/// Gets the size of this window
0 commit comments