|
Lean
$LEAN_TAG$
|
Class represents trading calendar, populated with variety of events relevant to currently trading instruments More...
Public Member Functions | |
| TradingCalendar (SecurityManager securityManager, MarketHoursDatabase marketHoursDatabase) | |
| Initialize a new TradingCalendar instance. More... | |
| TradingDay | GetTradingDay () |
| Method returns TradingDay that contains trading events associated with today's date More... | |
| TradingDay | GetTradingDay (DateTime day) |
| Method returns TradingDay that contains trading events associated with the given date More... | |
| IEnumerable< TradingDay > | GetTradingDays (DateTime start, DateTime end) |
| Method returns TradingDay that contains trading events associated with the range of dates More... | |
| IEnumerable< TradingDay > | GetDaysByType (TradingDayType type, DateTime start, DateTime end) |
| Method returns TradingDay of the specified type (TradingDayType) that contains trading events associated with the range of dates More... | |
Class represents trading calendar, populated with variety of events relevant to currently trading instruments
Definition at line 27 of file TradingCalendar.cs.
| QuantConnect.TradingCalendar.TradingCalendar | ( | SecurityManager | securityManager, |
| MarketHoursDatabase | marketHoursDatabase | ||
| ) |
Initialize a new TradingCalendar instance.
| securityManager | SecurityManager for this calendar |
| marketHoursDatabase | MarketHoursDatabase for this calendar |
Definition at line 37 of file TradingCalendar.cs.
| TradingDay QuantConnect.TradingCalendar.GetTradingDay | ( | ) |
Method returns TradingDay that contains trading events associated with today's date
Definition at line 46 of file TradingCalendar.cs.
| TradingDay QuantConnect.TradingCalendar.GetTradingDay | ( | DateTime | day | ) |
Method returns TradingDay that contains trading events associated with the given date
Definition at line 57 of file TradingCalendar.cs.
| IEnumerable<TradingDay> QuantConnect.TradingCalendar.GetTradingDays | ( | DateTime | start, |
| DateTime | end | ||
| ) |
Method returns TradingDay that contains trading events associated with the range of dates
| start | Start date of the range (inclusive) |
| end | End date of the range (inclusive) |
Definition at line 68 of file TradingCalendar.cs.
| IEnumerable<TradingDay> QuantConnect.TradingCalendar.GetDaysByType | ( | TradingDayType | type, |
| DateTime | start, | ||
| DateTime | end | ||
| ) |
Method returns TradingDay of the specified type (TradingDayType) that contains trading events associated with the range of dates
| type | Type of the events |
| start | Start date of the range (inclusive) |
| end | End date of the range (inclusive) |
Definition at line 80 of file TradingCalendar.cs.