Session |
public sealed class SessionDefinition : NotifyPropertyBase, ISessionDefinition, IComparable<SessionDefinition>
The SessionDefinition type exposes the following members.
| Name | Description | |
|---|---|---|
| SessionDefinition(TimeSpan, DayOfWeek, TimeSpan, DayOfWeek) | Constructor for session definition | |
| SessionDefinition(TimeSpan, DayOfWeek, TimeSpan, DayOfWeek, Boolean) | Constructor for session definition | |
| SessionDefinition(TimeSpan, DayOfWeek, TimeSpan, DayOfWeek, Boolean, SessionType) | Constructor for session definition |
| Name | Description | |
|---|---|---|
| EndDay | Gets the end DayOfWeek | |
| EndTicks | Helper property to serialize EndTime property | |
| EndTime | Gets the end time | |
| IsEOD | Gets or set if the EOD time stamp set to start date or end date | |
| SessionType | Gets the SessionType | |
| StartDay | Gets the start DayOfWeek | |
| StartTicks | Helper property to serialize StartTime property | |
| StartTime | Gets the start time |
| Name | Description | |
|---|---|---|
| CalculateSessionEnd | Calculates the session end time | |
| CalculateSessionStart | Calculates the session start time | |
| CompareTo | ||
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetElapsedTime | Calculate the time elapsed from session start | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetSessionDayOfWeeks | Splits the session into daysOfWeek | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsInSession(DateTime) | Calculate if the time is in session or not. For intraday and real-time ticks | |
| IsInSession(DateTime, DateTime, DateTime) | Checks if daily bars are in session | |
| ToString | (Overrides ObjectToString) |
| Name | Description | |
|---|---|---|
| PropertyChanged | (Inherited from NotifyPropertyBase) |