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

Enhance CashFlow #1854

Open
jodastephen opened this issue Nov 20, 2018 · 2 comments
Open

Enhance CashFlow #1854

jodastephen opened this issue Nov 20, 2018 · 2 comments

Comments

@jodastephen
Copy link
Member

jodastephen commented Nov 20, 2018

Consider adding unadjustedDate and payReceive to CashFlow.

One option is to add a cashFlowSource enum, to avoid confusion wrt pay/receive. Any change would involve deprecating the existing factory methods, which is messy.

http://forums.opengamma.com/t/add-payreceive-property-to-cashflow/836
http://forums.opengamma.com/t/add-unadjusteddate-to-cashflow/838

@gen-shin
Copy link

gen-shin commented Dec 3, 2020

Hey, is the enhancement on the schedule now? I find it really useful to have the payReceive and unadjustedDate for cashflows.

@jodastephen
Copy link
Member Author

There are no current plans to do this. The details you need are available via the untyped "explainPresentValue" method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants