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

Options for controlling the default aspects and behaviour of the pricing engine. More...

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

Public Member Functions

 PricingOptions (ModelSelection modelSelection=default(ModelSelection), bool useInstrumentTypeToDeterminePricer=default(bool), bool allowAnyInstrumentsWithSecUidToPriceOffLookup=default(bool), bool allowPartiallySuccessfulEvaluation=default(bool), bool produceSeparateResultForLinearOtcLegs=default(bool), bool enableUseOfCachedUnitResults=default(bool), bool windowValuationOnInstrumentStartEnd=default(bool), bool removeContingentCashflowsInPaymentDiary=default(bool), bool useChildSubHoldingKeysForPortfolioExpansion=default(bool), bool validateDomesticAndQuoteCurrenciesAreConsistent=default(bool), string conservedQuantityForLookthroughExpansion=default(string))
 Initializes a new instance of the PricingOptions 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 (PricingOptions input)
 Returns true if PricingOptions instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Properties

ModelSelection ModelSelection [get, set]
 Gets or Sets ModelSelection More...
 
bool UseInstrumentTypeToDeterminePricer [get, set]
 If true then use the instrument type to set the default instrument pricer This applies where no more specific set of overrides are provided on a per-vendor and instrument basis. More...
 
bool AllowAnyInstrumentsWithSecUidToPriceOffLookup [get, set]
 By default, one would not expect to price and exotic instrument, i.e. an instrument with a complicated instrument definition simply through looking up a price as there should be a better way of evaluating it. To override that behaviour and allow lookup for a price from the instrument identifier(s), set this to true. More...
 
bool AllowPartiallySuccessfulEvaluation [get, set]
 If true then a failure in task evaluation doesn't cause overall failure. results will be returned where they succeeded and annotation elsewhere More...
 
bool ProduceSeparateResultForLinearOtcLegs [get, set]
 If true (default), when pricing an Fx-Forward or Interest Rate Swap, Future and other linearly separable products, product two results, one for each leg rather than a single line result with the amalgamated/summed pv from both legs. More...
 
bool EnableUseOfCachedUnitResults [get, set]
 If true, when pricing using a model or for an instrument that supports use of intermediate cached-results, use them. Default is that this caching is turned off. More...
 
bool WindowValuationOnInstrumentStartEnd [get, set]
 If true, when valuing an instrument outside the period where it is 'alive' (the start-maturity window) it will return a valuation of zero More...
 
bool RemoveContingentCashflowsInPaymentDiary [get, set]
 When creating a payment diary, should contingent cash payments (e.g. from exercise of a swaption into a swap) be included or not. i.e. Is exercise or default being assumed to happen or not. More...
 
bool UseChildSubHoldingKeysForPortfolioExpansion [get, set]
 Should fund constituents inherit subholding keys from the parent subholding keyb More...
 
bool ValidateDomesticAndQuoteCurrenciesAreConsistent [get, set]
 Do we validate that the instrument domestic currency matches the quote currency (unless unknown/zzz) when using lookup pricing. More...
 
string ConservedQuantityForLookthroughExpansion [get, set]
 When performing lookthrough portfolio expansion with ScalingMethodology set to "Sum" or "AbsoluteSum", the quantity specified here will be conserved and apportioned to lookthrough constituents. For example, an equal-weighting index with 100 constituents can be modelled as a reference portfolio with 1% weights on each equity. When expanding a $9000 holding of that index into its constituents while conserving PV, we end up with $90 of each equity. The number of units of each equity held is then implied. Note that conservation of one quantity may imply non-conservation of others, especially when some constituents are OTCs. Allowed values are: "PV" (default), "Exposure". More...
 

Detailed Description

Options for controlling the default aspects and behaviour of the pricing engine.

Constructor & Destructor Documentation

◆ PricingOptions()

