Graphique footprint et tape
Code
Lire la doc →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')● Données de marché simulées, générées dans votre navigateur
Voyez le carnet, pas seulement le dernier cours : profondeur, heatmap de liquidité sur le GPU, échelle de profondeur où l’on trade d’un clic et profil de volume.
API: chartType: 'footprint'





