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

Discount date #34

Open
MarcusRainbow opened this issue Jul 17, 2018 · 0 comments
Open

Discount date #34

MarcusRainbow opened this issue Jul 17, 2018 · 0 comments

Comments

@MarcusRainbow
Copy link
Owner

At present, the price returned by all pricers is discounted to the settlement date of the instrument being priced. This means that equities value at spot, listed options value at their screen price etc.

This matches the accounting policy in many banks (though not Goldman Sachs) but it is not really consistent. To be properly consistent, the price should be discounted to the same date, for all instruments. This means that not all instruments can value at their spot price.

We should also support pricing to a consistent discount date. This means supplying an optional discount date to pricer.price, which can use the credit id of contained instruments, plus their settlements, to work out how to discount the price to the supplied date.

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

1 participant