Heatmap thanh khoản
Code
Xem tài liệu →import { Chart } from '@tradecanvas/chart'
const chart = new Chart(el, { theme: 'dark', renderer: 'webgl' })
chart.setData(bars)
chart.setDepthHeatmapVisible(true)
// Each order-book snapshot becomes a column of the heatmap behind the price
chart.pushDepthSnapshot(book, Date.now())● Dữ liệu thị trường giả lập, sinh ngay trong trình duyệt của bạn
Nhìn cả sổ lệnh chứ không chỉ giá khớp cuối: độ sâu, heatmap thanh khoản bằng GPU, bảng DOM bấm để đặt lệnh và volume profile.
API: pushDepthSnapshot