Lusid.Sdk.Model.PricingOptions.PricingOptions ( ModelSelection  modelSelection = default(ModelSelection),
bool  useInstrumentTypeToDeterminePricer = default(bool),
bool  allowAnyInstrumentsWithSecUidToPriceOffLookup = default(bool),
bool  allowPartiallySuccessfulEvaluation = default(bool),
bool  produceSeparateResultForLinearOtcLegs = default(bool),
bool  enableUseOfCachedUnitResults = default(bool),
bool  windowValuationOnInstrumentStartEnd = default(bool),
bool  removeContingentCashflowsInPaymentDiary = default(bool),
bool  useChildSubHoldingKeysForPortfolioExpansion = default(bool),
bool  validateDomesticAndQuoteCurrenciesAreConsistent = default(bool),
string  conservedQuantityForLookthroughExpansion = default(string) 
)
inline

Initializes a new instance of the PricingOptions class.

Parameters
modelSelectionmodelSelection.
useInstrumentTypeToDeterminePricerIf true then use the instrument type to set the default instrument pricer This applies where no more specific set of overrides are provided on a per-vendor and instrument basis..
allowAnyInstrumentsWithSecUidToPriceOffLookupBy default, one would not expect to price and exotic instrument, i.e. an instrument with a complicated instrument definition simply through looking up a price as there should be a better way of evaluating it. To override that behaviour and allow lookup for a price from the instrument identifier(s), set this to true..
allowPartiallySuccessfulEvaluationIf true then a failure in task evaluation doesn't cause overall failure. results will be returned where they succeeded and annotation elsewhere.
produceSeparateResultForLinearOtcLegsIf true (default), when pricing an Fx-Forward or Interest Rate Swap, Future and other linearly separable products, product two results, one for each leg rather than a single line result with the amalgamated/summed pv from both legs..
enableUseOfCachedUnitResultsIf true, when pricing using a model or for an instrument that supports use of intermediate cached-results, use them. Default is that this caching is turned off..
windowValuationOnInstrumentStartEndIf true, when valuing an instrument outside the period where it is 'alive' (the start-maturity window) it will return a valuation of zero.
removeContingentCashflowsInPaymentDiaryWhen creating a payment diary, should contingent cash payments (e.g. from exercise of a swaption into a swap) be included or not. i.e. Is exercise or default being assumed to happen or not..
useChildSubHoldingKeysForPortfolioExpansionShould fund constituents inherit subholding keys from the parent subholding keyb.
validateDomesticAndQuoteCurrenciesAreConsistentDo we validate that the instrument domestic currency matches the quote currency (unless unknown/zzz) when using lookup pricing..
conservedQuantityForLookthroughExpansionWhen performing lookthrough portfolio expansion with ScalingMethodology set to "Sum" or "AbsoluteSum", the quantity specified here will be conserved and apportioned to lookthrough constituents. For example, an equal-weighting index with 100 constituents can be modelled as a reference portfolio with 1% weights on each equity. When expanding a $9000 holding of that index into its constituents while conserving PV, we end up with $90 of each equity. The number of units of each equity held is then implied. Note that conservation of one quantity may imply non-conservation of others, especially when some constituents are OTCs. Allowed values are: "PV" (default), "Exposure"..

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if PricingOptions instances are equal

Parameters
inputInstance of PricingOptions to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ AllowAnyInstrumentsWithSecUidToPriceOffLookup

bool Lusid.Sdk.Model.PricingOptions.AllowAnyInstrumentsWithSecUidToPriceOffLookup
getset

By default, one would not expect to price and exotic instrument, i.e. an instrument with a complicated instrument definition simply through looking up a price as there should be a better way of evaluating it. To override that behaviour and allow lookup for a price from the instrument identifier(s), set this to true.

By default, one would not expect to price and exotic instrument, i.e. an instrument with a complicated instrument definition simply through looking up a price as there should be a better way of evaluating it. To override that behaviour and allow lookup for a price from the instrument identifier(s), set this to true.

◆ AllowPartiallySuccessfulEvaluation

bool Lusid.Sdk.Model.PricingOptions.AllowPartiallySuccessfulEvaluation
getset

If true then a failure in task evaluation doesn't cause overall failure. results will be returned where they succeeded and annotation elsewhere

If true then a failure in task evaluation doesn't cause overall failure. results will be returned where they succeeded and annotation elsewhere

◆ ConservedQuantityForLookthroughExpansion

string Lusid.Sdk.Model.PricingOptions.ConservedQuantityForLookthroughExpansion
getset

