LUSID C# SDK
Public Member Functions | Protected Member Functions | Properties | List of all members
Lusid.Sdk.Model.ValuationSchedule Class Reference

Specification object for the valuation schedule, how do we determine which days we wish to perform a valuation upon. More...

Inheritance diagram for Lusid.Sdk.Model.ValuationSchedule:
Inheritance graph
[legend]

Public Member Functions

 ValuationSchedule (DateTimeOrCutLabel effectiveFrom=default(DateTimeOrCutLabel), DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), string tenor=default(string), string rollConvention=default(string), List< string > holidayCalendars=default(List< string >), List< string > valuationDateTimes=default(List< string >), string businessDayConvention=default(string))
 Initializes a new instance of the ValuationSchedule class. More...
 
override string ToString ()
 Returns the string presentation of the object More...
 
virtual string ToJson ()
 Returns the JSON string presentation of the object More...
 
override bool Equals (object input)
 Returns true if objects are equal More...
 
bool Equals (ValuationSchedule input)
 Returns true if ValuationSchedule instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 ValuationSchedule ()
 Initializes a new instance of the ValuationSchedule class. More...
 

Properties

DateTimeOrCutLabel EffectiveFrom [get, set]
 If present, the EffectiveFrom and EffectiveAt dates are interpreted as a range of dates for which to perform a valuation. In this case, valuation is calculated for the portfolio(s) for each business day in the given range. More...
 
DateTimeOrCutLabel EffectiveAt [get, set]
 The market data time, i.e. the time to run the valuation request effective of. More...
 
string Tenor [get, set]
 Tenor, e.g &quot;1D&quot;, &quot;1M&quot; to be used in generating the date schedule when effectiveFrom and effectiveAt are both given and are not the same. More...
 
string RollConvention [get, set]
 When Tenor is given and is &quot;1M&quot; or longer, this specifies the rule which should be used to generate the date schedule. For example, &quot;EndOfMonth&quot; to generate end of month dates, or &quot;1&quot; to specify the first day of the applicable month. More...
 
List< string > HolidayCalendars [get, set]
 The holiday calendar(s) that should be used in determining the date schedule. Holiday calendar(s) are supplied by their names, for example, &quot;CoppClark&quot;. Note that when the calendars are not available (e.g. when the user has insufficient permissions), a recipe setting will be used to determine whether the whole batch should then fail or whether the calendar not being available should simply be ignored. More...
 
List< string > ValuationDateTimes [get, set]
 If given, this is the exact set of dates on which to perform a valuation. This will replace/override all other specified values if given. More...
 
string BusinessDayConvention [get, set]
 When Tenor is given and is not equal to &quot;1D&quot;, there may be cases where &quot;date + tenor&quot; land on non-business days around month end. In that case, the BusinessDayConvention, e.g. modified following &quot;MF&quot; would be applied to determine the next GBD. More...
 

Detailed Description

Specification object for the valuation schedule, how do we determine which days we wish to perform a valuation upon.

Constructor & Destructor Documentation

◆ ValuationSchedule() [1/2]

Lusid.Sdk.Model.ValuationSchedule.ValuationSchedule ( )
inlineprotected

Initializes a new instance of the ValuationSchedule class.

◆ ValuationSchedule() [2/2]

Lusid.Sdk.Model.ValuationSchedule.ValuationSchedule ( DateTimeOrCutLabel  effectiveFrom = default(DateTimeOrCutLabel),
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
string  tenor = default(string),
string  rollConvention = default(string),
List< string >  holidayCalendars = default(List<string>),
List< string >  valuationDateTimes = default(List<string>),
string  businessDayConvention = default(string) 
)
inline

Initializes a new instance of the ValuationSchedule class.

Parameters
effectiveFromIf present, the EffectiveFrom and EffectiveAt dates are interpreted as a range of dates for which to perform a valuation. In this case, valuation is calculated for the portfolio(s) for each business day in the given range..
effectiveAtThe market data time, i.e. the time to run the valuation request effective of. (required).
tenorTenor, e.g &quot;1D&quot;, &quot;1M&quot; to be used in generating the date schedule when effectiveFrom and effectiveAt are both given and are not the same..
rollConventionWhen Tenor is given and is &quot;1M&quot; or longer, this specifies the rule which should be used to generate the date schedule. For example, &quot;EndOfMonth&quot; to generate end of month dates, or &quot;1&quot; to specify the first day of the applicable month..
holidayCalendarsThe holiday calendar(s) that should be used in determining the date schedule. Holiday calendar(s) are supplied by their names, for example, &quot;CoppClark&quot;. Note that when the calendars are not available (e.g. when the user has insufficient permissions), a recipe setting will be used to determine whether the whole batch should then fail or whether the calendar not being available should simply be ignored..
valuationDateTimesIf given, this is the exact set of dates on which to perform a valuation. This will replace/override all other specified values if given..
businessDayConventionWhen Tenor is given and is not equal to &quot;1D&quot;, there may be cases where &quot;date + tenor&quot; land on non-business days around month end. In that case, the BusinessDayConvention, e.g. modified following &quot;MF&quot; would be applied to determine the next GBD..

