Learn R Programming

fundManageR (version 0.5.0110)

calculate_cash_flow_dates: Calculate summary cash flows given a vector of dates and cash flows

Description

Calculate summary cash flows given a vector of dates and cash flows

Usage

calculate_cash_flow_dates(dates = c("2016-09-01", "2017-08-31", "2018-08-31", "2019-08-31", "2020-08-31", "2021-08-31", "2022-08-31", "2023-08-31"), cash_flows = c(-4151601, 119499.036215643, 257186.036215643, 447646.036215643, 200652.036215643, 510409.036215643, 193.036215643166, 8788626.76409155), working_capital = 125000, remove_cumulative_cols = T, include_final_day = T, distribution_frequency = NA)

Arguments

dates
vector of dates
cash_flows
Vector of cash flows
working_capital
Amount of working capital, minimum cash
remove_cumulative_cols
Remove summary columns
include_final_day
Include the final day in calculation
distribution_frequency
When is the cash distributed

Examples

Run this code
calculate_cash_flow_dates(dates = c( "2016-09-01", "2017-08-31", "2018-08-31", "2019-08-31", "2020-08-31", "2021-08-31", "2022-08-31", "2023-08-31" ),
cash_flows = c( -4151601, 119499.036215643, 257186.036215643, 447646.036215643, 200652.036215643, 510409.036215643, 193.036215643166, 8788626.7640915 ),
working_capital = 125000, remove_cumulative_cols = T, include_final_day = T, distribution_frequency = NA)

Run the code above in your browser using DataLab