Interface ITradingCalendar
Trading calendar class to convert a date range to an enumerable of valid trading days.
Namespace: TuringTrader.SimulatorV2
Assembly: TuringTrader.Simulator.dll
Syntax
public interface ITradingCalendar
Properties
| Improve this Doc View SourceEndDate
End of date range.
Declaration
DateTime EndDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
ExchangeTimeZone
Time zone info for exchange.
Declaration
TimeZoneInfo ExchangeTimeZone { get; }
Property Value
Type | Description |
---|---|
System.TimeZoneInfo |
StartDate
Start of date range.
Declaration
DateTime StartDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
TimeOfClose
Time of close, in exchange's time zone.
Declaration
TimeOnly TimeOfClose { get; }
Property Value
Type | Description |
---|---|
System.TimeOnly |
TradingDays
List of trading days between start and end dates, in the local time zone.
Declaration
List<DateTime> TradingDays { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T><System.DateTime> |