Set up initial or current portfolio
sets up initial or current portfolio for obj
= setInitPort(obj
,InitPort
)Portfolio
,
PortfolioCVaR
, or PortfolioMAD
objects. For details on the respective workflows when using these different
objects, see Portfolio Object Workflow, PortfolioCVaR Object Workflow,
and PortfolioMAD Object Workflow.
You can also use dot notation to set up an initial or current portfolio.
obj = obj.setInitPort(InitPort, NumAssets);
To remove an initial portfolio, call this function with an empty argument
[]
for InitPort
.