KQ-628 · DEPTH/MOUND

Depth Mound

Liquidity as terrain. Bids pile up leftward from an anchored mid line and asks rightward, each column as tall as the cumulative size out to its price, and a new book re-grows them on glide delayed by cascade outward from the mid, with a flash on every level that actually changed. The plate is a slider: a pointer snaps the crosshair to the nearest column, Left and Right step one level, Home and End jump to the deepest bid and ask, Escape clears it, and the cumulative figure eases on flick from a motion value.

KQ-628 · DEPTH/MOUND

FRN

24.1024.3024.50
FRN order book, Mid 24.30, spread 0.04
SidePriceSizeCumulative
Bid24.101,3578,812
Bid24.121,4337,455
Bid24.149166,022
Bid24.167335,106
Bid24.188264,373
Bid24.207633,547
Bid24.226932,784
Bid24.247652,091
Bid24.267471,326
Bid24.28579579
Ask24.32609609
Ask24.344561,065
Ask24.366461,711
Ask24.387572,468
Ask24.408323,300
Ask24.428854,185
Ask24.441,2345,419
Ask24.461,1726,591
Ask24.481,2907,881
Ask24.501,4979,378

FRN · spread 0.04 · bid 8812 / ask 9378

Install

One command — the source lands in your repo. Or copy it from the Code tab.

$ pnpm dlx shadcn@latest add @kinetiq/depth-mound

Props

bids
DepthLevel[]
default
Bid levels, best first, descending price.
asks
DepthLevel[]
default
Ask levels, best first, ascending price.
height
number
default 160
Plot height in px; the width is fluid.
format
(value: number) => string
default USD, 0dp
Formats the notional in the accessible reading.
formatPrice
(value: number) => string
default 2dp
Formats prices.
formatSize
(value: number) => string
default grouped integer
Formats sizes and cumulative depth.
symbol
string
default
Instrument code beside the mid.
label
string
default "Depth"
Accessible name for the plot.
onActiveChange
(reading: DepthReading | null) => void
default
Fires from the pointer or key that moved the crosshair.