Lean  $LEAN_TAG$
QuantConnect.Scheduling.BaseScheduleRules Class Reference

Base rule scheduler More...

Inheritance diagram for QuantConnect.Scheduling.BaseScheduleRules:
[legend]

Public Member Functions

 BaseScheduleRules (SecurityManager securities, DateTimeZone timeZone, MarketHoursDatabase marketHoursDatabase)
 Initializes a new instance of the TimeRules helper class More...
 

Protected Member Functions

SecurityExchangeHours GetSecurityExchangeHours (Symbol symbol)
 Helper method to fetch the security exchange hours More...
 

Properties

DateTimeZone TimeZone [get, set]
 The algorithm's default time zone More...
 
SecurityManager Securities [get, set]
 The security manager More...
 
MarketHoursDatabase MarketHoursDatabase [get, set]
 The market hours database instance to use More...
 

Detailed Description

Base rule scheduler

Definition at line 25 of file BaseScheduleRules.cs.

Constructor & Destructor Documentation

◆ BaseScheduleRules()

QuantConnect.Scheduling.BaseScheduleRules.BaseScheduleRules ( SecurityManager  securities,
DateTimeZone  timeZone,
MarketHoursDatabase  marketHoursDatabase 
)

Initializes a new instance of the TimeRules helper class

Parameters
securitiesThe security manager
timeZoneThe algorithm's default time zone
marketHoursDatabaseThe market hours database instance to use

Definition at line 48 of file BaseScheduleRules.cs.

Member Function Documentation

◆ GetSecurityExchangeHours()

SecurityExchangeHours QuantConnect.Scheduling.BaseScheduleRules.GetSecurityExchangeHours ( Symbol  symbol)
protected

Helper method to fetch the security exchange hours

Definition at line 58 of file BaseScheduleRules.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

Property Documentation

◆ TimeZone

DateTimeZone QuantConnect.Scheduling.BaseScheduleRules.TimeZone
getsetprotected

The algorithm's default time zone

Definition at line 30 of file BaseScheduleRules.cs.

◆ Securities

SecurityManager QuantConnect.Scheduling.BaseScheduleRules.Securities
getsetprotected

The security manager

Definition at line 35 of file BaseScheduleRules.cs.

◆ MarketHoursDatabase

MarketHoursDatabase QuantConnect.Scheduling.BaseScheduleRules.MarketHoursDatabase
getsetprotected

The market hours database instance to use

Definition at line 40 of file BaseScheduleRules.cs.


The documentation for this class was generated from the following file: