QuantLib for OTC FX options
Posted: Mon Jul 23, 2018 6:07 am
Anyone tried making QuantLib work for OTC FX vanilla options?
I googled a little bit -- found at least 2 issues:
1. Discounting period isn't equal to trade date to expiry
but rather settlement date to delivery date.
And there seems to be no easy way to adjust for it at the moment.
Thus, even if you know vol for strike,
it's not easy to make QuantLib correctly calc
BS px of an option.
2. There doesn't seem to be a way to enter vol quotes
in FX conventions i.e. vol for delta. Only vol for strike.
Warning: Both points can be wrong so please correct me.
Also I saw someone mentioning that
it's not easy to add backtester to QuantLib..
Any comments very welcome.
I googled a little bit -- found at least 2 issues:
1. Discounting period isn't equal to trade date to expiry
but rather settlement date to delivery date.
And there seems to be no easy way to adjust for it at the moment.
Thus, even if you know vol for strike,
it's not easy to make QuantLib correctly calc
BS px of an option.
2. There doesn't seem to be a way to enter vol quotes
in FX conventions i.e. vol for delta. Only vol for strike.
Warning: Both points can be wrong so please correct me.
Also I saw someone mentioning that
it's not easy to add backtester to QuantLib..
Any comments very welcome.