3

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
chwarr
  • 6,777
  • 1
  • 30
  • 57
rainer
  • 929
  • 2
  • 14
  • 25
  • it would help to have a reproducible example in your question, see https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example – Bulat Oct 09 '19 at 23:00
  • 1
    This question seems to be a duplicate of: https://stackoverflow.com/questions/26592547/using-rquantlib-fixedratebond-function-when-rates-can-be-negative – Koot6133 Oct 10 '19 at 07:38

0 Answers0