weights2holdings
Portfolio values and weights into holdings
Syntax
Holdings = weights2holdings(Values,Weights,Prices)
Arguments
| Scalar or number of portfolios ( |
|
|
|
|
Description
Holdings = weights2holdings(Values,Weights,Prices)
converts
portfolio values and weights into portfolio holdings.
Holdings
is a NPORTS
-by-NASSETS
matrix
containing the holdings of NPORTS
portfolios that
contain NASSETS
assets.
Note
This function does not create round-lot positions. Holdings
are
floating-point values.
Version History
Introduced before R2006a