swap.basket: A portfolio of swaps

Description Usage Format

Description

A table containing a sample portfolio to be used as reference when using custom portfolios

Usage

1

Format

A tibble with 5 rows and 13 columns:

ID

A custom ID for the swap (either numeric or string)

currency

the currency of the swap, in ISOcode

notional

notional amount in double

start.date

start date of the swap, in dmy format

maturity.date

maturity date of the swap, in dmy format

strike

strike rate (numerical, not in percentage terms)

type

a string, either 'receiver' or 'payer'

standard

a logical entry, TRUE for standard swaps, FALSE otherwise

time.unit.pay

only if not standard, number of months of payer coupons' payment

time.unit.receive

only if not standard, number of months of receiver coupons' payment

dcc.pay

only if not standard, day count convention of payer leg as a string

dcc.receive

only if not standard, day count convention of receiver leg as a string

calendar

only if not standard, a string with the name of the holiday's calendar


DavideMagno/SwapPricer documentation built on Aug. 19, 2021, 6:36 p.m.