apaWeights.Combinatorial.TwoAssets(nAssetsInUniverse, nAllocations)
Excel
=apaWeights.Combinatorial.TwoAssets(nAssetsInUniverse, nAllocations)Result
Returns nAllocations allocations of all possible two-asset portfolios selected from a universe of nAssetsInUniverse assets.
Syntax
nAssetsInUniverse: number of assets in the universe
nAllocations: number of weight combinations per asset pair
