Methods
Static accrualDays
accrualDays( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Integer
Defined in ql/cashflows/cashflows.ts:398
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Static accrualEndDate
accrualEndDate( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Date
Defined in ql/cashflows/cashflows.ts:302
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Returns Date
Static accrualPeriod
accrualPeriod( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Time
Defined in ql/cashflows/cashflows.ts:374
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Static accrualStartDate
accrualStartDate( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Date
Defined in ql/cashflows/cashflows.ts:278
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Returns Date
Static accruedAmount
accruedAmount( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Real
Defined in ql/cashflows/cashflows.ts:478
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Static accruedDays
accruedDays( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Integer
Defined in ql/cashflows/cashflows.ts:450
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Static accruedPeriod
accruedPeriod( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Time
Defined in ql/cashflows/cashflows.ts:422
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Static atmRate
atmRate( leg: Leg , discountCurve: YieldTermStructure , includeSettlementDateFlows: boolean , settlementDate?: Date , npvDate?: Date , targetNpv?: Real ) : Rate
Defined in ql/cashflows/cashflows.ts:744
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Default value targetNpv: Real = QL_NULL_REAL
Static basisPointValue1
basisPointValue1( leg: Leg , y: InterestRate , includeSettlementDateFlows: boolean , settlementDate?: Date , npvDate?: Date ) : number
Defined in ql/cashflows/cashflows.ts:978
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Returns number
Static basisPointValue2
Defined in ql/cashflows/cashflows.ts:1010
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Returns number
Static bps1
bps1( leg: Leg , discountCurve: YieldTermStructure , includeSettlementDateFlows: boolean , settlementDate?: Date , npvDate?: Date ) : Real
Defined in ql/cashflows/cashflows.ts:514
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Static bps2
bps2( leg: Leg , y: InterestRate , includeSettlementDateFlows: boolean , settlementDate?: Date , npvDate?: Date ) : Real
Defined in ql/cashflows/cashflows.ts:540
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Static bps3
Defined in ql/cashflows/cashflows.ts:563
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Static convexity1
convexity1( leg: Leg , y: InterestRate , includeSettlementDateFlows: boolean , settlementDate?: Date , npvDate?: Date ) : number
Defined in ql/cashflows/cashflows.ts:890
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Returns number
Static convexity2
Defined in ql/cashflows/cashflows.ts:964
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Returns number
Static duration1
duration1( leg: Leg , rate: InterestRate , type: Type , includeSettlementDateFlows: boolean , settlementDate?: Date , npvDate?: Date ) : Time
Defined in ql/cashflows/cashflows.ts:841
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Static duration2
Defined in ql/cashflows/cashflows.ts:872
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Static isExpired
isExpired( leg: Leg , includeSettlementDateFlows: boolean , settlementDate: Date ) : boolean
Defined in ql/cashflows/cashflows.ts:79
Parameters
includeSettlementDateFlows: boolean
settlementDate: Date
Returns boolean
Static maturityDate
maturityDate( leg: Leg ) : Date
Defined in ql/cashflows/cashflows.ts:59
Parameters
Returns Date
Static nextCashFlow1
nextCashFlow1( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : CashFlow
Defined in ql/cashflows/cashflows.ts:137
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Static nextCashFlow2
nextCashFlow2( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Size
Defined in ql/cashflows/cashflows.ts:157
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Static nextCashFlowAmount
nextCashFlowAmount( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Real
Defined in ql/cashflows/cashflows.ts:219
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Static nextCashFlowDate
nextCashFlowDate( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Date
Defined in ql/cashflows/cashflows.ts:189
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Returns Date
Static nextCouponRate
nextCouponRate( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Rate
Defined in ql/cashflows/cashflows.ts:246
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Static nominal
nominal( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Real
Defined in ql/cashflows/cashflows.ts:254
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Static npv1
npv1( leg: Leg , discountCurve: YieldTermStructure , includeSettlementDateFlows: boolean , settlementDate?: Date , npvDate?: Date ) : number
Defined in ql/cashflows/cashflows.ts:577
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Returns number
Static npv2
npv2( leg: Leg , y: InterestRate , includeSettlementDateFlows: boolean , settlementDate?: Date , npvDate?: Date ) : Real
Defined in ql/cashflows/cashflows.ts:604
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Static npv3
Defined in ql/cashflows/cashflows.ts:655
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Static npv4
Defined in ql/cashflows/cashflows.ts:664
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Returns number
Static npvbps
npvbps( leg: Leg , discountCurve: YieldTermStructure , includeSettlementDateFlows: boolean , settlementDate: Date , npvDate: Date , ref: byRef ) : void
Defined in ql/cashflows/cashflows.ts:704
Parameters
includeSettlementDateFlows: boolean
settlementDate: Date
npvDate: Date
Returns void
Static previousCashFlow1
previousCashFlow1( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : CashFlow
Defined in ql/cashflows/cashflows.ts:98
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Static previousCashFlow2
previousCashFlow2( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Size
Defined in ql/cashflows/cashflows.ts:118
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Static previousCashFlowAmount
previousCashFlowAmount( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Real
Defined in ql/cashflows/cashflows.ts:201
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Static previousCashFlowDate
previousCashFlowDate( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Date
Defined in ql/cashflows/cashflows.ts:177
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Returns Date
Static previousCouponRate
previousCouponRate( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Rate
Defined in ql/cashflows/cashflows.ts:238
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Static referencePeriodEnd
referencePeriodEnd( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Date
Defined in ql/cashflows/cashflows.ts:350
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Returns Date
Static referencePeriodStart
referencePeriodStart( leg: Leg , includeSettlementDateFlows: boolean , settlementDate?: Date ) : Date
Defined in ql/cashflows/cashflows.ts:326
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Returns Date
Static startDate
startDate( leg: Leg ) : Date
Defined in ql/cashflows/cashflows.ts:39
Parameters
Returns Date
Static yield1
yield1( leg: Leg , npv: Real , dc: DayCounter , comp: Compounding , freq: Frequency , includeSettlementDateFlows: boolean , settlementDate?: Date , npvDate?: Date , accuracy?: Real , maxIterations?: Size , guess?: Rate ) : Rate
Defined in ql/cashflows/cashflows.ts:792
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Default value accuracy: Real = 1e-10
Default value maxIterations: Size = 100
Default value guess: Rate = 0.05
Static yield2
yield2( solver: ISolver1D , leg: Leg , npv: Real , dc: DayCounter , comp: Compounding , freq: Frequency , includeSettlementDateFlows: boolean , settlementDate?: Date , npvDate?: Date , accuracy?: Real , maxIterations?: Size , guess?: Rate ) : Rate
Defined in ql/cashflows/cashflows.ts:804
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Default value accuracy: Real = 1e-10
Default value maxIterations: Size = 100
Default value guess: Rate = 0.05
Static yieldValueBasisPoint1
yieldValueBasisPoint1( leg: Leg , y: InterestRate , includeSettlementDateFlows: boolean , settlementDate?: Date , npvDate?: Date ) : number
Defined in ql/cashflows/cashflows.ts:1025
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Returns number
Static yieldValueBasisPoint2
Defined in ql/cashflows/cashflows.ts:1049
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: Date = null
Returns number
Static zSpread1
zSpread1( leg: Leg , npv: Real , discount: YieldTermStructure , dayCounter: DayCounter , compounding: Compounding , frequency: Frequency , includeSettlementDateFlows: boolean , settlementDate: Date , npvDate: Date , accuracy: Real , maxIterations: Size , guess: Rate ) : Spread
Defined in ql/cashflows/cashflows.ts:1059
Parameters
includeSettlementDateFlows: boolean
settlementDate: Date
npvDate: Date
accuracy: Real
maxIterations: Size
Static zSpread2
zSpread2( leg: Leg , d: YieldTermStructure , npv: Real , dc: DayCounter , comp: Compounding , freq: Frequency , includeSettlementDateFlows: boolean , settlementDate?: Date , npvDate?: Date , accuracy?: Real , maxIterations?: Size , guess?: Rate ) : Spread
Defined in ql/cashflows/cashflows.ts:1082
Parameters
includeSettlementDateFlows: boolean
Default value settlementDate: Date = null
Default value npvDate: 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
cashflow-analysis functions
add tests