Home   >   User Resources   >   Online Help   >   apaReturn.ModifiedDietz.AvgCapital
 

 

Function index Version 3.0.0

apaReturn.ModifiedDietz.AvgCapital(BMV, CF, CFTime)

Excel=apaReturn.ModifiedDietz.AvgCapital(BMV, CF, CFTime)

Result

Calculates the average capital invested according to the Modified Dietz methodology.

Syntax

BMV: beginning market value

CF: n x 1 cash flow vector

CFTime: n x 1 vector of the cash flow time points, between 0 and 1

Algorithm

The average capital is calculated as the beginning market value plus the time-weighted cash flows, each cash flow weighted with the fraction of the period it is invested, i.e. 1 − CFTime.

Remarks

Cash flows with CFTime = 0 are added to the beginning market value. Cash flows with CFTime = 1 are not considered.