update_path: Set values in a financial path

Description Usage Arguments Value

View source: R/financial-path.R

Description

In a given financial path, sets current values for each asset, the total value, the transaction, and the return for that date.

Usage

1
update_path(path, date, portfolio, trans)

Arguments

path

the financial path

date

the date on which the set the values in the time-series

portfolio

the portfolio holding the assets

trans

the transaction occuring at the end of that period

Value

an updated financial path


ryanholbrook/investmentsim documentation built on Nov. 5, 2019, 5:10 a.m.