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.

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.