Learn R Programming

AmericanCallOpt (version 0.95)

am_call_bin_futures: Binomial pricing of a futures American call

Description

Pricing of American call option on futures using a binomial approximation

Usage

am_call_bin_futures(F, K, r, sigma, t, steps)

Arguments

F
price of futures contract
K
exercise price
r
risk-free interest rate
sigma
volatility
t
time to maturity
steps
number of steps in binomial tree

Value

call_price
Option price

References

John Hull, "Options, Futures and other Derivative Securities", Prentice-Hall, second edition, 1993.

Examples

Run this code
rm(list=ls())

F<-50 
K<-45
r<-0.08 
sigma<-0.2
t<-0.5
steps<-100

call_price_bin_futures<-am_call_bin_futures(F, K, r, sigma, t, steps)

Run the code above in your browser using DataLab