Home   >   User Resources   >   Online Help   >   apaProfitFactor
 

 

Function index Version 3.0.0

apaProfitFactor(Returns)

Excel=apaProfitFactor(Returns)

Result

Returns the profit factor, the sum of gains divided by the sum of losses.

Syntax

Returns: r x c matrix of returns. Each column represents a different time series.

Algorithm

Profit factor = Σ max(r, 0) / Σ max(−r, 0).

Remarks

The result is a 1 x c row vector with one value per column of Returns.

Equals apaOmega with a threshold of 0. #N/A is returned if there are no negative returns.