compare_with_benchmark_portfolio: Compare with benchmark portfolio

View source: R/compare_with_benchmark_portfolio.R

compare_with_benchmark_portfolioR Documentation

Compare with benchmark portfolio

Description

Compare with benchmark portfolio

Usage

compare_with_benchmark_portfolio(
  df_holdings,
  benchmark_info,
  var,
  df_performance
)

Arguments

df_holdings

data.frame with holdings for your portfolio

benchmark_info

benchmark information obtained from load_benchmark_info

var

variable name (string) used to compare your portfolio with benchmark

df_performance

data.frame with performance statistics

Value

Summarised data.frame with marked value proportion grouped by 'var'


kristian-bak/shinyStocks documentation built on Aug. 16, 2022, 4:15 a.m.