cal_yield: calculate the yield

Description Usage Arguments Examples

View source: R/cal_yield.R

Description

calculate the yield from net value

Usage

1
cal_yield(x, first = 0)

Arguments

x

vector of net value

fisrt,

the first day yield

Examples

1
2
data(m_index_acount)
cal_yield(m_index_acount$acount)

cloud-brain/backtest documentation built on Feb. 6, 2020, 11:17 p.m.