Order books and ladders
A depth ladder with click-to-trade and keys for buy, sell and cancel. Order books from a depth feed, orders that linger after they fill, alerts that stay lit until acknowledged.
Depth ladder →A fast, lightweight grid for trading screens. Price boards that tick tens of thousands of times a second, order books, ladders and blotters, with everything a data grid needs besides. Documented for people, and for the AI agents that write code with them.
Svelte 5 React Vue any framework MIT
createTickStream → api.patchRowsThirty seconds
Built for AI coding agents
Agents don't remember libraries; they read them, and they get versions wrong. bo-grid puts what an agent needs where it looks: TSDoc in the installed types, every page as Markdown, an llms.txt index and a manifest generated from the types.
A session played back. The files the agent reads are the real ones.
Each docs page has a .md twin and a Copy page button, ready to paste into an agent.
getting-started.md →An index of every page, led by the facts an agent must get right first: runes only, ids on rows, patchRows for live data.
/llms.txt →Every prop, column option and API method with its type, default and docs, generated from the TypeScript types.
/api.json →TSDoc on every prop ships in node_modules, so an agent reads the API of the version you installed.
AI coding agents →What is inside
A depth ladder with click-to-trade and keys for buy, sell and cancel. Order books from a depth feed, orders that linger after they fill, alerts that stay lit until acknowledged.
Depth ladder →api.patchRowsp50 p95Plain rows patched in place repaint only the cells that changed. A coalescing tick stream hands the grid one batch a frame; a busy feed can be read in a worker.
Live updates →Prices, percents, volumes, dates, heatmaps, sparklines, progress, badges, tags, ratings, links and your own cells.
Column types →Nested groups with subtotals, pivot tables, tree data, master-detail, server-side groups and lazy trees.
Row grouping →Inline editing with validation, range selection, clipboard, fill handle, merged cells and Excel export.
Inline editing →A full keyboard model with grid and treegrid semantics, hotkeys you define, and a find bar.
Keyboard & hotkeys →A windowed source loads rows on demand and sorts and filters on the server; wide grids virtualize their columns too.
Server-side data →Start in a minute
A column's type picks how its values show, sort and filter. The tabs follow your framework, on every page of the docs.
<script lang="ts">
import { Grid, type ColumnDef } from 'bo-grid';
const columns: ColumnDef[] = [
{ type: 'text', key: 'symbol', header: 'Symbol' },
{ type: 'price', key: 'price', header: 'Price', flash: 'auto' },
{ type: 'percent', key: 'change', header: 'Chg %' },
{ type: 'volume', key: 'volume', header: 'Volume' },
];
let rows = $state([
{ id: 1, symbol: 'VNM', price: 68.5, change: 1.2, volume: 1_204_000 },
{ id: 2, symbol: 'FPT', price: 132, change: -0.4, volume: 860_500 },
]);
</script>
<Grid {rows} {columns} height={400} />Open source, MIT, every feature in one package.