Home / Reply To: Cashflowtype Output

Home Forums Development Cashflowtype Output Reply To: Cashflowtype Output


Hi bmayer,

The problem we have seen before is from a QuantLib point of view, there is no categorisation of cashflows built in, they are just amount/date pairs. If you make assumptions (e.g. that Coupon means cashflow=INT) this might not always work (e.g. for something that inherits from Coupon). There is already some logic in writeCashflows() to handle some of the different cashflow types, is but as more trade types are added it might become difficult.

So if you really need this categorisation than I don’t think there is a better way to get this information, are you going to create an MR on github?