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

RepoAllOf More...

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

Public Types

enum class  InstrumentTypeEnum {
  QuotedSecurity = 1 , InterestRateSwap = 2 , FxForward = 3 , Future = 4 ,
  ExoticInstrument = 5 , FxOption = 6 , CreditDefaultSwap = 7 , InterestRateSwaption = 8 ,
  Bond = 9 , EquityOption = 10 , FixedLeg = 11 , FloatingLeg = 12 ,
  BespokeCashFlowsLeg = 13 , Unknown = 14 , TermDeposit = 15 , ContractForDifference = 16 ,
  EquitySwap = 17 , CashPerpetual = 18 , CapFloor = 19 , CashSettled = 20 ,
  CdsIndex = 21 , Basket = 22 , FundingLeg = 23 , FxSwap = 24 ,
  ForwardRateAgreement = 25 , SimpleInstrument = 26 , Repo = 27 , Equity = 28 ,
  ExchangeTradedOption = 29 , ReferenceInstrument = 30 , ComplexBond = 31 , InflationLinkedBond = 32 ,
  InflationSwap = 33 , SimpleCashFlowLoan = 34 , TotalReturnSwap = 35 , InflationLeg = 36 ,
  FundShareClass = 37 , FlexibleLoan = 38
}
 The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan More...
 

Public Member Functions

 RepoAllOf (DateTimeOffset startDate=default(DateTimeOffset), DateTimeOffset maturityDate=default(DateTimeOffset), string domCcy=default(string), string accrualBasis=default(string), List< LusidInstrument > collateral=default(List< LusidInstrument >), decimal? collateralValue=default(decimal?), decimal? haircut=default(decimal?), decimal? margin=default(decimal?), decimal? purchasePrice=default(decimal?), decimal? repoRate=default(decimal?), decimal? repurchasePrice=default(decimal?), InstrumentTypeEnum instrumentType=default(InstrumentTypeEnum))
 Initializes a new instance of the RepoAllOf 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 (RepoAllOf input)
 Returns true if RepoAllOf instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

InstrumentTypeEnum InstrumentType [get, set]
 The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan More...
 
DateTimeOffset StartDate [get, set]
 The start date of the instrument. This is normally synonymous with the trade-date. More...
 
DateTimeOffset MaturityDate [get, set]
 The final maturity date of the instrument. This means the last date on which the instruments makes a payment of any amount. For the avoidance of doubt, that is not necessarily prior to its last sensitivity date for the purposes of risk; e.g. instruments such as Constant Maturity Swaps (CMS) often have sensitivities to rates that may well be observed or set prior to the maturity date, but refer to a termination date beyond it. More...
 
string DomCcy [get, set]
 The domestic currency of the instrument. More...
 
string AccrualBasis [get, set]
 For calculation of interest, the accrual basis to be used. For more information on day counts, see knowledge base article KA-01798 Supported string (enumeration) values are: [Actual360, Act360, MoneyMarket, Actual365, Act365, Thirty360, ThirtyU360, Bond, ThirtyE360, EuroBond, ActualActual, ActAct, ActActIsda, ActActIsma, ActActIcma, OneOne, Act364, Act365F, Act365L, Act365_25, Act252, Bus252, NL360, NL365, ActActAFB, Act365Cad, ThirtyActIsda, Thirty365Isda, ThirtyEActIsda, ThirtyE360Isda, ThirtyE365Isda, ThirtyU360EOM]. More...
 
List< LusidInstrumentCollateral [get, set]
 The actual collateral in the Repo. This property is for informational purposes only, Lusid pricing is not affected. More...
 
decimal? CollateralValue [get, set]
 The full market value of the collateral in domestic currency, before any margin or haircut is applied. More...
 
decimal? Haircut [get, set]
 The haircut (or margin percentage) applied to the collateral, this should be a number between 0 and 1, i.e. for a 5% haircut this should be 0.05. This is defined as (CollateralValue - PurchasePrice) / CollateralValue. If this property is specified, so too must CollateralValue. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified. More...
 
decimal? Margin [get, set]
 The initial margin (or margin ratio) applied to the collateral, this should be a number greater than or equal to 1.0, i.e. for a 102% margin this should be 1.02. A value of 1.0 means no margin (100%). This is defined as CollateralValue / PurchasePrice. If this property is specified, so too must CollateralValue. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified. More...
 
