spot_rates#

spot_rates()[source]#

Spot interest rates by duration and currency

Reads annual spot interest rates for multiple currencies from an Excel file, and returns them as a pandas DataFrame. The index and columns of the DataFrame represents duration years and currencies respectively

The directory of the Excel file is specified by the user as a constant parameter named “scen_dir”.