Lean  $LEAN_TAG$
QuantConnect.Data.Consolidators.Calendar Class Reference

Helper class that provides Func<DateTime,CalendarInfo> used to define consolidation calendar More...

Properties

static Func< DateTime, CalendarInfoWeekly [get]
 Computes the start of week (previous Monday) of given date/time More...
 
static Func< DateTime, CalendarInfoMonthly [get]
 Computes the start of month (1st of the current month) of given date/time More...
 
static Func< DateTime, CalendarInfoQuarterly [get]
 Computes the start of quarter (1st of the starting month of current quarter) of given date/time More...
 
static Func< DateTime, CalendarInfoYearly [get]
 Computes the start of year (1st of the current year) of given date/time More...
 

Detailed Description

Helper class that provides Func<DateTime,CalendarInfo> used to define consolidation calendar

Definition at line 23 of file Calendar.cs.

Property Documentation

◆ Weekly

Func<DateTime, CalendarInfo> QuantConnect.Data.Consolidators.Calendar.Weekly
staticget

Computes the start of week (previous Monday) of given date/time

Definition at line 29 of file Calendar.cs.

◆ Monthly

Func<DateTime, CalendarInfo> QuantConnect.Data.Consolidators.Calendar.Monthly
staticget

Computes the start of month (1st of the current month) of given date/time

Definition at line 44 of file Calendar.cs.

◆ Quarterly

Func<DateTime, CalendarInfo> QuantConnect.Data.Consolidators.Calendar.Quarterly
staticget

Computes the start of quarter (1st of the starting month of current quarter) of given date/time

Definition at line 60 of file Calendar.cs.

◆ Yearly

Func<DateTime, CalendarInfo> QuantConnect.Data.Consolidators.Calendar.Yearly
staticget

Computes the start of year (1st of the current year) of given date/time

Definition at line 78 of file Calendar.cs.


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