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

The combination of a library to use and a model in that library that defines which pricing code will evaluate instruments having a particular type/class. This allows us to control the model type and library for a given instrument. More...

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

Public Types

enum class  LibraryEnum {
  Lusid = 1 , RefinitivQps = 2 , RefinitivTracsWeb = 3 , VolMaster = 4 ,
  IsdaCds = 5 , YieldBook = 6 , LusidCalc = 7
}
 The available values are: Lusid, RefinitivQps, RefinitivTracsWeb, VolMaster, IsdaCds, YieldBook, LusidCalc More...
 
enum class  ModelEnum {
  SimpleStatic = 1 , Discounting = 2 , VendorDefault = 3 , BlackScholes = 4 ,
  ConstantTimeValueOfMoney = 5 , Bachelier = 6 , ForwardWithPoints = 7 , ForwardWithPointsUndiscounted = 8 ,
  ForwardSpecifiedRate = 9 , ForwardSpecifiedRateUndiscounted = 10 , IndexNav = 11 , IndexPrice = 12 ,
  InlinedIndex = 13 , ForwardFromCurve = 14 , ForwardFromCurveUndiscounted = 15 , BlackScholesDigital = 16 ,
  BjerksundStensland1993 = 17 , LookUpPricing = 18 , BondLookupPricer = 19
}
 The available values are: SimpleStatic, Discounting, VendorDefault, BlackScholes, ConstantTimeValueOfMoney, Bachelier, ForwardWithPoints, ForwardWithPointsUndiscounted, ForwardSpecifiedRate, ForwardSpecifiedRateUndiscounted, IndexNav, IndexPrice, InlinedIndex, ForwardFromCurve, ForwardFromCurveUndiscounted, BlackScholesDigital, BjerksundStensland1993, LookUpPricing, BondLookupPricer More...
 

Public Member Functions

 ModelSelection (LibraryEnum library=default(LibraryEnum), ModelEnum model=default(ModelEnum))
 Initializes a new instance of the ModelSelection 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 (ModelSelection input)
 Returns true if ModelSelection instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

LibraryEnum Library [get, set]
 The available values are: Lusid, RefinitivQps, RefinitivTracsWeb, VolMaster, IsdaCds, YieldBook, LusidCalc More...
 
ModelEnum Model [get, set]
 The available values are: SimpleStatic, Discounting, VendorDefault, BlackScholes, ConstantTimeValueOfMoney, Bachelier, ForwardWithPoints, ForwardWithPointsUndiscounted, ForwardSpecifiedRate, ForwardSpecifiedRateUndiscounted, IndexNav, IndexPrice, InlinedIndex, ForwardFromCurve, ForwardFromCurveUndiscounted, BlackScholesDigital, BjerksundStensland1993, LookUpPricing, BondLookupPricer More...
 

Detailed Description

The combination of a library to use and a model in that library that defines which pricing code will evaluate instruments having a particular type/class. This allows us to control the model type and library for a given instrument.

Member Enumeration Documentation

◆ LibraryEnum

The available values are: Lusid, RefinitivQps, RefinitivTracsWeb, VolMaster, IsdaCds, YieldBook, LusidCalc

The available values are: Lusid, RefinitivQps, RefinitivTracsWeb, VolMaster, IsdaCds, YieldBook, LusidCalc

Enumerator
Lusid 

Enum Lusid for value: Lusid

RefinitivQps 

Enum RefinitivQps for value: RefinitivQps

RefinitivTracsWeb 

Enum RefinitivTracsWeb for value: RefinitivTracsWeb

VolMaster 

Enum VolMaster for value: VolMaster

IsdaCds 

Enum IsdaCds for value: IsdaCds

YieldBook 

Enum YieldBook for value: YieldBook

LusidCalc 

Enum LusidCalc for value: LusidCalc

◆ ModelEnum

The available values are: SimpleStatic, Discounting, VendorDefault, BlackScholes, ConstantTimeValueOfMoney, Bachelier, ForwardWithPoints, ForwardWithPointsUndiscounted, ForwardSpecifiedRate, ForwardSpecifiedRateUndiscounted, IndexNav, IndexPrice, InlinedIndex, ForwardFromCurve, ForwardFromCurveUndiscounted, BlackScholesDigital, BjerksundStensland1993, LookUpPricing, BondLookupPricer

The available values are: SimpleStatic, Discounting, VendorDefault, BlackScholes, ConstantTimeValueOfMoney, Bachelier, ForwardWithPoints, ForwardWithPointsUndiscounted, ForwardSpecifiedRate, ForwardSpecifiedRateUndiscounted, IndexNav, IndexPrice, InlinedIndex, ForwardFromCurve, ForwardFromCurveUndiscounted, BlackScholesDigital, BjerksundStensland1993, LookUpPricing, BondLookupPricer

