Painel de cotações em tempo real

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

● Dados de mercado simulados, gerados no seu navegador

Um painel em tempo real para qualquer bolsa: 1.000 ativos a 30.000 ticks por segundo, células que piscam ao mudar, agrupamento, pivot e exportação para Excel.

As linhas se atualizam no lugar; ordene, filtre e agrupe enquanto o mercado se move.

API: bo-grid