Độ sâu sổ lệnh
Code
Xem tài liệu →import { DepthChart } from '@tradecanvas/chart'
const depth = new DepthChart(el, {
data: book, // { bids: [{ price, size }], asks: [...] }
midPriceLine: true,
spreadLabel: true,
theme: 'dark',
})
depth.update(nextBook) // on every change of the book● 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: DepthChart
