|
| Bond (DateTimeOffset startDate=default(DateTimeOffset), DateTimeOffset maturityDate=default(DateTimeOffset), string domCcy=default(string), FlowConventions flowConventions=default(FlowConventions), decimal principal=default(decimal), decimal couponRate=default(decimal), Dictionary< string, string > identifiers=default(Dictionary< string, string >), int? exDividendDays=default(int?), DateTimeOffset? initialCouponDate=default(DateTimeOffset?), DateTimeOffset? firstCouponPayDate=default(DateTimeOffset?), string calculationType=default(string), List< RoundingConvention > roundingConventions=default(List< RoundingConvention >), ExDividendConfiguration exDividendConfiguration=default(ExDividendConfiguration), decimal? originalIssuePrice=default(decimal?), InstrumentTypeEnum instrumentType=default(InstrumentTypeEnum)) |
| Initializes a new instance of the Bond 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 (Bond input) |
| Returns true if Bond instances are equal More...
|
|
override int | GetHashCode () |
| Gets the hash code More...
|
|
| LusidInstrument (InstrumentTypeEnum instrumentType=default(InstrumentTypeEnum)) |
| Initializes a new instance of the LusidInstrument 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 (LusidInstrument input) |
| Returns true if LusidInstrument instances are equal More...
|
|
override int | GetHashCode () |
| Gets the hash code More...
|
|
|
DateTimeOffset | StartDate [get, set] |
| The Start date of the bond, this is normally when accrual of the first coupon begins. More...
|
|
DateTimeOffset | MaturityDate [get, set] |
| The Maturity date of the bond, this is when the last coupon accrual period ends. Note that while most bonds have their last payment on this date there are some cases where the final payment is the next working day. More...
|
|
string | DomCcy [get, set] |
| The domestic currency of the instrument. This should be the same as the Currency set on the FlowConventions. More...
|
|
FlowConventions | FlowConventions [get, set] |
| Gets or Sets FlowConventions More...
|
|
decimal | Principal [get, set] |
| The face-value or principal for the bond at outset. This might be reduced through its lifetime in the event of amortisation or similar. More...
|
|
decimal | CouponRate [get, set] |
| Simple coupon rate. More...
|
|
Dictionary< string, string > | Identifiers [get, set] |
| External market codes and identifiers for the bond, e.g. ISIN. More...
|
|
int? | ExDividendDays [get, set] |
| Optional. Number of calendar days in the ex-dividend period. If the settlement date falls in the ex-dividend period then the coupon paid is zero and the accrued interest is negative. If set, this must be a non-negative number. If not set, or set to 0, then there is no ex-dividend period. NOTE: This field is deprecated. If you wish to set the ExDividendDays on a bond, please use the ExDividendConfiguration. More...
|
|
DateTimeOffset? | InitialCouponDate [get, set] |
| Optional and to be DEPRECATED. If set, this is the date at which the bond begins to accrue interest. Instead, this information should be entered in the field StartDate. More...
|
|
DateTimeOffset? | FirstCouponPayDate [get, set] |
| The date that the first coupon of the bond is paid. This is required for bonds that have a long first coupon or short first coupon. The first coupon pay date is used as an anchor to compare with the start date and determine if this is a long/short coupon period. More...
|
|
string | CalculationType [get, set] |
| The calculation type applied to the bond coupon amount. This is required for bonds that have a particular type of computing the period coupon, such as simple compounding, irregular coupons etc. The default CalculationType is `Standard`, which returns a coupon amount equal to Principal * Coupon Rate / Coupon Frequency. Coupon Frequency is 12M / Payment Frequency. Payment Frequency can be 1M, 3M, 6M, 12M etc. So Coupon Frequency can be 12, 4, 2, 1 respectively. Supported string (enumeration) values are: [Standard, DayCountCoupon, NoCalculationFloater, BrazilFixedCoupon, StandardWithCappedAccruedInterest]. More...
|
|
List< RoundingConvention > | RoundingConventions [get, set] |
| Rounding conventions for analytics, if any. More...
|
|
ExDividendConfiguration | ExDividendConfiguration [get, set] |
| Gets or Sets ExDividendConfiguration More...
|
|
decimal? | OriginalIssuePrice [get, set] |
| The price the bond was issued at. This is to be entered as a percentage of par, for example a value of 98.5 would represent 98.5%. More...
|
|
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, UnsettledCash, Cash, MasteredInstrument, LoanFacility More...
|
|
|
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
, UnsettledCash = 39
, Cash = 40
,
MasteredInstrument = 41
, LoanFacility = 42
} |
| 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, UnsettledCash, Cash, MasteredInstrument, LoanFacility More...
|
|
LUSID representation of a Vanilla Fixed Rate Bond.
string Lusid.Sdk.Model.Bond.CalculationType |
|
getset |
The calculation type applied to the bond coupon amount. This is required for bonds that have a particular type of computing the period coupon, such as simple compounding, irregular coupons etc. The default CalculationType is `Standard`, which returns a coupon amount equal to Principal * Coupon Rate / Coupon Frequency. Coupon Frequency is 12M / Payment Frequency. Payment Frequency can be 1M, 3M, 6M, 12M etc. So Coupon Frequency can be 12, 4, 2, 1 respectively. Supported string (enumeration) values are: [Standard, DayCountCoupon, NoCalculationFloater, BrazilFixedCoupon, StandardWithCappedAccruedInterest].
The calculation type applied to the bond coupon amount. This is required for bonds that have a particular type of computing the period coupon, such as simple compounding, irregular coupons etc. The default CalculationType is `Standard`, which returns a coupon amount equal to Principal * Coupon Rate / Coupon Frequency. Coupon Frequency is 12M / Payment Frequency. Payment Frequency can be 1M, 3M, 6M, 12M etc. So Coupon Frequency can be 12, 4, 2, 1 respectively. Supported string (enumeration) values are: [Standard, DayCountCoupon, NoCalculationFloater, BrazilFixedCoupon, StandardWithCappedAccruedInterest].
int? Lusid.Sdk.Model.Bond.ExDividendDays |
|
getset |
Optional. Number of calendar days in the ex-dividend period. If the settlement date falls in the ex-dividend period then the coupon paid is zero and the accrued interest is negative. If set, this must be a non-negative number. If not set, or set to 0, then there is no ex-dividend period. NOTE: This field is deprecated. If you wish to set the ExDividendDays on a bond, please use the ExDividendConfiguration.
Optional. Number of calendar days in the ex-dividend period. If the settlement date falls in the ex-dividend period then the coupon paid is zero and the accrued interest is negative. If set, this must be a non-negative number. If not set, or set to 0, then there is no ex-dividend period. NOTE: This field is deprecated. If you wish to set the ExDividendDays on a bond, please use the ExDividendConfiguration.