Set asset returns scenarios by direct matrix
setScenarios
has been partially removed and will no longer accept a
fints
object for the
GetAssetList
argument. Use timetable
instead for financial time series.
Use fts2timetable
to convert a
fints
object to a timetable
object.
sets asset returns scenarios by direct matrix for
obj
= setScenarios(obj
,AssetScenarios
)PortfolioCVaR
or PortfolioMAD
objects.
For details on the workflows, see PortfolioCVaR Object Workflow,
and PortfolioMAD Object Workflow.
set asset returns scenarios by direct matrix for
obj
= setScenarios(obj
,AssetScenarios
,Name,Value
)PortfolioCVaR
or PortfolioMAD
objects
using additional options specified by one or more
Name,Value
pair arguments.
You can also use dot notation to set asset return scenarios.
obj = obj.setScenarios(AssetScenarios);