Home   >   User Resources   >   Online Help   >   apaReturn.ModifiedDietz
 

 

Function index Version 3.0.0

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

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

Result

Calculates the time-weighted return according to the Modified Dietz methodology.

Syntax

BMV: beginning market value

EMV: ending market value

CF: n x 1 vector of portfolio cash in- and outflows (contributions and withdrawals)

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

Algorithm

Formula

Remarks

To get the original Dietz return, set all CFTime values equal to 0.5.

It is assumed that the time period between beginning and end equals one. Therefore, CFTime values are between 0 and 1. CFTime is measured from the beginning of the period to the point in time the cash flow occurs. E.g. a value of 0.25 means that the flow occurred after 25% of the investment period had passed, i.e. was invested for 75% of the investment period.