• Virtualize: keep only rows whose y is inside the plot (± one row) and cap the count to maxRows nearest the vertical centre (around the LTP). This is what keeps a 200-level book cheap and readable.

    Parameters

    • rows: readonly LadderRow[]
    • priceToY: (p: number) => number
    • plotHeight: number
    • rowHeight: number
    • maxRows: number

    Returns LadderRow[]