Payoff quyền chọn
Code
Đọc docs →import { PayoffChart } from '@tradecanvas/chart'
new PayoffChart(el, {
legs: [ // an iron condor
{ type: 'put', side: 'long', strike: 85, premium: 0.6 },
{ type: 'put', side: 'short', strike: 92, premium: 1.9 },
{ type: 'call', side: 'short', strike: 108, premium: 1.7 },
{ type: 'call', side: 'long', strike: 115, premium: 0.5 },
],
multiplier: 100,
spot: 100,
model: { daysToExpiry: 21, volatility: 0.24 }, // and before expiry, by Black-Scholes
theme: 'light',
})import { PayoffChart } from '@tradecanvas/chart'
new PayoffChart(el, {
legs: [ // an iron condor
{ type: 'put', side: 'long', strike: 85, premium: 0.6 },
{ type: 'put', side: 'short', strike: 92, premium: 1.9 },
{ type: 'call', side: 'short', strike: 108, premium: 1.7 },
{ type: 'call', side: 'long', strike: 115, premium: 0.5 },
],
multiplier: 100,
spot: 100,
model: { daysToExpiry: 21, volatility: 0.24 }, // and before expiry, by Black-Scholes
theme: 'dark',
})● Dữ liệu thị trường giả lập, tạo trong trình duyệt của bạn
Cho những gì nhà giao dịch đọc sau giờ đóng cửa: P&L, drawdown, phân bổ, rủi ro và lợi nhuận.
API: PayoffChart







