Home   >   User Resources   >   Online Help   >   apaReturns.Rolling
 

 

Function index Version 3.0.0

apaReturns.Rolling(Returns, WindowSize, WindowIndex, IsNoOverlap, IsCum)

Excel=apaReturns.Rolling(Returns, WindowSize, WindowIndex, IsNoOverlap, IsCum)

Result

Returns the data of a particular rolling window.

Syntax

Returns: r x c matrix of data

WindowSize: window size

WindowIndex: index of the window (1 returns the most recent window)

IsNoOverlap: TRUE for non-overlapping windows, FALSE for overlapping windows

IsCum: TRUE for cumulative (compounded) window returns, FALSE for the returns within the window