RQuantlib - FixedRate Bond with negative Rates

Viewed 151

Following up on this thread, is there a way to price a Bond with negative rates?

I use R (3.5.3) and installed the current version of RQuantlib (0.4.10). When I try to price a Bond with negative rates I always get the same error as in the linked thread:

Error in FixedRateWithRebuiltCurve(bond, rates, schedule, calc, c(discountCurve$table$date),  : 
invalid value (-0.00505955) at index 0
0 Answers
Related