R/ms_holdings_turnover.R

Defines functions ms.HoldingsTurnover

Documented in ms.HoldingsTurnover

#' @title ms.HoldingsTurnover
#' @description Gives the ouptput of input Performance Metric as provided by the MorningStar Performance Results
#' @param ticker Ticker of the Fund
#' @return The output provides the Input Performance Metric as given by MorningStar.
#' @details Morningstar provides a great deal of useful information in its print publications and in its Principia Plus CD-ROM data service. Use this function for performance metric calculations.
#' @examples
#' ms.HoldingsTurnover('FXAIX')
#' @rdname ms.HoldingsTurnover
#' @export
ms.HoldingsTurnover = function(ticker){
  hold_turnover = ms.summary(ticker)[13,]
  as.numeric(hold_turnover[,-1])
}

Try the rMorningStar package in your browser

Any scripts or data that you put into this service are public.

rMorningStar documentation built on Jan. 16, 2021, 5:12 p.m.