DemosFootprint chart and tape

Footprint chart and tape

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

// feed must give trades: fetchTrades and subscribeTrades
const widget = new ChartWidget(document.getElementById('chart')!, {
  symbol: 'ES',
  timeframe: '1m',
  theme: 'light',
  adapter: feed,
  tape: true,          // time and sales beside the chart
  chartOptions: { chartType: 'footprint' },   // each bar split by price, bid against ask
})
widget.openPanel('tape')
import { ChartWidget } from '@tradecanvas/chart/widget'

// feed must give trades: fetchTrades and subscribeTrades
const widget = new ChartWidget(document.getElementById('chart')!, {
  symbol: 'ES',
  timeframe: '1m',
  theme: 'dark',
  adapter: feed,
  tape: true,          // time and sales beside the chart
  chartOptions: { chartType: 'footprint' },   // each bar split by price, bid against ask
})
widget.openPanel('tape')

● Simulated market data, generated in your browser

See the book, not only the last price: depth, a liquidity heatmap on the GPU, a click-to-trade ladder and volume profile.

API: chartType: 'footprint'