BLKSHPTPRC Function

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

Category: Financial
Returned data type: DOUBLE

Syntax

BLKSHPTPRC(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 BLKSHPTPRC function calculates the put 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.
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 BLKSHPTPRC function calculates the put prices for European options on stocks, based on the Black-Scholes model. The BLKSHCLPRC function calculates the call prices for European options on stocks, based on the Black-Scholes model. These functions return a scalar value.

Example

The following statements illustrate the BLKSHPTPRC function:
Statements
Results
----+----1----+-—-2--
select blkshptprc(230,.5,290,.04,.25);
1.56597442946068
select blkshptprc(350,.3,400,.05,.2);
1.64091943067592

See Also

Functions:
Last updated: February 23, 2017