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

The conventions for the calculation of FX fixings, where the fixing rate is expected to be the amount of DomCcy per unit of FgnCcy. As an example, assume the required fixing is the WM/R 4pm mid closing rate for the USD amount per 1 EUR. This is published with RIC EURUSDFIXM=WM, which would be the FixingReference, with FgnCcy EUR and DomCcy USD. More...

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

Public Member Functions

 FxConventions (string fgnCcy=default(string), string domCcy=default(string), string fixingReference=default(string))
 Initializes a new instance of the FxConventions 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 (FxConventions input)
 Returns true if FxConventions instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

string FgnCcy [get, set]
 The foreign currency More...
 
string DomCcy [get, set]
 The domestic currency More...
 
string FixingReference [get, set]
 The reference name used to find the desired quote More...
 

Detailed Description

The conventions for the calculation of FX fixings, where the fixing rate is expected to be the amount of DomCcy per unit of FgnCcy. As an example, assume the required fixing is the WM/R 4pm mid closing rate for the USD amount per 1 EUR. This is published with RIC EURUSDFIXM=WM, which would be the FixingReference, with FgnCcy EUR and DomCcy USD.

Constructor & Destructor Documentation

◆ FxConventions() [1/2]

Lusid.Sdk.Model.FxConventions.FxConventions ( )
inlineprotected

Initializes a new instance of the FxConventions class.

◆ FxConventions() [2/2]

Lusid.Sdk.Model.FxConventions.FxConventions ( string  fgnCcy = default(string),
string  domCcy = default(string),
string  fixingReference = default(string) 
)
inline

Initializes a new instance of the FxConventions class.

Parameters
fgnCcyThe foreign currency (required).
domCcyThe domestic currency (required).
fixingReferenceThe reference name used to find the desired quote (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if FxConventions instances are equal

Parameters
inputInstance of FxConventions to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ DomCcy

string Lusid.Sdk.Model.FxConventions.DomCcy
getset

The domestic currency

The domestic currency

◆ FgnCcy

string Lusid.Sdk.Model.FxConventions.FgnCcy
getset

The foreign currency

The foreign currency

◆ FixingReference

string Lusid.Sdk.Model.FxConventions.FixingReference
getset

The reference name used to find the desired quote

The reference name used to find the desired quote


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