BLKSHCLPRC Function

Calculates call prices for European options on stocks, based on the Black-Scholes model.

Category: Financial
Returned data type: DOUBLE

Syntax

BLKSHCLPRC(E, t, S, r, sigma)

Arguments

E

is a nonmissing, positive value that specifies the exercise price.

Requirement Specify E and S in the same units.
Data type DOUBLE

t

is a nonmissing value that specifies the time to maturity, in years.

Data type INTEGER

S

is a nonmissing, positive value that specifies the share price.

Requirement Specify S and E in the same units.
Data type DOUBLE

r

is a nonmissing, positive value that specifies the annualized risk-free interest rate, continuously compounded.

Data type DOUBLE

sigma

is a nonmissing, positive fraction that specifies the volatility of the underlying asset.

Data type DOUBLE

Details

The BLKSHCLPRC function calculates the call prices for European options on stocks, based on the Black-Scholes model. The function is based on the following relationship:
Arguments
S
is a nonmissing, positive value that specifies the share price.
N
specifies the cumulative normal density function.
E
is a nonmissing, positive value that specifies the exercise price of the option.
The following arguments apply to the preceding equation:
t
specifies the time to expiration, in years.
r
specifies the risk-free interest rate, which is an annual rate that is expressed in terms of continuous compounding.
sigma
specifies the volatility (the square root of the variance).
sigma squared
specifies the variance of the rate of return.
For the special case of t=0, the following equation is true:
For information about the basics of pricing, see Using Pricing Functions in SAS Functions and CALL Routines: Reference.

Comparisons

The BLKSHCLPRC function calculates the call prices for European options on stocks, based on the Black-Scholes model. The BLKSHPTPRC function calculates the put prices for European options on stocks, based on the Black-Scholes model. These functions return a scalar value.

Example

The following statements illustrate the BLKSHCLPRC function:
Statements
Results
----+----1----+-—-2--
select blkshclprc(50,.25,48,.05,.25);
1.79894201954463
select blkshclprc(9,1/12,10,.05,.2);
1

See Also

Functions:
Last updated: February 23, 2017