insert_objectives {PortfolioAnalytics}R Documentation

Insert a list of objectives into the objectives slot of a portfolio object

Description

This is a helper function primarily for backwards compatibility to insert objectives from a 'v1_constraint' object into the v2 'portfolio' object.

Usage

insert_objectives(portfolio, objectives)

Arguments

portfolio

object of class 'portfolio'

objectives

list of objective objects

Author(s)

Ross Bennett


[Package PortfolioAnalytics version 2.0.0 Index]