make_rets_xts: make_rets_xts

View source: R/make_rets_xts.R

make_rets_xtsR Documentation

make_rets_xts

Description

Makes an xts of returns from a string of symbols.

Usage

make_rets_xts(asset_symbols, n = 430, ret_periodicity = "days")

Arguments

asset_symbols

character, a string of asset_symbols

n

integer, passed to utils::tail(), Default: 430

ret_periodicity

character, the return periodicity which is passed to xts::endpoints(), Default: 'days'

Value

An xts of asset returns.


causality-loop/clhelpers documentation built on Aug. 31, 2022, 3:39 a.m.