Description Usage Arguments Details Value Examples
make withdraw from a portfolio
1 | make_withdraw(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 |
subtracts withdraw amount from cash balance and adds record to actvity
updated portfolio object
1 2 3 4 | library(tidyverse)
portfolio("new_port") %>%
make_deposit(date=Sys.Date(), amount = 100) %>%
make_withdraw(date=Sys.Date(), amount = 50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.