series_merge: Series merge

View source: R/series_merge.R

series_mergeR Documentation

Series merge

Description

Series merge

Usage

series_merge(series_list, dates, asset_data, ref_curr, assets,
  currencies = NULL, convert_to_ref = FALSE, ref_per_unit_foreign = FALSE,
  invest_assets = NULL)

Arguments

series_list

List of xts series.

dates

Dates.

asset_data

Datafrane with info regarding each asset.

ref_curr

Id (iso) of reference currency.

assets

Id of assets of interest.

convert_to_ref

Indicator to define if series are converted to ref_curr.

ref_per_unit_foreign

Indicator if currencies are converted to Base (ref) currency per unit of foreign currency.

invest_assets

Investable asset. By default: Index. It can be set to ETF or IA (investable asset).

currecies

Id (iso) of currencies of interest.

Value

xts series.


veldanie/SuraInvestmentAnalytics documentation built on April 14, 2024, 10:29 p.m.