portfolioMTM: portfolioMTM

View source: R/fct_portfolioMTM.R

portfolioMTMR Documentation

portfolioMTM

Description

computes the mark-to-market value of the portfolio

Usage

portfolioMTM(x, shockpar = 0, shockInd = FALSE, output = "p")

Arguments

x

portfolio input as tibble

shockpar

parallel ytm shock applied to portfolio

shockInd

individual shocks to ytm

output

mtm of potfolio or individual bonds

Value

portfolio mark-to-market

Author(s)

Philippe Cote


risktoollib/RTLappBonds documentation built on April 17, 2025, 12:47 p.m.