am_call_bin_futures {AmericanCallOpt} | R Documentation |
Pricing of American call option on futures using a binomial approximation
am_call_bin_futures(F, K, r, sigma, t, steps)
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 |
call_price |
Option price |
Paolo Zagaglia, paolo.zagaglia@gmail.com
John Hull, "Options, Futures and other Derivative Securities", Prentice-Hall, second edition, 1993.
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)