daily_return: Calculate daily return

Description Usage Arguments Details Author(s) Examples

View source: R/daily_return.R

Description

This function allows you to calculate portfolio simple daily return

Usage

1
daily_return(df, percent = FALSE)

Arguments

df

portfolio dataframe

percent

use percentage or not (default False)

Details

The first column of dataframe should be "Date".

Author(s)

Alfred

Examples

1

Alfred-Zhang/ResearchTools documentation built on Nov. 23, 2017, 1:54 a.m.