1 2 | defineBenchmark(shortName = "Bench", description = "Benchmark",
symbol = NULL, weights = 1, startDate = "1970-01-01", freq = "M")
|
shortName |
A short name used much the way a symbol (ticker) might be used as a column head. |
description |
A longer description of the benchmark (e.g., 50 \itemsymbolA symbol (ticker) or character vector of symbols \itemweightsWeights of the symbol(s). Length must match the symbol \itemstartDateStart date to get the prices for the benchmarks \itemfreqFrequency of returns for the benchmark ("M" or "D") |
List with information about the benchmark Define a benchmark A benchmark is used to compare the performance of a fund against. A benchmark may be a single symbol with a weight of 1, or a blend of multiple symbols (a vector) defineBenchmark("SP500","S&P 500 ETF", "SPY", 1) defineBenchmark("Bench","50% S&P 500 / 50% Barclay's Agg", c("SPY","AGG"), c(0.5,0.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.