Entropy describes how repetitive or varied the submitted order sizes are on each side of the book. If most updates keep using the same handful of sizes, entropy is low, while a broader mix of sizes pushes entropy higher. The bid and ask series are normalized before plotting, so the chart runs from 0 to 1 and is easier to compare across days with different numbers of observed size categories.
Mathematics
This metric builds a histogram of observed order size frequencies for bids and asks and computes Shannon entropy, , where is the empirical probability of size bucket . Because the raw value depends on how many categories appear, it is normalized as when there are nonzero categories, producing a unitless score in . Values near indicate activity concentrated in a very small set of sizes, while values near indicate sizes that are distributed much more evenly across the observed categories.