How to make the calculated cash flow for an "OvernightIndexedSwap" object reflect the day count basis ACT/360?

I am using "cashflows" to compute the cash flow of an "OvernightIndexSwap" object. How to make the calculated result reflect the day count basis ACT/360?

 Accepted Answer

To make the calculated cash flow for an "OvernightIndexSwap" object reflect the day count basis ACT/360, you can set the optional "DaycountAdjustedCashFlow" input for "OvernightIndexedSwap" to be either "[true true]" or "[true false]". The "DaycountAdjustedCashFlow" input flag adjusts cash flows based on the actual period day count. Feel free to to the Name-Value Arguments for OvernightIndexedSwap Documentation for more information.

More Answers (0)

Categories

Products

Release

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!