Calculation of DV01 for interest rate swap


#1

Dear users! I’m trying to understand how do we calculate DV01 for interest rate swap. I have found the formula (Down Principal - Up Principal)/(2x Shift) but it’s summarized the main elements, without anything specific.

Could you please help me how do we calculate DV01? Is it possible to calculate using Strata?

Thank you!