Echtzeit-Kurstafel
Code
Doku lesen →<script lang="ts">
import { Grid, type GridApi } from 'bo-grid'
import { createTickStream } from 'bo-grid/realtime'
let rows = $state.raw(quotes) // one plain object per symbol
let api: GridApi
// Ticks coalesce to one patch a frame; only the changed cells repaint.
const stream = createTickStream({ apply: (batch) => api.patchRows(batch) })
feed.subscribeQuotes(symbols, (qs) => qs.forEach((q) => stream.push(q.symbol, q)))
stream.start()
</script>
<Grid {rows} {columns} getRowId={(r) => r.symbol} flashMotion="hold"
onReady={(a) => (api = a)} />● Simulierte Marktdaten, in Ihrem Browser erzeugt
Eine Echtzeit-Tafel für jede Börse: 1.000 Symbole bei 30.000 Ticks pro Sekunde, Zellen, die bei Änderung blinken, Gruppierung, Pivot und Excel-Export.
Zeilen ticken an Ort und Stelle; sortieren, filtern und gruppieren Sie, während sich der Markt bewegt.
API: bo-grid


