Footprint
代码
阅读文档 →import { Chart } from '@tradecanvas/chart'
const chart = new Chart(document.getElementById('chart')!, {
theme: 'light',
chartType: 'footprint',
})
chart.setData(bars) // OHLCV bars, oldest first
chart.setChartType('footprint') // switch at any timeimport { Chart } from '@tradecanvas/chart'
const chart = new Chart(document.getElementById('chart')!, {
theme: 'dark',
chartType: 'footprint',
})
chart.setData(bars) // OHLCV bars, oldest first
chart.setChartType('footprint') // switch at any time● 模拟行情数据,在你的浏览器中生成
每根K线按价格拆开:卖方在 bid 成交了多少,买方在 ask 成交了多少。
API: chartType: 'footprint'
何时使用
- 它显示什么
- 根据数据源的逐笔成交,显示K线内成交量落在哪些价位、哪一方是主动方。
- 注意事项
- 需要你的数据源提供逐笔成交,并用短周期,让K线里的各行仍然可读。
- 谁会用它
- 解读吸收和失衡的期货与加密货币 order flow 交易者。
把上方图表切换为同一类的其他类型;每种都保留当前行情。







