Skip to content

API Reference


API Reference / price

Function: price()

price(input): number

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

Theoretical option price. Returns 0 at or past expiry.

Parameters

input

BlackScholesInput

Returns

number

Community project — not affiliated with Dhan. MIT License.