Does one knows where they could be found?
They should not be extremely complicated, just pain to re-derive.
I've stumbled upon some on-line Greek calculators,
like this one,
but I'm not sure about their quality. I want to to debug my code,
not theirs.
Neither Google nor Haug (again) did help me.
Analytical Greek formulas for barrier options
- pj
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
Analytical Greek formulas for barrier options
«Да чего там описывать, планировать! Жизнь всё равно богаче». (Саня Радченко about specification writing)
- pj
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
Analytical Greek formulas for barrier options
There is a way pointed out by boss. Calculate the Greeks numerically
from analytic formulas. Still, if You have seen them, share please.
from analytic formulas. Still, if You have seen them, share please.
«Да чего там описывать, планировать! Жизнь всё равно богаче». (Саня Радченко about specification writing)
- Graeme
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
Analytical Greek formulas for barrier options
I have found www.mathfinance.com very useful in the past for greeks although it appears for the barriers you have to pay...
Graeme West
- functor
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
Analytical Greek formulas for barrier options
Just use the formula for the option and your trusty high-school calculus rules, if you want to debug code then you don't even need to try and collect terms to put it into a nice form. The first part of the price of the barrier option is the price of the European, so at least you have that part already done for you. It would probably take more time to do a websearch than just to use the product and chain rule 10 times =)
Good people think in terms of categories and groups -- Confucius
- athletico
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
Analytical Greek formulas for barrier options
hi pj - at the risk of a master of the obvious post, just wanted to point out that even if you had the analytical greek formalas in hand, for practical hedging you still might want to calc finite difference greeks.
especially for barriers that are in the money when knocked out of existence (up and out calls, down and out puts).
the curvature near the barrier is so large on these options that the analytical delta, for instance, could indicate a absurd value that you certainly would not want to use for delta-hedging purposes.
especially for barriers that are in the money when knocked out of existence (up and out calls, down and out puts).
the curvature near the barrier is so large on these options that the analytical delta, for instance, could indicate a absurd value that you certainly would not want to use for delta-hedging purposes.
- pj
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
Analytical Greek formulas for barrier options
> for practical hedging you still might want to calc finite difference greeks
Nah, it's for testing purposes. But, nevertheless we are moving in the direction suggested by You.
Thank You, Graeme (gonna buy that thing), athletico,
and You know who You are.
Nah, it's for testing purposes. But, nevertheless we are moving in the direction suggested by You.
Thank You, Graeme (gonna buy that thing), athletico,
and You know who You are.
«Да чего там описывать, планировать! Жизнь всё равно богаче». (Саня Радченко about specification writing)
- Graeme
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
Analytical Greek formulas for barrier options
There is some free stuff at MathFinance.de which has everything and more of the stuff that we were sent.
Graeme West
- pj
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
Analytical Greek formulas for barrier options
Thank You Graeme!
By the way, the code for better approximations for cumulative normal functions is excellent!
EVEN better than I thought initially (I am talking about the treatment
of very big and very small input values)
Thank You Worship
By the way, the code for better approximations for cumulative normal functions is excellent!
EVEN better than I thought initially (I am talking about the treatment
of very big and very small input values)
Thank You Worship
«Да чего там описывать, планировать! Жизнь всё равно богаче». (Саня Радченко about specification writing)
- Graeme
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
Analytical Greek formulas for barrier options
Both vb and c++ is available at my website.
Graeme West