decimal? PurchasePrice [get, set]
 The price the collateral is initially purchased for, this property can be used to explicitly set the purchase price and not require collateral value and a margin or haircut. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified. More...
 
decimal? RepoRate [get, set]
 The rate at which interest is to be accrue and be paid upon redemption of the collateral at maturity. This field is used to calculate the Repurchase price. While this property is optional, one, and only one, of the RepoRate and RepurchasePrice must be specified. More...
 
decimal? RepurchasePrice [get, set]
 The price at which the collateral is repurchased, this field is optional and can be explicitly set here or will be calculated from the PurchasePrice and RepoRate. One, and only one, of the RepoRate and RepurchasePrice must be specified. More...
 

Detailed Description

RepoAllOf

Member Enumeration Documentation

◆ InstrumentTypeEnum

The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan

The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan

Enumerator
QuotedSecurity 

Enum QuotedSecurity for value: QuotedSecurity

InterestRateSwap 

Enum InterestRateSwap for value: InterestRateSwap

FxForward 

Enum FxForward for value: FxForward

Future 

Enum Future for value: Future

ExoticInstrument 

Enum ExoticInstrument for value: ExoticInstrument

FxOption 

Enum FxOption for value: FxOption

CreditDefaultSwap 

Enum CreditDefaultSwap for value: CreditDefaultSwap

InterestRateSwaption 

Enum InterestRateSwaption for value: InterestRateSwaption

Bond 

Enum Bond for value: Bond

EquityOption 

Enum EquityOption for value: EquityOption

FixedLeg 

Enum FixedLeg for value: FixedLeg

FloatingLeg 

Enum FloatingLeg for value: FloatingLeg

BespokeCashFlowsLeg 

Enum BespokeCashFlowsLeg for value: BespokeCashFlowsLeg

Unknown 

Enum Unknown for value: Unknown

TermDeposit 

Enum TermDeposit for value: TermDeposit

ContractForDifference 

Enum ContractForDifference for value: ContractForDifference

EquitySwap 

Enum EquitySwap for value: EquitySwap

CashPerpetual 

Enum CashPerpetual for value: CashPerpetual

CapFloor 

Enum CapFloor for value: CapFloor

CashSettled 

Enum CashSettled for value: CashSettled

CdsIndex 

Enum CdsIndex for value: CdsIndex

Basket 

Enum Basket for value: Basket

FundingLeg 

Enum FundingLeg for value: FundingLeg

FxSwap 

Enum FxSwap for value: FxSwap

ForwardRateAgreement 

Enum ForwardRateAgreement for value: ForwardRateAgreement

SimpleInstrument 

Enum SimpleInstrument for value: SimpleInstrument

Repo 

Enum Repo for value: Repo

Equity 

Enum Equity for value: Equity

ExchangeTradedOption 

Enum ExchangeTradedOption for value: ExchangeTradedOption

ReferenceInstrument 

Enum ReferenceInstrument for value: ReferenceInstrument

ComplexBond 

Enum ComplexBond for value: ComplexBond

InflationLinkedBond 

Enum InflationLinkedBond for value: InflationLinkedBond

InflationSwap 

Enum InflationSwap for value: InflationSwap

SimpleCashFlowLoan 

Enum SimpleCashFlowLoan for value: SimpleCashFlowLoan

TotalReturnSwap 

Enum TotalReturnSwap for value: TotalReturnSwap

InflationLeg 

Enum InflationLeg for value: InflationLeg

FundShareClass 

Enum FundShareClass for value: FundShareClass

FlexibleLoan 

Enum FlexibleLoan for value: FlexibleLoan

Constructor & Destructor Documentation

◆ RepoAllOf() [1/2]

Lusid.Sdk.Model.RepoAllOf.RepoAllOf ( )
inlineprotected

Initializes a new instance of the RepoAllOf class.

◆ RepoAllOf() [2/2]

Lusid.Sdk.Model.RepoAllOf.RepoAllOf ( DateTimeOffset  startDate = default(DateTimeOffset),
DateTimeOffset  maturityDate = default(DateTimeOffset),
string  domCcy = default(string),
string  accrualBasis = default(string),
List< LusidInstrument collateral = default(List<LusidInstrument>),
decimal?  collateralValue = default(decimal?),
decimal?  haircut = default(decimal?),
decimal?  margin = default(decimal?),
decimal?  purchasePrice = default(decimal?),
decimal?  repoRate = default(decimal?),
decimal?  repurchasePrice = default(decimal?),
InstrumentTypeEnum  instrumentType = default(InstrumentTypeEnum) 
)
inline

