Configuring demand forecasting settings

Available on: Pro and above.

Demand settings control how Stockie turns your sales history into a sales velocity - the average daily sales figure every other forecast number is built on. Change these and your reorder points, suggested quantities and Smart mode notifications all move with them.

There are two settings: the lookback period, which decides what history counts, and the demand adjustment, which scales the result.

Set them at Forecast & replenishment → Manage settings → Demand .

The Demand settings page, with the lookback period and demand adjustment cards

Lookback period

The lookback period is the window of sales history Stockie measures. You can choose a rolling window:

  • Last 30 days
  • Last 60 days
  • Last 90 days
  • Last 180 days
  • Last 365 days

New shops start on Last 30 days.

A rolling window moves with you - a 90-day lookback always covers the most recent 90 full days. For a variant created more recently than that, the window starts on the day it was created, so days before it existed do not count.

Shorter windows follow recent changes closely and react to a spike within days. Longer windows smooth out noise and are slower to notice a real shift. Neither is more correct; it depends on whether a change in the last fortnight is signal or noise for that product.

Custom date ranges

Choose Custom date range to pin the window to fixed start and end dates instead. A custom range does not move forward over time.

This is the tool for seasonal buying. Point the range at the same period last year and forecast against how the product actually sold in that season, rather than against a quiet month that says nothing about the peak ahead.

It also works for excluding a distorting event. A range that stops before a viral week or a one-off wholesale order keeps that spike out of the velocity entirely.

If the window you pick holds no orders at all, the forecast still finishes: every variant reads No sales until the window covers sales again.

The lookback period selector set to Custom date range, with the start and end date pickers

Stockout days are excluded

Stockie divides units sold by the number of days the variant was in stock, not by the length of the window:

sales velocity = units sold in the window ÷ in-stock days in the window

Over a 90-day lookback, a variant that sold 450 units but was out of stock for 10 of those days has 80 in-stock days, giving 5.63 units a day rather than 5.

Days with no stock are not days with no demand - they are days you could not sell. Counting them would drag the velocity down, order less next time, and make the next stockout more likely.

If a variant is set to keep selling when out of stock, it can sell on every day of the window, so Stockie divides by the full window instead.

Whichever way the days are counted, the velocity never divides by fewer than 14 days, or by your whole window when that is shorter. A variant in stock for 1 day of a 60-day window that sold 32 units works out at 32 ÷ 14 = 2.29 a day, not 32, and carries a Limited data badge on the forecast page. Variants with 14 days or more behind them are unaffected.

Demand adjustment

The demand adjustment scales the calculated velocity up or down by a percentage. Choose Increase or Decrease and enter the percentage.

It applies after the lookback calculation, so it moves every downstream number proportionally. A velocity of 10 units a day with a 20% increase becomes 12, and the safety stock, restock to and lead time demand built on it all grow by a fifth.

Use it for what history cannot know: a campaign about to launch, a channel you have recently opened, a wholesale account you have lost. The lookback period tells Stockie what happened; the adjustment tells it what you expect to be different.

It is a single standing percentage, not a schedule. It stays applied until you change it, so an adjustment set for a promotion needs removing when the promotion ends.

Per-variant overrides

Both settings can be overridden for individual variants.

  1. On the Demand page, find the Variant overrides card and click Manage.
  2. Set a lookback period or demand adjustment for the variants that need one.
  3. To return a variant to your store default, tick Clear and use global default in its override.

Overrides resolve per field: a variant can carry its own lookback period while still taking the store's demand adjustment.

Unlike the reordering settings, demand settings have no supplier level. A lookback period or adjustment is either set on the variant or inherited from your store default - setting one on a supplier record does not affect how demand is calculated.

The Demand overrides table, with lookback period and demand adjustment per variant

Demand across multiple locations

With stock in more than one location, Stockie attributes each sale to a location so it can forecast them separately.

Point-of-sale sales attribute to the retail location that made the sale. Online orders attribute to the location that fulfilled them, or - where an order has not shipped yet - to the location Shopify has already assigned it to. Sales that cannot be traced to a location are held in an unattributed group rather than dropped, so your store-wide totals stay whole.

Some stores set up before Stockie moved to attributed demand still have their sales combined into one velocity per variant across every location, which suits buying centrally. There is nothing to choose on the Demand page either way; if you would rather each location was forecast on its own sales, support can move your store to attributed demand.

What does not count as demand

Some sales never reach the velocity calculation:

  • Cancelled orders, whatever their state when cancelled
  • Voided and expired orders, shipped or not
  • Unpaid orders that nothing has shipped on. An order Shopify shows as pending counts in full as soon as any of its lines ships, so an invoiced wholesale order reaches the forecast when the goods leave rather than when the money arrives. One that nothing ever ships on never becomes demand
  • Returns and refunds, which reduce the quantity counted for the original order rather than being ignored
  • Manual inventory changes made in Shopify. Editing a quantity by hand moves your available stock but records no sale, so it does not move demand
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us