Description Usage Arguments Value
View source: R/get_income_stream.R
Pull the income information (including dividends) from a security for a given period of time and a given starting investment amount. The returned information will give information about the income stream from reinvestment separately.
1 | get_income_stream(sym, orig_date = today() - years(10), orig_amount = 1000)
|
sym |
a character vector with ticker symbols |
orig_date |
starting date of the investment |
orig_amount |
starting investment amount |
a list where each element is a data.table
containing income information
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.