オプションの損益図
コード
ドキュメントを見る →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',
})● ブラウザー内で生成したシミュレーション市場データ
引け後にトレーダーが見るもの: 損益、ドローダウン、資産配分、リスクとリターン。
API: PayoffChart







