CashFlowVector+schedule

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

CashFlowVector+schedule

Nguyen Xuan Son
hi,
I found that the code of cashflow can be optimized a little bit. I found that CashFlowVector do recall again calendar.roll in any situation but because roll(roll)=roll ! donc dans le cas isAdjusted=true, it does nothing. The roll() needs much more calculs than test if(isAdjusted==false)...
Let's me know if i am wrong.
XS