Payoff de opciones
Código
Leer la documentación →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',
})● Datos de mercado simulados, generados en tu navegador
Para lo que un trader lee después del cierre: P&L, drawdown, asignación, riesgo y rentabilidad.
API: PayoffChart







