79098412

Date: 2024-10-17 13:59:18
Score: 4
Natty:
Report link

Thanks very much for this answer. This works well for me, but I can’t figure out how to leverage this for a table that includes multiple interest rate curves. Meaning, the source table would have a third column specifying the interest rate ‘curve_name’ for each row. For example, some rows would have curve_name = “SOFR” and some would have curve_name = “EURIBOR”.

In this scenario, how do we add another layer to the interpolation code so that it constructs the interpolated column based only on each curve_name’s initial set of [BusinessDays, InterestRate]?

Thank you

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: C H