DemoGrafik footprint dan tape

Grafik footprint dan 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')

● Data pasar simulasi, dibuat di browser Anda

Lihat bukunya, bukan hanya harga terakhir: kedalaman, heatmap likuiditas di GPU, tangga klik-untuk-trading, dan profil volume.

API: chartType: 'footprint'