Gerçek zamanlı fiyat ekranı
<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)} />● Simüle edilmiş piyasa verisi, tarayıcınızda üretilir
Her borsa için gerçek zamanlı bir ekran: saniyede 30.000 tick ile 1.000 sembol, değiştiğinde yanıp sönen hücreler, gruplama, pivot ve Excel’e aktarma.
Satırlar yerinde güncellenir; piyasa hareket ederken sıralayın, filtreleyin ve gruplayın.
API: bo-grid


