apaWeights.FromAllocations(Allocations, Returns)
Excel
=apaWeights.FromAllocations(Allocations, Returns)Result
Calculates the weights over time from target allocations, letting the weights drift with the constituent returns between allocation dates.
Syntax
Allocations: matrix of target weights (beginning of period), each column containing an asset. The first column contains the 1-based time period index
Returns: r x n matrix of constituent returns, each column containing a time series
Algorithm
At each time index listed in Allocations, the weights are set to the target weights.
Remarks
The result has the same number of rows as Returns. Allocation rows with a time index < 1 are ignored.
