These filter stocks based on the size and direction of the stock’s gap.

During the trading day, the gap is defined as the difference between the open price and the previous close price.  If a stock closes at 14.50, and opens the next trading day at 14.75, then the stock gapped up 0.25.  If another stock closes at 50.10, then opens the next day at 50.03, the stock gapped down 0.07, or it gapped up -0.07.  The official open price is the price of the first print after the trading day starts.  The exchange can correct this value, but normally the open price and the gap do not change after the first print.

In the premarket we always use the last print price instead of the open price.  This gives us a continuously improving approximation of what the gap will be.  This approximation is updated on each print until the exchange reports the official value of the opening print.

We start using this approximation of the gap shortly after the close.  For example, if last official print today is at 12.94, and the first after hours print is also at 12.94, this print will reset the gap to zero.  If the next print is 12.96, then the stock has gapped up 0.02.  For most actively traded stocks, the gap will not be reliable for the first 90 seconds after the market closes; it takes about that long for the exchange to report the last official trades of the day and transition into after market mode.  For more thinly traded stocks, the gap will change with the first after market print, whenever that happens.

There are three ways to specify the size of the gap.

We allow negative numbers for these filters.  If stock gapped down by 1%, we say that it gapped up -1%.  To see all stocks which gapped down by at least 2%, set the max gap up filter to -2%. To see all stocks with no gap or a small gap, set the min gap up to $-0.25 and the max gap up to $0.25.  To see all stocks with a large gap in either direction, set the min gap up to $1.00 and the max gap up to -$1.00.

Note that this is not the only definition of gap.  See the Position of Open filters for another definition.