Average of Absolute Price Changes (difference between two assets)

Last updated 9 November 2026

Function reference › Risk and Performance Measures › Average

1 GIAnalyzer function for Excel. Optional arguments are shown in [brackets].

GIA_RPM_AverageChangesABS2

Returns the average of the absolutly values of the differences beween price changes of two assets over chosen time horizon (number of days), during a specified period, given historical prices.

GIA_RPM_AverageChangesABS2(HDates1, HRates1, HDates2, HRates2, TimeInterval, Overlap, DaysNumber, WeekLastDay, PriceChangeCalc, StartDate, EndDate, ExcludeFromDate, ExcludeToDate)

Returns: Average of the absolutly values of the differences beween price changes of two assets over chosen time horizon (number of days), during a specified period

ArgumentUseDescription
HDates1RequiredThe array of dates of historical prices of asset 1.
HRates1RequiredThe array of historical prices of asset 1.
HDates2RequiredThe array of dates of historical prices of asset 2.
HRates2RequiredThe array of historical prices of asset 2.
TimeIntervalRequiredTime period of the price changes (Days, Week, Month, Quarter, Year)
OverlapRequiredWhether there is an overlap between dates (Yes, No)
DaysNumberRequiredNumber of days if the parameter TimeInterval is Days
WeekLastDayRequiredThe last day of the week if the parameter TimeInterval is Week (Sunday, Monday, Tuesday, Wednesday, Thursday, Friday)
PriceChangeCalcRequiredCalculation type of the price change (Discrete, Continuous, Absolute). See the documentation for full description.
StartDateRequiredThe first date in the required period.
EndDateRequiredThe last date in the required period.
ExcludeFromDateRequiredThe first date in the period excluded from the required period.
ExcludeToDateRequiredThe last date in the period excluded from the required period.