Search
Preparing search index...
The search index is not available
quantlib.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"ql/cashflows/fixedratecoupon"
FixedRateLeg
Class FixedRateLeg
helper class building a sequence of fixed rate coupons
Hierarchy
FixedRateLeg
Implements
NullaryFunction
<
Leg
>
Index
Constructors
constructor
Properties
_coupon
Rates
_ex
Coupon
Adjustment
_ex
Coupon
Calendar
_ex
Coupon
End
OfMonth
_ex
Coupon
Period
_first
PeriodDC
_last
PeriodDC
_notionals
_payment
Adjustment
_payment
Calendar
_payment
Lag
_schedule
Methods
f
with
Coupon
Rates1
with
Coupon
Rates2
with
Coupon
Rates3
with
Coupon
Rates4
with
ExCoupon
Period
with
First
Period
Day
Counter
with
Last
Period
Day
Counter
with
Notionals1
with
Notionals2
with
Payment
Adjustment
with
Payment
Calendar
with
Payment
Lag
Constructors
constructor
new
Fixed
Rate
Leg
(
schedule
:
Schedule
)
:
FixedRateLeg
Parameters
schedule:
Schedule
Returns
FixedRateLeg
Properties
Private
_coupon
Rates
_coupon
Rates
:
InterestRate
[]
Private
_ex
Coupon
Adjustment
_ex
Coupon
Adjustment
:
BusinessDayConvention
Private
_ex
Coupon
Calendar
_ex
Coupon
Calendar
:
Calendar
Private
_ex
Coupon
End
OfMonth
_ex
Coupon
End
OfMonth
:
boolean
Private
_ex
Coupon
Period
_ex
Coupon
Period
:
Period
Private
_first
PeriodDC
_first
PeriodDC
:
DayCounter
= new DayCounter()
Private
_last
PeriodDC
_last
PeriodDC
:
DayCounter
= new DayCounter()
Private
_notionals
_notionals
:
Real
[]
Private
_payment
Adjustment
_payment
Adjustment
:
BusinessDayConvention
Private
_payment
Calendar
_payment
Calendar
:
Calendar
Private
_payment
Lag
_payment
Lag
:
Natural
Private
_schedule
_schedule
:
Schedule
Methods
f
f
(
)
:
Leg
Returns
Leg
with
Coupon
Rates1
with
Coupon
Rates1
(
rate
:
Rate
, dc
:
DayCounter
, comp
?:
Compounding
, freq
?:
Frequency
)
:
FixedRateLeg
Parameters
rate:
Rate
dc:
DayCounter
Default value
comp:
Compounding
= Compounding.Simple
Default value
freq:
Frequency
= Frequency.Annual
Returns
FixedRateLeg
with
Coupon
Rates2
with
Coupon
Rates2
(
i
:
InterestRate
)
:
FixedRateLeg
Parameters
i:
InterestRate
Returns
FixedRateLeg
with
Coupon
Rates3
with
Coupon
Rates3
(
rates
:
Rate
[]
, dc
:
DayCounter
, comp
?:
Compounding
, freq
?:
Frequency
)
:
FixedRateLeg
Parameters
rates:
Rate
[]
dc:
DayCounter
Default value
comp:
Compounding
= Compounding.Simple
Default value
freq:
Frequency
= Frequency.Annual
Returns
FixedRateLeg
with
Coupon
Rates4
with
Coupon
Rates4
(
interestRates
:
InterestRate
[]
)
:
FixedRateLeg
Parameters
interestRates:
InterestRate
[]
Returns
FixedRateLeg
with
ExCoupon
Period
with
ExCoupon
Period
(
period
:
Period
, cal
:
Calendar
, convention
:
BusinessDayConvention
, endOfMonth
?:
boolean
)
:
FixedRateLeg
Parameters
period:
Period
cal:
Calendar
convention:
BusinessDayConvention
Default value
endOfMonth:
boolean
= false
Returns
FixedRateLeg
with
First
Period
Day
Counter
with
First
Period
Day
Counter
(
dayCounter
:
DayCounter
)
:
FixedRateLeg
Parameters
dayCounter:
DayCounter
Returns
FixedRateLeg
with
Last
Period
Day
Counter
with
Last
Period
Day
Counter
(
dayCounter
:
DayCounter
)
:
FixedRateLeg
Parameters
dayCounter:
DayCounter
Returns
FixedRateLeg
with
Notionals1
with
Notionals1
(
notional
:
Real
)
:
FixedRateLeg
Parameters
notional:
Real
Returns
FixedRateLeg
with
Notionals2
with
Notionals2
(
notionals
:
Real
[]
)
:
FixedRateLeg
Parameters
notionals:
Real
[]
Returns
FixedRateLeg
with
Payment
Adjustment
with
Payment
Adjustment
(
convention
:
BusinessDayConvention
)
:
FixedRateLeg
Parameters
convention:
BusinessDayConvention
Returns
FixedRateLeg
with
Payment
Calendar
with
Payment
Calendar
(
cal
:
Calendar
)
:
FixedRateLeg
Parameters
cal:
Calendar
Returns
FixedRateLeg
with
Payment
Lag
with
Payment
Lag
(
lag
:
Natural
)
:
FixedRateLeg
Parameters
lag:
Natural
Returns
FixedRateLeg
Globals
"ql/cashflows/fixedratecoupon"
Fixed
Rate
Coupon
Fixed
Rate
Leg
constructor
_coupon
Rates
_ex
Coupon
Adjustment
_ex
Coupon
Calendar
_ex
Coupon
End
OfMonth
_ex
Coupon
Period
_first
PeriodDC
_last
PeriodDC
_notionals
_payment
Adjustment
_payment
Calendar
_payment
Lag
_schedule
f
with
Coupon
Rates1
with
Coupon
Rates2
with
Coupon
Rates3
with
Coupon
Rates4
with
ExCoupon
Period
with
First
Period
Day
Counter
with
Last
Period
Day
Counter
with
Notionals1
with
Notionals2
with
Payment
Adjustment
with
Payment
Calendar
with
Payment
Lag
helper class building a sequence of fixed rate coupons