Learn R Programming

RMOPI (version 1.1)

EuroCallOption: The Value Function of European Call Option

Description

With global variable K, the strike price, calculate the value of European call option.

Usage

EuroCallOption(x, K)

Value

The value of European call option

Arguments

x

the stock price

K

the strike price

Examples

Run this code
EuroCallOption(x = 2,K = 1)

Run the code above in your browser using DataLab