委託簿深度

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

● 模擬行情資料,在你的瀏覽器中產生

不只看最新價,也看委託簿:深度、以 GPU 繪製的流動性熱力圖、點擊即可交易的深度報價階梯與成交量分佈。

API: DepthChart