Escalera de profundidad de mercado

import { ChartWidget } from '@tradecanvas/chart/widget'

// feed: your DataAdapter (a WebSocketAdapter, or your own class)
const widget = new ChartWidget(document.getElementById('chart')!, {
  symbol: 'AAPL',
  timeframe: '5m',
  theme: 'dark',
  adapter: feed,
  trading: true,
  depthLadder: true,   // the order book as a click-to-trade ladder
})

// Hand it the book whenever it changes: { bids: [{ price, size }], asks: [...] }
widget.setDepth(book)

● Datos de mercado simulados, generados en tu navegador

Mira el libro, no solo el último precio: profundidad, un mapa de calor de liquidez en la GPU, una escalera para operar con un clic y perfil de volumen.

API: WidgetDepthLadder