fill_prices: Fill data frame or xts

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Fills missing data in convenient form for Finance

Usage

1
fill_prices(df, fill_missing_init = TRUE, date_col = NULL)

Arguments

df

data.frame or xts with data to fill

fill_missing_init

A boolean indicating whether starting missing values should be copied to first actual value

Value

Filled data frame

Examples

1
fill_prices(tq_get_wide("SPY,MXN=X"))

optimist/inhouse documentation built on May 24, 2019, 3:56 p.m.