Papan harga realtime

<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)} />

● Data pasar simulasi, dibuat di browser Anda

Papan realtime untuk bursa mana pun: 1.000 simbol dengan 30.000 tick per detik, sel yang berkedip saat berubah, pengelompokan, pivot, dan ekspor ke Excel.

Baris diperbarui di tempat; urutkan, saring, dan kelompokkan selagi pasar bergerak.

API: bo-grid