Initializes a new instance of the RepoAllOf class.

Parameters
startDateThe start date of the instrument. This is normally synonymous with the trade-date. (required).
maturityDateThe final maturity date of the instrument. This means the last date on which the instruments makes a payment of any amount. For the avoidance of doubt, that is not necessarily prior to its last sensitivity date for the purposes of risk; e.g. instruments such as Constant Maturity Swaps (CMS) often have sensitivities to rates that may well be observed or set prior to the maturity date, but refer to a termination date beyond it. (required).
domCcyThe domestic currency of the instrument. (required).
accrualBasisFor calculation of interest, the accrual basis to be used. For more information on day counts, see knowledge base article KA-01798 Supported string (enumeration) values are: [Actual360, Act360, MoneyMarket, Actual365, Act365, Thirty360, ThirtyU360, Bond, ThirtyE360, EuroBond, ActualActual, ActAct, ActActIsda, ActActIsma, ActActIcma, OneOne, Act364, Act365F, Act365L, Act365_25, Act252, Bus252, NL360, NL365, ActActAFB, Act365Cad, ThirtyActIsda, Thirty365Isda, ThirtyEActIsda, ThirtyE360Isda, ThirtyE365Isda, ThirtyU360EOM]. (required).
collateralThe actual collateral in the Repo. This property is for informational purposes only, Lusid pricing is not affected..
collateralValueThe full market value of the collateral in domestic currency, before any margin or haircut is applied..
haircutThe haircut (or margin percentage) applied to the collateral, this should be a number between 0 and 1, i.e. for a 5% haircut this should be 0.05. This is defined as (CollateralValue - PurchasePrice) / CollateralValue. If this property is specified, so too must CollateralValue. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified..
marginThe initial margin (or margin ratio) applied to the collateral, this should be a number greater than or equal to 1.0, i.e. for a 102% margin this should be 1.02. A value of 1.0 means no margin (100%). This is defined as CollateralValue / PurchasePrice. If this property is specified, so too must CollateralValue. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified..
purchasePriceThe price the collateral is initially purchased for, this property can be used to explicitly set the purchase price and not require collateral value and a margin or haircut. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified..
repoRateThe rate at which interest is to be accrue and be paid upon redemption of the collateral at maturity. This field is used to calculate the Repurchase price. While this property is optional, one, and only one, of the RepoRate and RepurchasePrice must be specified..
repurchasePriceThe price at which the collateral is repurchased, this field is optional and can be explicitly set here or will be calculated from the PurchasePrice and RepoRate. One, and only one, of the RepoRate and RepurchasePrice must be specified..
instrumentTypeThe available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if RepoAllOf instances are equal

Parameters
inputInstance of RepoAllOf to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ AccrualBasis

string Lusid.Sdk.Model.RepoAllOf.AccrualBasis
getset

For calculation of interest, the accrual basis to be used. For more information on day counts, see knowledge base article KA-01798 Supported string (enumeration) values are: [Actual360, Act360, MoneyMarket, Actual365, Act365, Thirty360, ThirtyU360, Bond, ThirtyE360, EuroBond, ActualActual, ActAct, ActActIsda, ActActIsma, ActActIcma, OneOne, Act364, Act365F, Act365L, Act365_25, Act252, Bus252, NL360, NL365, ActActAFB, Act365Cad, ThirtyActIsda, Thirty365Isda, ThirtyEActIsda, ThirtyE360Isda, ThirtyE365Isda, ThirtyU360EOM].

For calculation of interest, the accrual basis to be used. For more information on day counts, see knowledge base article KA-01798 Supported string (enumeration) values are: [Actual360, Act360, MoneyMarket, Actual365, Act365, Thirty360, ThirtyU360, Bond, ThirtyE360, EuroBond, ActualActual, ActAct, ActActIsda, ActActIsma, ActActIcma, OneOne, Act364, Act365F, Act365L, Act365_25, Act252, Bus252, NL360, NL365, ActActAFB, Act365Cad, ThirtyActIsda, Thirty365Isda, ThirtyEActIsda, ThirtyE360Isda, ThirtyE365Isda, ThirtyU360EOM].

◆ Collateral

List<LusidInstrument> Lusid.Sdk.Model.RepoAllOf.Collateral
getset

The actual collateral in the Repo. This property is for informational purposes only, Lusid pricing is not affected.

