write_investment_value_panel: Write investment value panel for given ticker to csv file

View source: R/get_panels.R

write_investment_value_panelR Documentation

Write investment value panel for given ticker to csv file

Description

The function writes the investment value for a given ticker and day as a csv file to path. The investment value is defined as the sum of the current value of the investment including current value of a sale and dividends excluding current costs from purchasing the investment. See write_investment_value_panels if you want to apply this function to all tickers in your table of transactions.

Usage

write_investment_value_panel(ticker, path)

Arguments

ticker

A single character string containing the ticker symbol.

path

A single character string. Path where data are stored.


lorenzbr/PortfolioTracker documentation built on Feb. 11, 2023, 8:27 a.m.