Description Usage Arguments Details Value Examples
add deposit to portfolio
1 | make_deposit(pobj, date = Sys.Date(), amount, desc = "")
|
pobj |
portfolio object |
date |
date of deposit. Date type |
amount |
amount of deposit. numeric type |
desc |
optional description of deposit. string type |
adds to cash balance and appends the deposit to the portfolio activity
portfolio object with updated deposit
1 2 3 | library(tidyverse)
portfolio("new_port") %>%
make_deposit(date=Sys.Date(), amount = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.