lkthr_match: Match the portfolio and the funds

Description Usage Arguments Details Value

View source: R/lkthr.R

Description

The fund position will be appended the asset by compare the name.

Usage

1
lkthr_match(ptfs, funds, max_layer = 5L)

Arguments

ptfs

A lkthr object contains the ptf position.

funds

A lkthr object contains the fund position.

max_layer

The maximum look-through layers that's allowed to perform.

Details

It's a by reference operation and will alter the ptfs input. You can call data.tree::Clone() in order not to change the original value.

Value

The altered ptfs invisibly.


shrektan/lookthrough documentation built on March 29, 2021, 12:07 p.m.