Strata icon indicating copy to clipboard operation
Strata copied to clipboard

Enhance CashFlow

Open jodastephen opened this issue 7 years ago • 2 comments

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

jodastephen avatar Nov 20 '18 15:11 jodastephen

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

gen-shin avatar Dec 03 '20 12:12 gen-shin

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

jodastephen avatar Dec 04 '20 22:12 jodastephen