The actual collateral in the Repo. This property is for informational purposes only, Lusid pricing is not affected.

◆ CollateralValue

decimal? Lusid.Sdk.Model.RepoAllOf.CollateralValue
getset

The full market value of the collateral in domestic currency, before any margin or haircut is applied.

The full market value of the collateral in domestic currency, before any margin or haircut is applied.

◆ DomCcy

string Lusid.Sdk.Model.RepoAllOf.DomCcy
getset

The domestic currency of the instrument.

The domestic currency of the instrument.

◆ Haircut

decimal? Lusid.Sdk.Model.RepoAllOf.Haircut
getset

The haircut (or margin percentage) applied to the collateral, this should be a number between 0 and 1, i.e. for a 5% haircut this should be 0.05. This is defined as (CollateralValue - PurchasePrice) / CollateralValue. If this property is specified, so too must CollateralValue. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified.

The haircut (or margin percentage) applied to the collateral, this should be a number between 0 and 1, i.e. for a 5% haircut this should be 0.05. This is defined as (CollateralValue - PurchasePrice) / CollateralValue. If this property is specified, so too must CollateralValue. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified.

◆ InstrumentType

InstrumentTypeEnum Lusid.Sdk.Model.RepoAllOf.InstrumentType
getset

◆ Margin

decimal? Lusid.Sdk.Model.RepoAllOf.Margin
getset

The initial margin (or margin ratio) applied to the collateral, this should be a number greater than or equal to 1.0, i.e. for a 102% margin this should be 1.02. A value of 1.0 means no margin (100%). This is defined as CollateralValue / PurchasePrice. If this property is specified, so too must CollateralValue. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified.

The initial margin (or margin ratio) applied to the collateral, this should be a number greater than or equal to 1.0, i.e. for a 102% margin this should be 1.02. A value of 1.0 means no margin (100%). This is defined as CollateralValue / PurchasePrice. If this property is specified, so too must CollateralValue. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified.

◆ MaturityDate

DateTimeOffset Lusid.Sdk.Model.RepoAllOf.MaturityDate
getset

The final maturity date of the instrument. This means the last date on which the instruments makes a payment of any amount. For the avoidance of doubt, that is not necessarily prior to its last sensitivity date for the purposes of risk; e.g. instruments such as Constant Maturity Swaps (CMS) often have sensitivities to rates that may well be observed or set prior to the maturity date, but refer to a termination date beyond it.

The final maturity date of the instrument. This means the last date on which the instruments makes a payment of any amount. For the avoidance of doubt, that is not necessarily prior to its last sensitivity date for the purposes of risk; e.g. instruments such as Constant Maturity Swaps (CMS) often have sensitivities to rates that may well be observed or set prior to the maturity date, but refer to a termination date beyond it.

◆ PurchasePrice

decimal? Lusid.Sdk.Model.RepoAllOf.PurchasePrice
getset

The price the collateral is initially purchased for, this property can be used to explicitly set the purchase price and not require collateral value and a margin or haircut. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified.

The price the collateral is initially purchased for, this property can be used to explicitly set the purchase price and not require collateral value and a margin or haircut. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified.

◆ RepoRate

decimal? Lusid.Sdk.Model.RepoAllOf.RepoRate
getset

The rate at which interest is to be accrue and be paid upon redemption of the collateral at maturity. This field is used to calculate the Repurchase price. While this property is optional, one, and only one, of the RepoRate and RepurchasePrice must be specified.

The rate at which interest is to be accrue and be paid upon redemption of the collateral at maturity. This field is used to calculate the Repurchase price. While this property is optional, one, and only one, of the RepoRate and RepurchasePrice must be specified.

◆ RepurchasePrice

decimal? Lusid.Sdk.Model.RepoAllOf.RepurchasePrice
getset

The price at which the collateral is repurchased, this field is optional and can be explicitly set here or will be calculated from the PurchasePrice and RepoRate. One, and only one, of the RepoRate and RepurchasePrice must be specified.

The price at which the collateral is repurchased, this field is optional and can be explicitly set here or will be calculated from the PurchasePrice and RepoRate. One, and only one, of the RepoRate and RepurchasePrice must be specified.

◆ StartDate

DateTimeOffset Lusid.Sdk.Model.RepoAllOf.StartDate
getset

The start date of the instrument. This is normally synonymous with the trade-date.

The start date of the instrument. This is normally synonymous with the trade-date.


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