Enumerator
SimpleStatic 

Enum SimpleStatic for value: SimpleStatic

Discounting 

Enum Discounting for value: Discounting

VendorDefault 

Enum VendorDefault for value: VendorDefault

BlackScholes 

Enum BlackScholes for value: BlackScholes

ConstantTimeValueOfMoney 

Enum ConstantTimeValueOfMoney for value: ConstantTimeValueOfMoney

Bachelier 

Enum Bachelier for value: Bachelier

ForwardWithPoints 

Enum ForwardWithPoints for value: ForwardWithPoints

ForwardWithPointsUndiscounted 

Enum ForwardWithPointsUndiscounted for value: ForwardWithPointsUndiscounted

ForwardSpecifiedRate 

Enum ForwardSpecifiedRate for value: ForwardSpecifiedRate

ForwardSpecifiedRateUndiscounted 

Enum ForwardSpecifiedRateUndiscounted for value: ForwardSpecifiedRateUndiscounted

IndexNav 

Enum IndexNav for value: IndexNav

IndexPrice 

Enum IndexPrice for value: IndexPrice

InlinedIndex 

Enum InlinedIndex for value: InlinedIndex

ForwardFromCurve 

Enum ForwardFromCurve for value: ForwardFromCurve

ForwardFromCurveUndiscounted 

Enum ForwardFromCurveUndiscounted for value: ForwardFromCurveUndiscounted

BlackScholesDigital 

Enum BlackScholesDigital for value: BlackScholesDigital

BjerksundStensland1993 

Enum BjerksundStensland1993 for value: BjerksundStensland1993

LookUpPricing 

Enum LookUpPricing for value: LookUpPricing

BondLookupPricer 

Enum BondLookupPricer for value: BondLookupPricer

Constructor & Destructor Documentation

◆ ModelSelection() [1/2]

Lusid.Sdk.Model.ModelSelection.ModelSelection ( )
inlineprotected

Initializes a new instance of the ModelSelection class.

◆ ModelSelection() [2/2]

Lusid.Sdk.Model.ModelSelection.ModelSelection ( LibraryEnum  library = default(LibraryEnum),
ModelEnum  model = default(ModelEnum) 
)
inline

Initializes a new instance of the ModelSelection class.

Parameters
libraryThe available values are: Lusid, RefinitivQps, RefinitivTracsWeb, VolMaster, IsdaCds, YieldBook, LusidCalc (required).
modelThe available values are: SimpleStatic, Discounting, VendorDefault, BlackScholes, ConstantTimeValueOfMoney, Bachelier, ForwardWithPoints, ForwardWithPointsUndiscounted, ForwardSpecifiedRate, ForwardSpecifiedRateUndiscounted, IndexNav, IndexPrice, InlinedIndex, ForwardFromCurve, ForwardFromCurveUndiscounted, BlackScholesDigital, BjerksundStensland1993, LookUpPricing, BondLookupPricer (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if ModelSelection instances are equal

Parameters
inputInstance of ModelSelection to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Library

LibraryEnum Lusid.Sdk.Model.ModelSelection.Library
getset

The available values are: Lusid, RefinitivQps, RefinitivTracsWeb, VolMaster, IsdaCds, YieldBook, LusidCalc

The available values are: Lusid, RefinitivQps, RefinitivTracsWeb, VolMaster, IsdaCds, YieldBook, LusidCalc

◆ Model

ModelEnum Lusid.Sdk.Model.ModelSelection.Model
getset

The available values are: SimpleStatic, Discounting, VendorDefault, BlackScholes, ConstantTimeValueOfMoney, Bachelier, ForwardWithPoints, ForwardWithPointsUndiscounted, ForwardSpecifiedRate, ForwardSpecifiedRateUndiscounted, IndexNav, IndexPrice, InlinedIndex, ForwardFromCurve, ForwardFromCurveUndiscounted, BlackScholesDigital, BjerksundStensland1993, LookUpPricing, BondLookupPricer

The available values are: SimpleStatic, Discounting, VendorDefault, BlackScholes, ConstantTimeValueOfMoney, Bachelier, ForwardWithPoints, ForwardWithPointsUndiscounted, ForwardSpecifiedRate, ForwardSpecifiedRateUndiscounted, IndexNav, IndexPrice, InlinedIndex, ForwardFromCurve, ForwardFromCurveUndiscounted, BlackScholesDigital, BjerksundStensland1993, LookUpPricing, BondLookupPricer


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