-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pricing options with holidays #2035
Comments
Thanks for posting! It might take a while before we look at your issue, so don't worry if there seems to be no feedback. We'll get to it. |
This issue was automatically marked as stale because it has been open 60 days with no activity. Remove stale label or comment, or this will be closed in two weeks. |
Hmm—the option is not using
should account for that. In the same way, we're discounting the payoff from the expiration date, not the delivery date, so we should also add
However, doing that makes the result only slightly better. There might be some other difference—for instance, I see in the second screenshot that |
Hi, I'm trying to use Quant lib to price FX options. For some dates, when the settlement date is 2 days after the evaluation, and delivery two days after the expiry I get perfect agreement between bloomberg OVML and quant lib. However, if there is a weekened/holiday between expiry/delivery or evaluation/settlement then there is no longer agreement. How do I get this behavior in quantlib so I can accurately price options?
The output matches Bloomberg:
But shifting the expiry to 02/15/19 gives:
which no longer matches.
Is there a way to consider the correct dates in this calculation?
Thanks for the help! :)
The text was updated successfully, but these errors were encountered: