UNPKG

black-scholes-model

Version:

Complete plug and play Black-Scholes-Merton model for option pricing with features including implied volatility and Greeks.

16 lines 475 B
declare type ImpliedVolatilityReturnType = number; interface IImpliedVolatility { S: number; K: number; t: number; rf: number; derivativePrice: number; type: 'call' | 'put'; lowStartVol?: number; highStartVol?: number; tolerance?: number; iteration?: number; } export declare const impliedVolatility: (params: IImpliedVolatility) => ImpliedVolatilityReturnType; export {}; //# sourceMappingURL=impliedVolatility.d.ts.map