3
votes
1answer
97 views

Pricing a FixedRateBond in Quantlib: yield vs TermStructure

I am trying to price a simple U.S. treasury in QuantLib, using two methods. The first method calls FixedRatebond.dirtyPrice(...), passing in a YTM and other parameters. The second method involves ...
3
votes
1answer
206 views

How to manage evaluation date changes in QuantLib while using ImpliedTermStructure Class

I will not attach the whole code 'cause it would be just a huge waste of space and it would be not useful for this question's purpose. What I am going to attach here is a snippet code and its output, ...
0
votes
0answers
484 views

What is the best alternative of Quantlib library

We need to build a Fixed Income Portfolio Risk Analytics solution. Somehow due to administrative reason we can't use Quantlib which is written in C++, even call it through SWIG via JNI. We have tried ...
3
votes
1answer
264 views

Pricing Fixed-To-Floater bond in QuantLib

Wandering through QuantLib's Financial instruments documentation, I noticed no class for fixed-to-floater bonds exist. Then I was wondering what a suitable way to price such an instrument would be ...
1
vote
1answer
222 views

Automatic fixing of missing floating rate in QuantLib's addFixing()

Due to the periodic fixing of floating rate bonds's coupon rates, in order to calculate the bond clean price one must tell the pricing engine to account for previous LIBOR rate fixing. If I am right ...
2
votes
1answer
554 views

How to price a bond at specified dates in QuantLib

I am wondering what's the most efficient way (i.e. the method which involves the fewest arguments) to price a bond at a specified date, e.g. a future date (as instance, 6 months from now) in QuantLib. ...
5
votes
1answer
215 views

Definition of gearings, spreads and curve in RQuantLib's Floating Rate Bond function

Consider the RQuantLib package function FloatingRateBond(). This takes as inputs gearings ...
3
votes
0answers
134 views

RQuantLib: any difference between FixedRateBond() and FixedRateBondPriceByYield() with flat term structure?

Please, consider the following functions from RQuantLib package: FixedRateBond() ...