3D 波動率曲面
程式碼
閱讀文件 →import { SurfaceChart } from '@tradecanvas/chart'
// Drag to turn it; the wheel zooms.
new SurfaceChart(el, {
x: strikes, // numbers along one side
y: daysToExpiry, // numbers along the other
values: iv, // values[y][x]
xLabel: 'Strike', yLabel: 'Days', valueLabel: 'IV',
theme: 'light',
})import { SurfaceChart } from '@tradecanvas/chart'
// Drag to turn it; the wheel zooms.
new SurfaceChart(el, {
x: strikes, // numbers along one side
y: daysToExpiry, // numbers along the other
values: iv, // values[y][x]
xLabel: 'Strike', yLabel: 'Days', valueLabel: 'IV',
theme: 'dark',
})● 模擬行情資料,在你的瀏覽器中產生
給交易者收盤後閱讀的內容:損益、回撤、配置、風險與報酬。
API: SurfaceChart







