Footprint chart và tape
Code
Đọc docs →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')● Dữ liệu thị trường giả lập, tạo trong trình duyệt của bạn
Xem sổ lệnh, không chỉ giá khớp cuối: depth, liquidity heatmap trên GPU, ladder bấm để giao dịch và volume profile.
API: chartType: 'footprint'





