Class TradingCalendar_US
Trading calendar for U.S. stock exchanges.
Implements
Inherited Members
Namespace: TuringTrader.SimulatorV2
Assembly: TuringTrader.Simulator.dll
Syntax
public class TradingCalendar_US : ITradingCalendar
Constructors
| Edit this page View SourceTradingCalendar_US(Algorithm)
Declaration
public TradingCalendar_US(Algorithm algorithm = null)
Parameters
Type | Name | Description |
---|---|---|
Algorithm | algorithm |
Properties
| Edit this page View SourceEndDate
End of date range.
Declaration
public DateTime EndDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
ExchangeTimeZone
Time zone info for exchange.
Declaration
public TimeZoneInfo ExchangeTimeZone { get; }
Property Value
Type | Description |
---|---|
TimeZoneInfo |
StartDate
Start of date range.
Declaration
public DateTime StartDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
TimeOfClose
Time of close, in exchange's time zone.
Declaration
public TimeOnly TimeOfClose { get; }
Property Value
Type | Description |
---|---|
TimeOnly |
TradingDays
List of trading days between start and end dates, in the local time zone.
Declaration
public List<DateTime> TradingDays { get; }
Property Value
Type | Description |
---|---|
List<DateTime> |