The 'Settings' → 'A.B.C. Classification' → 'Advanced settings' → 'History length ' determines the number of days in the past that is used to calculate the categories of your products.
The minimum number of days is 30, and the maximum is 365.
You can change this value to better suit your needs.