LUSID C# SDK
|
A credit spread curve matching tenors against par spread quotes More...
Public Member Functions | |
CreditSpreadCurveData (DateTimeOffset baseDate=default(DateTimeOffset), string domCcy=default(string), List< string > tenors=default(List< string >), List< decimal > spreads=default(List< decimal >), decimal recoveryRate=default(decimal), DateTimeOffset? referenceDate=default(DateTimeOffset?), List< DateTimeOffset > maturities=default(List< DateTimeOffset >), string lineage=default(string), MarketDataOptions marketDataOptions=default(MarketDataOptions), MarketDataTypeEnum marketDataType=default(MarketDataTypeEnum)) | |
Initializes a new instance of the CreditSpreadCurveData class. More... | |
override string | ToString () |
Returns the string presentation of the object More... | |
override 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 (CreditSpreadCurveData input) |
Returns true if CreditSpreadCurveData instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
![]() | |
ComplexMarketData (MarketDataTypeEnum marketDataType=default(MarketDataTypeEnum)) | |
Initializes a new instance of the ComplexMarketData class. More... | |
override string | ToString () |
Returns the string presentation of the object More... | |
override bool | Equals (object input) |
Returns true if objects are equal More... | |
bool | Equals (ComplexMarketData input) |
Returns true if ComplexMarketData instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
CreditSpreadCurveData () | |
Initializes a new instance of the CreditSpreadCurveData class. More... | |
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > | BaseValidate (ValidationContext validationContext) |
To validate all properties of the instance More... | |
![]() | |
ComplexMarketData () | |
Initializes a new instance of the ComplexMarketData class. More... | |
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > | BaseValidate (ValidationContext validationContext) |
To validate all properties of the instance More... | |
Properties | |
DateTimeOffset | BaseDate [get, set] |
EffectiveAt date of the quoted rates More... | |
string | DomCcy [get, set] |
Domestic currency of the curve More... | |
List< string > | Tenors [get, set] |
The tenors for which the rates apply More... | |
List< decimal > | Spreads [get, set] |
Par spread quotes corresponding to the tenors. More... | |
decimal | RecoveryRate [get, set] |
The recovery rate in default. More... | |
DateTimeOffset? | ReferenceDate [get, set] |
If tenors are provided, this is the date against which the tenors will be resolved. This is of importance to CDX spread quotes, which are usually quoted in tenors relative to the CDX start date. In this case, the ReferenceDate would be equal to the CDX start date, and the BaseDate would be the date for which the spreads are valid. If not provided, this defaults to the BaseDate of the curve. More... | |
List< DateTimeOffset > | Maturities [get, set] |
The maturity dates for which the rates apply. Either tenors or maturities should be provided, not both. More... | |
string | Lineage [get, set] |
Description of the complex market data's lineage e.g. 'FundAccountant_GreenQuality'. More... | |
MarketDataOptions | MarketDataOptions [get, set] |
Gets or Sets MarketDataOptions More... | |
![]() | |
MarketDataTypeEnum | MarketDataType [get, set] |
The available values are: DiscountFactorCurveData, EquityVolSurfaceData, FxVolSurfaceData, IrVolCubeData, OpaqueMarketData, YieldCurveData, FxForwardCurveData, FxForwardPipsCurveData, FxForwardTenorCurveData, FxForwardTenorPipsCurveData, FxForwardCurveByQuoteReference, CreditSpreadCurveData, EquityCurveByPricesData More... | |
Additional Inherited Members | |
![]() | |
enum class | MarketDataTypeEnum { DiscountFactorCurveData = 1 , EquityVolSurfaceData = 2 , FxVolSurfaceData = 3 , IrVolCubeData = 4 , OpaqueMarketData = 5 , YieldCurveData = 6 , FxForwardCurveData = 7 , FxForwardPipsCurveData = 8 , FxForwardTenorCurveData = 9 , FxForwardTenorPipsCurveData = 10 , FxForwardCurveByQuoteReference = 11 , CreditSpreadCurveData = 12 , EquityCurveByPricesData = 13 } |
The available values are: DiscountFactorCurveData, EquityVolSurfaceData, FxVolSurfaceData, IrVolCubeData, OpaqueMarketData, YieldCurveData, FxForwardCurveData, FxForwardPipsCurveData, FxForwardTenorCurveData, FxForwardTenorPipsCurveData, FxForwardCurveByQuoteReference, CreditSpreadCurveData, EquityCurveByPricesData More... | |
A credit spread curve matching tenors against par spread quotes
|
inlineprotected |
Initializes a new instance of the CreditSpreadCurveData class.
|
inline |
Initializes a new instance of the CreditSpreadCurveData class.
baseDate | EffectiveAt date of the quoted rates (required). |
domCcy | Domestic currency of the curve (required). |
tenors | The tenors for which the rates apply (required). |
spreads | Par spread quotes corresponding to the tenors. (required). |
recoveryRate | The recovery rate in default. (required). |
referenceDate | If tenors are provided, this is the date against which the tenors will be resolved. This is of importance to CDX spread quotes, which are usually quoted in tenors relative to the CDX start date. In this case, the ReferenceDate would be equal to the CDX start date, and the BaseDate would be the date for which the spreads are valid. If not provided, this defaults to the BaseDate of the curve.. |
maturities | The maturity dates for which the rates apply. Either tenors or maturities should be provided, not both.. |
lineage | Description of the complex market data's lineage e.g. 'FundAccountant_GreenQuality'.. |
marketDataOptions | marketDataOptions. |
marketDataType | The available values are: DiscountFactorCurveData, EquityVolSurfaceData, FxVolSurfaceData, IrVolCubeData, OpaqueMarketData, YieldCurveData, FxForwardCurveData, FxForwardPipsCurveData, FxForwardTenorCurveData, FxForwardTenorPipsCurveData, FxForwardCurveByQuoteReference, CreditSpreadCurveData, EquityCurveByPricesData (required) (default to "CreditSpreadCurveData"). |
|
inlineprotected |
To validate all properties of the instance
validationContext | Validation context |
|
inline |
Returns true if CreditSpreadCurveData instances are equal
input | Instance of CreditSpreadCurveData to be compared |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
Reimplemented from Lusid.Sdk.Model.ComplexMarketData.
|
inline |
Returns the string presentation of the object
|
getset |
EffectiveAt date of the quoted rates
EffectiveAt date of the quoted rates
|
getset |
Domestic currency of the curve
Domestic currency of the curve
|
getset |
Description of the complex market data's lineage e.g. 'FundAccountant_GreenQuality'.
Description of the complex market data's lineage e.g. 'FundAccountant_GreenQuality'.
|
getset |
Gets or Sets MarketDataOptions
|
getset |
The maturity dates for which the rates apply. Either tenors or maturities should be provided, not both.
The maturity dates for which the rates apply. Either tenors or maturities should be provided, not both.
|
getset |
The recovery rate in default.
The recovery rate in default.
|
getset |
If tenors are provided, this is the date against which the tenors will be resolved. This is of importance to CDX spread quotes, which are usually quoted in tenors relative to the CDX start date. In this case, the ReferenceDate would be equal to the CDX start date, and the BaseDate would be the date for which the spreads are valid. If not provided, this defaults to the BaseDate of the curve.
If tenors are provided, this is the date against which the tenors will be resolved. This is of importance to CDX spread quotes, which are usually quoted in tenors relative to the CDX start date. In this case, the ReferenceDate would be equal to the CDX start date, and the BaseDate would be the date for which the spreads are valid. If not provided, this defaults to the BaseDate of the curve.
|
getset |
Par spread quotes corresponding to the tenors.
Par spread quotes corresponding to the tenors.
|
getset |
The tenors for which the rates apply
The tenors for which the rates apply