Skip to content
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

"bond.full_price_from_ytm" is always computed by "face=100" right? #149

Closed
lan-slot opened this issue Dec 11, 2022 · 2 comments
Closed

"bond.full_price_from_ytm" is always computed by "face=100" right? #149

lan-slot opened this issue Dec 11, 2022 · 2 comments

Comments

@lan-slot
Copy link

Dear author:

In "FINBOND_ExampleAppleCorp.ipynb", no matter what number is set to the face, for example what u set is "face = ONE_MILLION", the "bond.full_price_from_ytm(settlement_date, ytm, yieldConvention))" is always computed by "face=100" right? Cause,If I change "face = ONE_MILLION" to any value, the result will not change. It is always "Full Price = = 102.091564"

@domokane
Copy link
Owner

Yes. The face_amount is only used to calculate the accrued interest and the principal (clean_price x face_amount).

All prices are on a face of 100.

@lan-slot
Copy link
Author

Yes. The face_amount is only used to calculate the accrued interest and the principal (clean_price x face_amount).

All prices are on a face of 100.

thank u so much!

@domokane domokane closed this as completed May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants