69 种画线工具

import { ChartWidget } from '@tradecanvas/chart/widget'

// feed: your DataAdapter (a WebSocketAdapter, or your own class)
const widget = new ChartWidget(document.getElementById('chart')!, {
  symbol: 'AAPL',
  timeframe: '5m',
  theme: 'dark',
  adapter: feed,
  // 69 drawing tools in the left toolbar; they are saved with the layout
  persistLayouts: true,
})

● 模拟行情数据,在你的浏览器中生成

开箱即用的完整界面:下单面板、图表上的订单和持仓、可拖动的止损和止盈、自选列表、警报和K线回放。

API: addDrawing