Quantitative Finance Stack Exchange is a question and answer site for finance professionals and academics. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for R or Matlab code examples of multi-barrier-options (or multi-barrier reverse convertibles) with at least 3 underlyings. Do you have such code or can you point me to a place where I can find it.

share|improve this question
What kind of pricer are you looking for? – Bob Jansen Nov 10 '13 at 16:03
Ideally an R script which I can feed with the data required (strikes etc.) and which conducts the simulation exercise and delivers prices or coupons for the instruments. There is a Bloomberg function called OVSN which does the job, but I want to have my own pricer where I can add my assumptions as I like. – user2157086 Nov 11 '13 at 11:49
AFAIK there are no closed form solutions for this type option. So you will need some approximation scheme. I'm sure more than one exists, do you have any opinion on them? – Bob Jansen Nov 11 '13 at 12:58
Shooting to do zero work here, huh? There a bunch of pricing functions here: volopta.com/index.html – SpeedBoots Nov 11 '13 at 13:09
i am aware that there are no closed form solutions. as i am not a derivatives geek, i am just looking whether there is code out there which i can adapt. also, i would be curious what model the traders use (or which is most common). – user2157086 Nov 12 '13 at 12:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.