Main Content
getBounds
Obtain bounds for portfolio weights from portfolio object
Description
Use the getBounds
function with a
Portfolio
, PortfolioCVaR
, or
PortfolioMAD
object to obtain bounds for portfolio weights from
portfolio objects.
For details on the respective workflows when using these different objects, see Portfolio Object Workflow, PortfolioCVaR Object Workflow, and PortfolioMAD Object Workflow.
[
obtains bounds for portfolio weights from portfolio objects.LowerBound
,UpperBound
]
= getBounds(obj
)
Examples
Input Arguments
Output Arguments
Tips
You can also use dot notation to obtain bounds for portfolio weights from portfolio objects.
[LowerBound, UpperBound] = obj.getBounds;
Version History
Introduced in R2011a
See Also
Topics
- Working with 'Simple' Bound Constraints Using Portfolio Object
- Working with 'Simple' Bound Constraints Using PortfolioCVaR Object
- Working with 'Simple' Bound Constraints Using PortfolioMAD Object
- Portfolio Optimization Examples Using Financial Toolbox
- Supported Constraints for Portfolio Optimization Using Portfolio Objects
- Supported Constraints for Portfolio Optimization Using PortfolioCVaR Object
- Supported Constraints for Portfolio Optimization Using PortfolioMAD Object