Dear Igor,
thanks a lot for the post. I've been trying to replicate your example using Mathematica but I'm having difficulties with the CCDS function.
Would it be possible for you to provide additional information regarding the NPV profile data and the definition of the nomval function inside the slegccds function?
Many thanks in advance,
Ruben