create_portfolio_template: Create Portfolio Template

View source: R/create_portfolio_template.R

create_portfolio_templateR Documentation

Create Portfolio Template

Description

Creates a template for default portfolio with two asset classes:

  • GlobalStocksIndexFund

  • InflationProtectedBonds

Usage

create_portfolio_template()

Details

The template is used as a starting point for creating a portfolio. The asset classes have some reasonable default values of expected returns and standard deviations of returns. The template assumes no correlations between asset classes in the correlations matrix. Please check and update the template assumptions if necessary.

The nested pretax columns contain default values for parameters needed for calculating effective tax rates. The template assumes only capital gains tax is paid. Please customise this template to your individual situation.

The accounts nested columns have zero values for all assets by default in both taxable and tax-advantaged accounts. The template assumes that there is currently no financial wealth allocated to those accounts. Please customise this template to your individual situation.

The weights nested columns define weights of assets in portfolios representative of the household human capital and liabilities. The template assumes equal weights for all assets for both portfolios. Please customise this template to your individual situation.

Value

A nested tibble of class 'Portfolio' with columns:

  • name

  • expected_return

  • standard_deviation

  • accounts

    • taxable

    • taxadvantaged

  • weights

    • human_capital

    • liabilities

  • correlations

  • pretax

    • turnover

    • income_qualified

    • capital_gains_long_term

    • income

    • capital_gains

    • cost_basis

See Also

Possible sources of market assumptions:

Examples

  portfolio <- create_portfolio_template()
  portfolio$accounts$taxable <- c(10000, 30000)
  portfolio

R4GoodPersonalFinances documentation built on June 8, 2025, 11:18 a.m.