When performing lookthrough portfolio expansion with ScalingMethodology set to "Sum" or "AbsoluteSum", the quantity specified here will be conserved and apportioned to lookthrough constituents. For example, an equal-weighting index with 100 constituents can be modelled as a reference portfolio with 1% weights on each equity. When expanding a $9000 holding of that index into its constituents while conserving PV, we end up with $90 of each equity. The number of units of each equity held is then implied. Note that conservation of one quantity may imply non-conservation of others, especially when some constituents are OTCs. Allowed values are: "PV" (default), "Exposure".

When performing lookthrough portfolio expansion with ScalingMethodology set to "Sum" or "AbsoluteSum", the quantity specified here will be conserved and apportioned to lookthrough constituents. For example, an equal-weighting index with 100 constituents can be modelled as a reference portfolio with 1% weights on each equity. When expanding a $9000 holding of that index into its constituents while conserving PV, we end up with $90 of each equity. The number of units of each equity held is then implied. Note that conservation of one quantity may imply non-conservation of others, especially when some constituents are OTCs. Allowed values are: "PV" (default), "Exposure".

◆ EnableUseOfCachedUnitResults

bool Lusid.Sdk.Model.PricingOptions.EnableUseOfCachedUnitResults
getset

If true, when pricing using a model or for an instrument that supports use of intermediate cached-results, use them. Default is that this caching is turned off.

If true, when pricing using a model or for an instrument that supports use of intermediate cached-results, use them. Default is that this caching is turned off.

◆ ModelSelection

ModelSelection Lusid.Sdk.Model.PricingOptions.ModelSelection
getset

Gets or Sets ModelSelection

◆ ProduceSeparateResultForLinearOtcLegs

bool Lusid.Sdk.Model.PricingOptions.ProduceSeparateResultForLinearOtcLegs
getset

If true (default), when pricing an Fx-Forward or Interest Rate Swap, Future and other linearly separable products, product two results, one for each leg rather than a single line result with the amalgamated/summed pv from both legs.

If true (default), when pricing an Fx-Forward or Interest Rate Swap, Future and other linearly separable products, product two results, one for each leg rather than a single line result with the amalgamated/summed pv from both legs.

◆ RemoveContingentCashflowsInPaymentDiary

bool Lusid.Sdk.Model.PricingOptions.RemoveContingentCashflowsInPaymentDiary
getset

When creating a payment diary, should contingent cash payments (e.g. from exercise of a swaption into a swap) be included or not. i.e. Is exercise or default being assumed to happen or not.

When creating a payment diary, should contingent cash payments (e.g. from exercise of a swaption into a swap) be included or not. i.e. Is exercise or default being assumed to happen or not.

◆ UseChildSubHoldingKeysForPortfolioExpansion

bool Lusid.Sdk.Model.PricingOptions.UseChildSubHoldingKeysForPortfolioExpansion
getset

Should fund constituents inherit subholding keys from the parent subholding keyb

Should fund constituents inherit subholding keys from the parent subholding keyb

◆ UseInstrumentTypeToDeterminePricer

bool Lusid.Sdk.Model.PricingOptions.UseInstrumentTypeToDeterminePricer
getset

If true then use the instrument type to set the default instrument pricer This applies where no more specific set of overrides are provided on a per-vendor and instrument basis.

If true then use the instrument type to set the default instrument pricer This applies where no more specific set of overrides are provided on a per-vendor and instrument basis.

◆ ValidateDomesticAndQuoteCurrenciesAreConsistent

bool Lusid.Sdk.Model.PricingOptions.ValidateDomesticAndQuoteCurrenciesAreConsistent
getset

Do we validate that the instrument domestic currency matches the quote currency (unless unknown/zzz) when using lookup pricing.

Do we validate that the instrument domestic currency matches the quote currency (unless unknown/zzz) when using lookup pricing.

◆ WindowValuationOnInstrumentStartEnd

bool Lusid.Sdk.Model.PricingOptions.WindowValuationOnInstrumentStartEnd
getset

If true, when valuing an instrument outside the period where it is 'alive' (the start-maturity window) it will return a valuation of zero

If true, when valuing an instrument outside the period where it is 'alive' (the start-maturity window) it will return a valuation of zero


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