110396: Only positive integers are allowed for the time window.

Description

When the time unit is months or years, only positive integers can be provided for the time window of forward or backward moving averages. This is because months and years cannot be divided consistently due to differing days of the month and leap years.

Solution

Provide a positive integer or choose a different time unit.