QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <averageoiscouponpricer.hpp>
Public Member Functions | |
ArithmeticAveragedOvernightIndexedCouponPricer (Real meanReversion=0.03, Real volatility=0.00, bool byApprox=false) | |
ArithmeticAveragedOvernightIndexedCouponPricer (bool byApprox) | |
void | initialize (const FloatingRateCoupon &coupon) override |
Rate | swapletRate () const override |
Real | swapletPrice () const override |
Real | capletPrice (Rate) const override |
Rate | capletRate (Rate) const override |
Real | floorletPrice (Rate) const override |
Rate | floorletRate (Rate) const override |
Public Member Functions inherited from FloatingRateCouponPricer | |
~FloatingRateCouponPricer () override=default | |
void | update () override |
Public Member Functions inherited from Observer | |
Observer ()=default | |
Observer (const Observer &) | |
Observer & | operator= (const Observer &) |
virtual | ~Observer () |
std::pair< iterator, bool > | registerWith (const ext::shared_ptr< Observable > &) |
void | registerWithObservables (const ext::shared_ptr< Observer > &) |
Size | unregisterWith (const ext::shared_ptr< Observable > &) |
void | unregisterWithAll () |
virtual void | update ()=0 |
virtual void | deepUpdate () |
Public Member Functions inherited from Observable | |
Observable () | |
Observable (const Observable &) | |
Observable & | operator= (const Observable &) |
Observable (Observable &&)=delete | |
Observable & | operator= (Observable &&)=delete |
virtual | ~Observable ()=default |
void | notifyObservers () |
Protected Member Functions | |
Real | convAdj1 (Time ts, Time te) const |
Real | convAdj2 (Time ts, Time te) const |
Protected Attributes | |
const OvernightIndexedCoupon * | coupon_ |
bool | byApprox_ |
Real | mrs_ |
Real | vol_ |
Additional Inherited Members | |
Public Types inherited from Observer | |
typedef set_type::iterator | iterator |
pricer for arithmetically averaged overnight indexed coupons Reference: Katsumi Takada 2011, Valuation of Arithmetically Average of Fed Funds Rates and Construction of the US Dollar Swap Yield Curve
Definition at line 36 of file averageoiscouponpricer.hpp.
|
explicit |
Definition at line 39 of file averageoiscouponpricer.hpp.
|
explicit |
Definition at line 45 of file averageoiscouponpricer.hpp.
|
overridevirtual |
Implements FloatingRateCouponPricer.
Definition at line 30 of file averageoiscouponpricer.cpp.
|
overridevirtual |
Implements FloatingRateCouponPricer.
Definition at line 36 of file averageoiscouponpricer.cpp.
|
overridevirtual |
Implements FloatingRateCouponPricer.
Definition at line 51 of file averageoiscouponpricer.hpp.
Implements FloatingRateCouponPricer.
Definition at line 52 of file averageoiscouponpricer.hpp.
Implements FloatingRateCouponPricer.
Definition at line 53 of file averageoiscouponpricer.hpp.
Implements FloatingRateCouponPricer.
Definition at line 54 of file averageoiscouponpricer.hpp.
Implements FloatingRateCouponPricer.
Definition at line 55 of file averageoiscouponpricer.hpp.
Definition at line 131 of file averageoiscouponpricer.cpp.
Definition at line 138 of file averageoiscouponpricer.cpp.
|
protected |
Definition at line 60 of file averageoiscouponpricer.hpp.
|
protected |
Definition at line 61 of file averageoiscouponpricer.hpp.
|
protected |
Definition at line 62 of file averageoiscouponpricer.hpp.
|
protected |
Definition at line 63 of file averageoiscouponpricer.hpp.