Member Function Documentation

◆ Equals() [1/2]

override bool Lusid.Sdk.Model.ValuationSchedule.Equals ( object  input)
inline

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

bool Lusid.Sdk.Model.ValuationSchedule.Equals ( ValuationSchedule  input)
inline

Returns true if ValuationSchedule instances are equal

Parameters
inputInstance of ValuationSchedule to be compared
Returns
Boolean

◆ GetHashCode()

override int Lusid.Sdk.Model.ValuationSchedule.GetHashCode ( )
inline

Gets the hash code

Returns
Hash code

◆ ToJson()

virtual string Lusid.Sdk.Model.ValuationSchedule.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

override string Lusid.Sdk.Model.ValuationSchedule.ToString ( )
inline

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ BusinessDayConvention

string Lusid.Sdk.Model.ValuationSchedule.BusinessDayConvention
getset

When Tenor is given and is not equal to &quot;1D&quot;, there may be cases where &quot;date + tenor&quot; land on non-business days around month end. In that case, the BusinessDayConvention, e.g. modified following &quot;MF&quot; would be applied to determine the next GBD.

When Tenor is given and is not equal to &quot;1D&quot;, there may be cases where &quot;date + tenor&quot; land on non-business days around month end. In that case, the BusinessDayConvention, e.g. modified following &quot;MF&quot; would be applied to determine the next GBD.

◆ EffectiveAt

DateTimeOrCutLabel Lusid.Sdk.Model.ValuationSchedule.EffectiveAt
getset

The market data time, i.e. the time to run the valuation request effective of.

The market data time, i.e. the time to run the valuation request effective of.

◆ EffectiveFrom

DateTimeOrCutLabel Lusid.Sdk.Model.ValuationSchedule.EffectiveFrom
getset

If present, the EffectiveFrom and EffectiveAt dates are interpreted as a range of dates for which to perform a valuation. In this case, valuation is calculated for the portfolio(s) for each business day in the given range.

If present, the EffectiveFrom and EffectiveAt dates are interpreted as a range of dates for which to perform a valuation. In this case, valuation is calculated for the portfolio(s) for each business day in the given range.

◆ HolidayCalendars

List<string> Lusid.Sdk.Model.ValuationSchedule.HolidayCalendars
getset

The holiday calendar(s) that should be used in determining the date schedule. Holiday calendar(s) are supplied by their names, for example, &quot;CoppClark&quot;. Note that when the calendars are not available (e.g. when the user has insufficient permissions), a recipe setting will be used to determine whether the whole batch should then fail or whether the calendar not being available should simply be ignored.

The holiday calendar(s) that should be used in determining the date schedule. Holiday calendar(s) are supplied by their names, for example, &quot;CoppClark&quot;. Note that when the calendars are not available (e.g. when the user has insufficient permissions), a recipe setting will be used to determine whether the whole batch should then fail or whether the calendar not being available should simply be ignored.

◆ RollConvention

string Lusid.Sdk.Model.ValuationSchedule.RollConvention
getset

When Tenor is given and is &quot;1M&quot; or longer, this specifies the rule which should be used to generate the date schedule. For example, &quot;EndOfMonth&quot; to generate end of month dates, or &quot;1&quot; to specify the first day of the applicable month.

When Tenor is given and is &quot;1M&quot; or longer, this specifies the rule which should be used to generate the date schedule. For example, &quot;EndOfMonth&quot; to generate end of month dates, or &quot;1&quot; to specify the first day of the applicable month.

◆ Tenor

string Lusid.Sdk.Model.ValuationSchedule.Tenor
getset

Tenor, e.g &quot;1D&quot;, &quot;1M&quot; to be used in generating the date schedule when effectiveFrom and effectiveAt are both given and are not the same.

Tenor, e.g &quot;1D&quot;, &quot;1M&quot; to be used in generating the date schedule when effectiveFrom and effectiveAt are both given and are not the same.

◆ ValuationDateTimes

List<string> Lusid.Sdk.Model.ValuationSchedule.ValuationDateTimes
getset

If given, this is the exact set of dates on which to perform a valuation. This will replace/override all other specified values if given.

If given, this is the exact set of dates on which to perform a valuation. This will replace/override all other specified values if given.


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