Skip to main content

Questions tagged [rquantlib]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
0 votes
1 answer
190 views

QuantLib: Problem with IRS valuation

I would like to value an IRS. My first problem is with "RuntimeError: more than one instrument with pillar". Theres is clearly no overlapping instruments. I can't get the valuation of the ...
Kid000's user avatar
  • 1
0 votes
0 answers
138 views

QuantLib: IRS valuation

I tried to value a simple IRS in QuantLib and failed. I have few questions, which will probably help to resolve these issues. Would be super grateful for answers in these matters. When I set up a ...
Antek's user avatar
  • 1
0 votes
1 answer
256 views

Removing/Purging QuantLib/Boost

I recently updated to Ubuntu 20.04, as well as to R v4. When updating packages, I ran into an issue with QuantLib. I tried removing/reinstalling, but the reinstall was a different version. RQuantLib ...
fibrou's user avatar
  • 101
1 vote
1 answer
231 views

RQuantlib not returning greeks for options

I do not manage to get Delta/Gamma/Vega/Theta using the simplified AmericanOption function from RQuantLib: ...
pam's user avatar
  • 113
3 votes
1 answer
304 views

RQuantLib: BermudanSwaption(): effective date later than or equal to termination date

When running the command in the RQuantLib library: ...
Henk van Elst's user avatar
2 votes
0 answers
70 views

Importing a zero coupon curve to RQuantLib

I am trying to use a zero coupon curve constructed elsewhere to price treasury bonds in RQuantLib. The issue is that DiscountCurve does not take zero coupon yields as inputs, but rather swap rates. I ...
Moritzplatz's user avatar
2 votes
1 answer
1k views

Quantlib: AmericanOption implied volatility / root not bracketed

When I apply the americanoptionimpliedvolatility function in the following format: ...
Benjamin E. Pfeiffer's user avatar
1 vote
0 answers
134 views

compute return from yield

I was wondering if someone familiar with the RQuantLib library can have a look and let me know if this makes sense. I am trying to get total return of a 5 year constant maturity treasury bond. Does ...
qfd's user avatar
  • 265
0 votes
1 answer
96 views

Using RQuantLib in Java with RJava

Can't seem to get an answer to this on stackoverflow. I'm relatively new to using RJava and was getting a null pointer exception from a piece of code I was trying out. I suspect that this could be due ...
Karan Pillai's user avatar
3 votes
1 answer
3k views

Yahoo Finance Implied Volatility Calculation

On 5/16/16 AXP stock closed with a price of 64.07. Yahoo Finance reports an implied volatility of 20.58% for this out of the money call option: ...
Ravi's user avatar
  • 33
2 votes
0 answers
92 views

Issue on pricing bond using RQuantLib

trying to pricing a simple bond using RQuantLib, but cannot get the right values. For example, consider a bond with 2% annual coupon rate and flat interest rate of 3%, a 5 year maturity, and \$100 ...
jjkk's user avatar
  • 21
1 vote
2 answers
60 views

type mismatch in Rquantlib Bond.cpp

I've been tracing back through bond.cpp and find the following in FloatingBond() : double dayCounter = Rcpp::as<double>(datemisc["dayCounter"]); $\mathrm{...
terry leitch's user avatar
1 vote
1 answer
109 views

AmericanOptionImpliedVolatility strange answers for calls IV's

My data provider includes the greeks. I tried to compute the IV's myself using RQuantLib and see if they match -- for Puts it's generally close, for Calls however certain values are way way off -- any ...
nxstock-trader's user avatar