Skip to content

API Reference


API Reference / OptionKind

Type Alias: OptionKind

OptionKind = "call" | "put"

Defined in: src/analytics/blackScholes.ts:8

Black-Scholes pricing, Greeks and implied volatility.

Time to expiry is in years and rates/volatilities are annualized decimals (0.065 for 6.5%), matching the convention in the Ruby gem.

Community project — not affiliated with Dhan. MIT License.