Live Trades
useActivity() — venue-wide trade stream (pass market to scope to one card). Drives the ticker below and the flying bets on every card.
waiting for trades…
// venue-wide ticker (pre-filled with recent):
const { events } = useActivity({ history: true }, undefined, { keep: 25 })
// or animate flying bets on one card:
useActivity({ market: id }, (t) => spawnBet(t))