Skip to content

Commit e58790a

Browse files
committed
Solve review comments
1 parent 54a0e81 commit e58790a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/Data/Market/Session.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public class Session : RollingWindow<SessionBar>, IBar
7171
/// <summary>
7272
/// The end time of the session
7373
/// </summary>
74-
public DateTime EndTime => _consolidator?.WorkingInstance.EndTime ?? default;
74+
public DateTime EndTime => Samples > 0 ? this[0].EndTime : default;
7575

7676
/// <summary>
7777
/// Gets the size of this window

0 commit comments

Comments
 (0)