-
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
Support calculation for Partial time barrier PUT options and expose to Python-SWIG #1986
Labels
Comments
paolodelia99
added a commit
to paolodelia99/QuantLib
that referenced
this issue
Jan 5, 2025
paolodelia99
added a commit
to paolodelia99/QuantLib
that referenced
this issue
Jan 5, 2025
paolodelia99
added a commit
to paolodelia99/QuantLib
that referenced
this issue
Jan 5, 2025
paolodelia99
added a commit
to paolodelia99/QuantLib
that referenced
this issue
Jan 26, 2025
paolodelia99
added a commit
to paolodelia99/QuantLib
that referenced
this issue
Jan 26, 2025
…the symmetry right
paolodelia99
added a commit
to paolodelia99/QuantLib
that referenced
this issue
Jan 26, 2025
paolodelia99
added a commit
to paolodelia99/QuantLib
that referenced
this issue
Feb 2, 2025
paolodelia99
added a commit
to paolodelia99/QuantLib
that referenced
this issue
Feb 2, 2025
paolodelia99
added a commit
to paolodelia99/QuantLib
that referenced
this issue
Feb 9, 2025
paolodelia99
added a commit
to paolodelia99/QuantLib
that referenced
this issue
Feb 9, 2025
paolodelia99
added a commit
to paolodelia99/QuantLib
that referenced
this issue
Feb 9, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Tue, 7 May 2024 at 20:35, Luigi Ballabio <[email protected]> wrote:
Does this also hold for partial-time barrier options?
Luigi
On Mon, Apr 29, 2024 at 9:44 AM Ashish Bansal <[email protected]> wrote:
Hi all,
I am looking at the Partial Time barrier code to calculate the value of PTB options and noticed that the Put is not supported:
https://rkapl123.github.io/QLAnnotatedSource/d0/d16/analyticpartialtimebarrieroptionengine_8cpp_source.html
Line# 111:
case Option::Put:
QL_FAIL("Partial-time barrier Put option is not implemented");
I was wondering if the Put valuation can be implemented using the Put-Call Symmetry given in the Haug book, section # 4.17.8:
![image](https://private-user-images.githubusercontent.com/39966059/336159683-cddeb898-8e63-4807-8c26-2bf17a38bb1e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4MzIwNzksIm5iZiI6MTczOTgzMTc3OSwicGF0aCI6Ii8zOTk2NjA1OS8zMzYxNTk2ODMtY2RkZWI4OTgtOGU2My00ODA3LThjMjYtMmJmMTdhMzhiYjFlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE3VDIyMzYxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNkOTEwNDg5N2Y2Y2RhNWU1ZDhlMTZmMTVkMzUwODZmZTJhZTQ0ZTFiODg4NWE0MzNjMDYzODNlMTRlZjAwYzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.PFHSPIe_880VfeedH3rwp3HGX8M4SsfvBtOq4QrzgY4)
Use of Put-Call Symmetry for Barrier Options
P.S. I am using Python SWIG so need this supported in there too.
Regards
Ashish
The text was updated successfully, but these errors were encountered: