Methods
Static accrualDays
accrualDays( bond: Bond , settlementDate?: Date ) : Integer
Defined in ql/pricingengines/bond/bondfunctions.ts:204
Parameters
Default value settlementDate: Date = null
Static accrualEndDate
accrualEndDate( bond: Bond , settlementDate?: Date ) : Date
Defined in ql/pricingengines/bond/bondfunctions.ts:146
Parameters
Default value settlementDate: Date = null
Returns Date
Static accrualPeriod
accrualPeriod( bond: Bond , settlementDate?: Date ) : Time
Defined in ql/pricingengines/bond/bondfunctions.ts:190
Parameters
Default value settlementDate: Date = null
Static accrualStartDate
accrualStartDate( bond: Bond , settlementDate?: Date ) : Date
Defined in ql/pricingengines/bond/bondfunctions.ts:132
Parameters
Default value settlementDate: Date = null
Returns Date
Static accruedAmount
accruedAmount( bond: Bond , settlementDate?: Date ) : Integer
Defined in ql/pricingengines/bond/bondfunctions.ts:246
Parameters
Default value settlementDate: Date = null
Static accruedDays
accruedDays( bond: Bond , settlementDate?: Date ) : Integer
Defined in ql/pricingengines/bond/bondfunctions.ts:232
Parameters
Default value settlementDate: Date = null
Static accruedPeriod
accruedPeriod( bond: Bond , settlementDate?: Date ) : Time
Defined in ql/pricingengines/bond/bondfunctions.ts:218
Parameters
Default value settlementDate: Date = null
Static atmRate
Defined in ql/pricingengines/bond/bondfunctions.ts:298
Parameters
Default value settlementDate: Date = null
Default value cleanPrice: Real = QL_NULL_REAL
Static basisPointValue1
Defined in ql/pricingengines/bond/bondfunctions.ts:464
Parameters
Default value settlementDate: Date = null
Static basisPointValue2
Defined in ql/pricingengines/bond/bondfunctions.ts:480
Parameters
Default value settlement: Date = null
Static bps1
Defined in ql/pricingengines/bond/bondfunctions.ts:280
Parameters
Default value settlementDate: Date = null
Static bps2
Defined in ql/pricingengines/bond/bondfunctions.ts:362
Parameters
Default value settlement: Date = null
Static bps3
Defined in ql/pricingengines/bond/bondfunctions.ts:377
Parameters
Default value settlement: Date = null
Static cleanPrice1
Defined in ql/pricingengines/bond/bondfunctions.ts:261
Parameters
Default value settlementDate: Date = null
Static cleanPrice2
Defined in ql/pricingengines/bond/bondfunctions.ts:324
Parameters
Default value settlementDate: Date = null
Static cleanPrice3
Defined in ql/pricingengines/bond/bondfunctions.ts:330
Parameters
Default value settlementDate: Date = null
Static cleanPrice4
Defined in ql/pricingengines/bond/bondfunctions.ts:510
Parameters
Default value settlementDate: Date = null
Static convexity1
Defined in ql/pricingengines/bond/bondfunctions.ts:442
Parameters
Default value settlementDate: Date = null
Static convexity2
Defined in ql/pricingengines/bond/bondfunctions.ts:457
Parameters
Default value settlement: Date = null
Static dirtyPrice1
Defined in ql/pricingengines/bond/bondfunctions.ts:337
Parameters
Default value settlementDate: Date = null
Static dirtyPrice2
Defined in ql/pricingengines/bond/bondfunctions.ts:355
Parameters
Default value settlement: Date = null
Static duration1
Defined in ql/pricingengines/bond/bondfunctions.ts:417
Parameters
Default value type: Type = Duration.Type.Modified
Default value settlementDate: Date = null
Static duration2
Defined in ql/pricingengines/bond/bondfunctions.ts:434
Parameters
Default value type: Type = Duration.Type.Modified
Default value settlement: Date = null
Static isTradable
isTradable( bond: Bond , settlementDate?: Date ) : boolean
Defined in ql/pricingengines/bond/bondfunctions.ts:40
Parameters
Default value settlementDate: Date = null
Returns boolean
Static maturityDate
maturityDate( bond: Bond ) : Date
Defined in ql/pricingengines/bond/bondfunctions.ts:36
Parameters
Returns Date
Static nextCashFlow1
Defined in ql/pricingengines/bond/bondfunctions.ts:64
Parameters
Default value settlementDate: Date = null
Static nextCashFlow2
nextCashFlow2( bond: Bond , settlementDate?: Date ) : Size
Defined in ql/pricingengines/bond/bondfunctions.ts:72
Parameters
Default value settlementDate: Date = null
Static nextCashFlowAmount
nextCashFlowAmount( bond: Bond , settlementDate?: Date ) : Real
Defined in ql/pricingengines/bond/bondfunctions.ts:106
Parameters
Default value settlementDate: Date = null
Static nextCashFlowDate
nextCashFlowDate( bond: Bond , settlementDate?: Date ) : Date
Defined in ql/pricingengines/bond/bondfunctions.ts:89
Parameters
Default value settlementDate: Date = null
Returns Date
Static nextCouponRate
nextCouponRate( bond: Bond , settlementDate?: Date ) : Rate
Defined in ql/pricingengines/bond/bondfunctions.ts:124
Parameters
Default value settlementDate: Date = null
Static previousCashFlow1
previousCashFlow1( bond: Bond , settlementDate?: Date ) : CashFlow
Defined in ql/pricingengines/bond/bondfunctions.ts:48
Parameters
Default value settlementDate: Date = null
Static previousCashFlow2
previousCashFlow2( bond: Bond , settlementDate?: Date ) : Size
Defined in ql/pricingengines/bond/bondfunctions.ts:56
Parameters
Default value settlementDate: Date = null
Static previousCashFlowAmount
previousCashFlowAmount( bond: Bond , settlementDate?: Date ) : Real
Defined in ql/pricingengines/bond/bondfunctions.ts:97
Parameters
Default value settlementDate: Date = null
Static previousCashFlowDate
previousCashFlowDate( bond: Bond , settlementDate?: Date ) : Date
Defined in ql/pricingengines/bond/bondfunctions.ts:80
Parameters
Default value settlementDate: Date = null
Returns Date
Static previousCouponRate
previousCouponRate( bond: Bond , settlementDate?: Date ) : Rate
Defined in ql/pricingengines/bond/bondfunctions.ts:115
Parameters
Default value settlementDate: Date = null
Static referencePeriodEnd
referencePeriodEnd( bond: Bond , settlementDate?: Date ) : Date
Defined in ql/pricingengines/bond/bondfunctions.ts:175
Parameters
Default value settlementDate: Date = null
Returns Date
Static referencePeriodStart
referencePeriodStart( bond: Bond , settlementDate?: Date ) : Date
Defined in ql/pricingengines/bond/bondfunctions.ts:160
Parameters
Default value settlementDate: Date = null
Returns Date
Static startDate
startDate( bond: Bond ) : Date
Defined in ql/pricingengines/bond/bondfunctions.ts:32
Parameters
Returns Date
Static yield1
Defined in ql/pricingengines/bond/bondfunctions.ts:384
Parameters
cleanPrice: Real
Default value settlement: Date = null
Default value accuracy: Real = 1e-10
Default value maxIterations: Size = 100
Default value guess: Rate = 0.05
Static yield2
Defined in ql/pricingengines/bond/bondfunctions.ts:394
Parameters
cleanPrice: Real
Default value settlementDate: Date = null
Default value accuracy: Real = 1e-10
Default value maxIterations: Size = 100
Default value guess: Rate = 0.05
Static yieldValueBasisPoint1
Defined in ql/pricingengines/bond/bondfunctions.ts:487
Parameters
Default value settlementDate: Date = null
Static yieldValueBasisPoint2
Defined in ql/pricingengines/bond/bondfunctions.ts:503
Parameters
Default value settlement: Date = null
Static zSpread
Defined in ql/pricingengines/bond/bondfunctions.ts:530
Parameters
cleanPrice: Real
Default value settlement: Date = null
Default value accuracy: Real = 1e-10
Default value maxIterations: Size = 100
Default value guess: Rate = 0
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Type alias with type parameter
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Bond adapters of CashFlows functions
See CashFlows for functions' documentation.
These adapters calls into CashFlows functions passing as input the Bond cashflows, the dirty price (i.e. npv) calculated from clean price, the bond settlement date (unless another date is given), zero ex-dividend days, and excluding any cashflow on the settlement date.
Prices are always clean, as per market convention.