The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Finance::GeniusTrader::Analyzers::AvgNZ - Calculates the Average

DESCRIPTION

Calculates the Average of Arg1, but only of the days where Arg1 is non-zero.

Parameters

First argument: Array reference to be averaged