cal_daily_contr: Calculcate daily contribution

Description Usage Arguments Author(s) Examples

View source: R/cal_daily_contr.R

Description

This function allows you to calculate daily contribution

Usage

1
cal_daily_contr(df, classify_file, output_file)

Arguments

df

portfolio dataframe ("Date", "Ticker", "Contribution", "PortReturn")

classify_file

name of csv file contains ticker label (file saved in Code/Data)

output_file

output csv file name (file saved in Output File)

Author(s)

Alfred

Examples

1
cal_daily_contr(iccix, "ICCIX_Classifiy", "ICCIX")

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