Package AmericanCallOpt



Similar documents
Option Valuation. Chapter 21

American and European. Put Option

Caput Derivatives: October 30, 2003

UCLA Anderson School of Management Daniel Andrei, Derivative Markets 237D, Winter MFE Midterm. February Date:

Options on an Asset that Yields Continuous Dividends

Option Values. Option Valuation. Call Option Value before Expiration. Determinants of Call Option Values

Call and Put. Options. American and European Options. Option Terminology. Payoffs of European Options. Different Types of Options

Exam MFE Spring 2007 FINAL ANSWER KEY 1 B 2 A 3 C 4 E 5 D 6 C 7 E 8 C 9 A 10 B 11 D 12 A 13 E 14 E 15 C 16 D 17 B 18 A 19 D

Introduction to Binomial Trees

Practice Set #7: Binomial option pricing & Delta hedging. What to do with this practice set?

Week 12. Options on Stock Indices and Currencies: Hull, Ch. 15. Employee Stock Options: Hull, Ch. 14.

Overview. Option Basics. Options and Derivatives. Professor Lasse H. Pedersen. Option basics and option strategies

Part V: Option Pricing Basics

CFA Level -2 Derivatives - I

Two-State Option Pricing

Chapter 11 Options. Main Issues. Introduction to Options. Use of Options. Properties of Option Prices. Valuation Models of Options.

CHAPTER 21: OPTION VALUATION

On Black-Scholes Equation, Black- Scholes Formula and Binary Option Price

ACTS 4302 SOLUTION TO MIDTERM EXAM Derivatives Markets, Chapters 9, 10, 11, 12, 18. October 21, 2010 (Thurs)

Lecture 12: The Black-Scholes Model Steven Skiena. skiena

Option Properties. Liuren Wu. Zicklin School of Business, Baruch College. Options Markets. (Hull chapter: 9)

Interest rate Derivatives

Option Values. Determinants of Call Option Values. CHAPTER 16 Option Valuation. Figure 16.1 Call Option Value Before Expiration

Figure S9.1 Profit from long position in Problem 9.9

第 9 讲 : 股 票 期 权 定 价 : B-S 模 型 Valuing Stock Options: The Black-Scholes Model

Quantitative Strategies Research Notes

Chapter 21 Valuing Options

One Period Binomial Model

BINOMIAL OPTION PRICING

Options Pricing. This is sometimes referred to as the intrinsic value of the option.

Hedging Strategies Using Futures. Chapter 3

Jorge Cruz Lopez - Bus 316: Derivative Securities. Week 9. Binomial Trees : Hull, Ch. 12.

Jorge Cruz Lopez - Bus 316: Derivative Securities. Week 11. The Black-Scholes Model: Hull, Ch. 13.

Likewise, the payoff of the better-of-two note may be decomposed as follows: Price of gold (US$/oz) Oil price

Options Markets: Introduction

CS 522 Computational Tools and Methods in Finance Robert Jarrow Lecture 1: Equity Options

DEPARTMENT OF ECONOMICS DELHI SCHOOL OF ECONOMICS UNIVERSITY OF DELHI. Minutes of Meeting

1 The Black-Scholes model: extensions and hedging

Lecture 9. Sergei Fedotov Introduction to Financial Mathematics. Sergei Fedotov (University of Manchester) / 8

2. Exercising the option - buying or selling asset by using option. 3. Strike (or exercise) price - price at which asset may be bought or sold

1.1 Some General Relations (for the no dividend case)

TABLE OF CONTENTS. A. Put-Call Parity 1 B. Comparing Options with Respect to Style, Maturity, and Strike 13

BUS 316 NOTES AND ANSWERS BINOMIAL OPTION PRICING

S 1 S 2. Options and Other Derivatives

BINOMIAL OPTIONS PRICING MODEL. Mark Ioffe. Abstract

DETERMINING THE VALUE OF EMPLOYEE STOCK OPTIONS. Report Produced for the Ontario Teachers Pension Plan John Hull and Alan White August 2002

Options (1) Class 19 Financial Management,

Lecture 21 Options Pricing

Additional questions for chapter 4

Institutional Finance 08: Dynamic Arbitrage to Replicate Non-linear Payoffs. Binomial Option Pricing: Basics (Chapter 10 of McDonald)

Assumptions: No transaction cost, same rate for borrowing/lending, no default/counterparty risk

Numerical Methods for Option Pricing

How To Value Real Options

Package fexoticoptions

Valuation of Razorback Executive Stock Options: A Simulation Approach

Does Black-Scholes framework for Option Pricing use Constant Volatilities and Interest Rates? New Solution for a New Problem

Determination of Forward and Futures Prices. Chapter 5

Discussions of Monte Carlo Simulation in Option Pricing TIANYI SHI, Y LAURENT LIU PROF. RENATO FERES MATH 350 RESEARCH PAPER

Equity-index-linked swaps

Pricing Forwards and Swaps

Martingale Pricing Applied to Options, Forwards and Futures

Two-State Model of Option Pricing

Pricing Barrier Options under Local Volatility

Chapter 5 Financial Forwards and Futures

Pricing Options: Pricing Options: The Binomial Way FINC 456. The important slide. Pricing options really boils down to three key concepts

1 The Black-Scholes Formula

Options. + Concepts and Buzzwords. Readings. Put-Call Parity Volatility Effects

CHAPTER 21: OPTION VALUATION

The Binomial Option Pricing Model André Farber

DIFFERENT PATHS: SCENARIOS FOR n-asset AND PATH-DEPENDENT OPTIONS II

DERIVATIVE SECURITIES Lecture 2: Binomial Option Pricing and Call Options

Pricing Options with Discrete Dividends by High Order Finite Differences and Grid Stretching

10 Binomial Trees One-step model. 1. Model structure. ECG590I Asset Pricing. Lecture 10: Binomial Trees 1

Untangling F9 terminology

where N is the standard normal distribution function,

Pricing American Options on Leveraged Exchange. Traded Funds in the Binomial Pricing Model

Factors Affecting Option Prices

Option Pricing Applications in Valuation!

Pricing Options Using Trinomial Trees

Futures Price d,f $ 0.65 = (1.05) (1.04)

Assessing Credit Risk for a Ghanaian Bank Using the Black- Scholes Model

How to Value Employee Stock Options

VALUATION IN DERIVATIVES MARKETS

Review of Basic Options Concepts and Terminology

A SNOWBALL CURRENCY OPTION

A Comparison of Option Pricing Models

Hedging with Foreign Currency Options. Kris Kuthethur Murthy Vanapalli

Chapter 1: Financial Markets and Financial Derivatives

Final Exam MØA 155 Financial Economics Fall 2009 Permitted Material: Calculator

Finance 436 Futures and Options Review Notes for Final Exam. Chapter 9

Financial Options: Pricing and Hedging

or enters into a Futures contract (either on the IPE or the NYMEX) with delivery date September and pay every day up to maturity the margin

INSTALMENT WARRANT MECHANICS

CHAPTER 8 STOCK VALUATION

Arbitrage-Free Pricing Models

Conn Valuation Services Ltd.

OPTIONS, FUTURES, & OTHER DERIVATI

Transcription:

Type Package Package AmericanCallOpt February 19, 2015 Title This package includes pricing function for selected American call options with underlying assets that generate payouts. Version 0.95 Date 2012-03-02 Author Paolo Zagaglia Maintainer Paolo Zagaglia <paolo.zagaglia@gmail.com> Depends R (>= 2.0.0) This package includes a set of pricing functions for American call options. The following cases are covered: Pricing of an American call using the standard binomial approximation; Hedge parameters for an American call with a standard binomial tree; Binomial pricing of an American call with continuous payout from the underlying asset; Binomial pricing of an American call with an underlying stock that pays proportional dividends in discrete time; Pricing of an American call on futures using a binomial approximation; Pricing of a currency futures American call using a binomial approximation; Pricing of a perpetual American call. The user should kindly notice that this material is for educational purposes only. The codes are not optimized for computational efficiency as they are meant to represent standard cases of analytical and numerical solution. License GPL-3 Repository CRAN Date/Publication 2012-03-04 15:32:00 NeedsCompilation no R topics documented: AmericanCallOpt-package................................. 2 am_call_bin......................................... 5 1

2 AmericanCallOpt-package am_call_bin_contpay.................................... 6 am_call_bin_currency.................................... 7 am_call_bin_futures.................................... 9 am_call_bin_propdiv.................................... 10 am_call_partials....................................... 11 am_call_perpetual...................................... 12 Index 14 AmericanCallOpt-package Pricing of selected American call options with payoff from the underlying asset Details This package includes pricing function for selected American call options with underlying assets that generate payouts. The functions cover the cases of binomial pricing for American options with continuous payout from the underlying asset or commodity and with an underlying stock that pays proportional dividends in discrete t. There are also functions for American calls on futures using a binomial approximation, for futures currency option using a binomial approximation, and for American perpetual call options. Each type of option is dealt with in a corresponding R function. Package: AmericanCallOpt Type: Package Version: 0.95 Date: 2012-03-02 License: GPL-3 This package includes a set of pricing functions for American call options. The following cases are covered: (1) Pricing of American call option using the standard binomial approximation; (2) Hedge parameters for an American call option with a standard binomial tree; (3) Binomial pricing of American option with continuous payout from the underlying asset; (4) Binomial pricing of American option with an underlying stock that pays proportional dividends in discrete time; (5) Pricing of American call option on futures using a binomial approximation; (6) Pricing of futures currency option using a binomial approximation; (7) Pricing of American perpetual call option. The user should kindly notice that this material is for educational purposes only. The codes are not optimized for computational efficiency as they are meant to represent standard cases of analytical and numerical solution. Paolo Zagaglia Maintainer: Paolo Zagaglia <paolo.zagaglia@gmail.com>

AmericanCallOpt-package 3 John Hull, "Options, Futures and other Derivative Securities", Prentice-Hall, second edition, 1993. # # Example program for pricing different American call options using # alternative methods # # IMPORTANT: # These programs are educational purpose only. The codes are not # optimized for computational efficiency as they are meant to # represent standard cases of anaytical and numerical solution. # # Price of American call option using a binomial approximation r<-0.1 t<-1 call_price_am_bin<-am_call_bin(s, K, r, sigma, t, steps) # Hedge parameters for an American call option using a binomial tree r<-0.1 t<-1.0 hedge<-am_call_partials(s, K, r, sigma, t, steps) # Binomial American option price with continous payout from the # underlying commodity

4 AmericanCallOpt-package r<-0.10 y<-0.02 t<-1 call_price_bin_contpay<-am_call_bin_contpay(s, K, r, y, sigma, t, steps) # Binomial price of an American option with an underlying stock that # pays proportional dividends in discrete t r<-0.10 t<-1 dividend_times<-matrix( c(0.25, 0.75) ) dividend_yields<-matrix( c(0.025, 0.025) ) call_price_bin_propdiv<-am_call_bin_propdiv(s, K, r, sigma, t, steps, dividend_times, dividend_yields) # Pricing an american call option on futures using a binomial approximation F<-50 K<-45 r<-0.08 sigma<-0.2 t<-0.5 call_price_bin_futures<-am_call_bin_futures(f, K, r, sigma, t, steps) # Pricing a futures currency option using a binomial approximation S<-50 K<-52 r<-0.08 r_f<-0.05 sigma<-0.2 t<-0.5 call_price_bin_currency<-am_call_bin_currency(s, K, r, r_f, sigma, t, steps)

am_call_bin 5 # Price for an American perpetual call option S<-50.0 K<-40.0 r<-0.05 y<-0.02 sigma<-0.05 call_price_perpetual<-am_call_perpetual(s, K, r, y, sigma) am_call_bin Binomial pricing of a standard American call Pricing of American call option using a binomial approximation Usage am_call_bin(s, K, r, sigma, t, steps) Arguments S K r sigma t steps spot price exercise price risk-free interest rate volatility time to maturity number of steps in binomial tree Details The valuation problem of an American option is not trivial because, due to the payoff structure, it may be optimal to use (exercise) the option before the final date. This optimal exercise policy will affect the value of the option. However, the exercise policy is not known. There is therefore no general analytical solution for American options. There are some special cases, though. For American call options on assets that do not have any payouts, the American call price is the same as the European one, since the optimal exercise policy is to not exercise. Allowing for the possibility of early exercise of American options makes binomial approximations useful from a valuation perspective. At each node we calculate the value of the option as a function of prices in the subsequent periods. At each point in time, we check for the value exercising of exercising the option.

6 am_call_bin_contpay Value In the application presented in this package, I use a binomial tree. To find the option price, the algorithm rolls backwards starting from the final node. At node t, it calculate the call price as a function of two possible outcomes at time t+1. call_price Option price Paolo Zagaglia, paolo.zagaglia@gmail.com John Hull, "Options, Futures and other Derivative Securities", Prentice-Hall, second edition, 1993. r<-0.1 t<-1 call_price_am_bin<-am_call_bin(s, K, r, sigma, t, steps) am_call_bin_contpay Binomial option price with continuous payout from the underlying asset Usage Pricing of an American call option with continuous payout from the underlying asset using a binomial approximation am_call_bin_contpay(s, K, r, y, sigma, t, steps) Arguments S K r y spot price exercise price risk-free interest rate continuous payout

am_call_bin_currency 7 sigma t steps volatility time to maturity number of steps in binomial tree Details With this type of option, the underlying asset provides payouts at each period in time. The payoff structure simplifies the computation to a major extent and makes this a case similar to the one of pricing through Black-Scholes. Value call_price Option price Paolo Zagaglia, paolo.zagaglia@gmail.com John Hull, "Options, Futures and other Derivative Securities", Prentice-Hall, second edition, 1993. r<-0.10 y<-0.02 t<-1 call_price_bin_contpay<-am_call_bin_contpay(s, K, r, y, sigma, t, steps) am_call_bin_currency Binomial pricing of an American call on currency futures Pricing of currency futures American option using a binomial approximation Usage am_call_bin_currency(s, K, r, r_f, sigma, t, steps)

8 am_call_bin_currency Arguments S K r r_f sigma t steps spot price exercice price domestic interest rate foreign interest rate volatility time to maturity number of steps in binomial tree Details American options written on foreign currencies are priced using a standard binomial tree. The notable point is that early exercise is driven by the difference between national interest rates. Value call_price Option price Paolo Zagaglia, paolo.zagaglia@gmail.com John Hull, "Options, Futures and other Derivative Securities", Prentice-Hall, second edition, 1993. S<-50 K<-52 r<-0.08 r_f<-0.05 sigma<-0.2 t<-0.5 call_price_bin_currency<-am_call_bin_currency(s, K, r, r_f, sigma, t, steps)

am_call_bin_futures 9 am_call_bin_futures Binomial pricing of a futures American call Pricing of American call option on futures using a binomial approximation Usage am_call_bin_futures(f, K, r, sigma, t, steps) Arguments F K r sigma t steps price of futures contract exercise price risk-free interest rate volatility time to maturity number of steps in binomial tree Value call_price Option price Paolo Zagaglia, paolo.zagaglia@gmail.com John Hull, "Options, Futures and other Derivative Securities", Prentice-Hall, second edition, 1993. F<-50 K<-45 r<-0.08 sigma<-0.2 t<-0.5 call_price_bin_futures<-am_call_bin_futures(f, K, r, sigma, t, steps)

10 am_call_bin_propdiv am_call_bin_propdiv Binomial price of an American call with an underlying stock that pays proportional dividends Usage Pricing of an American call stock option that pays proportional dividends am_call_bin_propdiv(s, K, r, sigma, t, steps, dividend_times, dividend_yields) Arguments S K r sigma t Details Value steps spot price exercice price interest rate volatility time to maturity number of steps in binomial tree dividend_times periods when dividend is paid out dividend_yields dividend yields in each period If the underlying asset is a stock paying dividends during the maturity of the option, the terms of the option are not adjusted to reflect this cash payment, which means that the option value will reflect the dividend payments. In the binomial model, the adjustment for dividends depends on whether the dividends are discrete or proportional. In this R package, we deal with the second case. To address this issue, we multiply the stock prices at the ex-dividend date by an adjustment term. Since the structure of the adjusted payoffs along the binomial tree is standard, we can again compute option price backward starting from the final states. call_price Option price Paolo Zagaglia, paolo.zagaglia@gmail.com John Hull, "Options, Futures and other Derivative Securities", Prentice-Hall, second edition, 1993.

am_call_partials 11 r<-0.10 t<-1 dividend_times<-matrix(c(0.25, 0.75)) dividend_yields<-matrix(c(0.025, 0.025)) call_price_bin_propdiv<-am_call_bin_propdiv(s, K, r, sigma, t, steps, dividend_times, dividend_yields) am_call_partials Hedge parameters of a standard American call option using a binomial tree Partials of an American call option using a binomial approximation Usage am_call_partials(s, K, r, sigma, t, steps) Arguments S K r sigma t steps spot price exercise price risk-free interest rate volatility time to maturity number of steps in binomial tree Details The binomial method provides for techniques to approximate the partials of a derivative instrument. The computation of the partials for the binomial tree used in this package is discussed by Hull (2006).

12 am_call_perpetual Value hedge$delta hedge$gamma hedge$theta hedge$vega hedge$rho partial with respect to S second partial with respect to S partial with respect to time partial with respect to sigma partial with respect to r Paolo Zagaglia, paolo.zagaglia@gmail.com John Hull, "Options, Futures and Other Derivatives", Prentice-Hall, Sixth Edition, 2006. r<-0.1 t<-1.0 hedge<-am_call_partials(s, K, r, sigma, t, steps) am_call_perpetual Analytical pricing of an American perpetual call Pricing of an American perpetual call option using an analytical formula Usage am_call_perpetual(s, K, r, y, sigma) Arguments S K r y sigma spot price exercise price risk-free interest rate dividend yield from underlying asset volatility

am_call_perpetual 13 Details Value A perpetual option is one with no maturity date. This obviously applies only to the case of American-style options. Analytical formulas are available in this case both for call and put options. call_price Option price Paolo Zagaglia, paolo.zagaglia@gmail.com John Hull, "Options, Futures and other Derivative Securities", Prentice-Hall, second edition, 1993. S<-50.0 K<-40.0 r<-0.05 y<-0.02 sigma<-0.05 call_price_perpetual<-am_call_perpetual(s, K, r, y, sigma)

Index Topic am_call_bin_contpay am_call_bin_contpay, 6 Topic am_call_bin_currency am_call_bin_currency, 7 Topic am_call_bin_futures am_call_bin_futures, 9 Topic am_call_bin_propdiv am_call_bin_propdiv, 10 Topic am_call_bin am_call_bin, 5 Topic am_call_partials am_call_partials, 11 Topic am_call_perpetual am_call_perpetual, 12 am_call_bin, 5 am_call_bin_contpay, 6 am_call_bin_currency, 7 am_call_bin_futures, 9 am_call_bin_propdiv, 10 am_call_partials, 11 am_call_perpetual, 12 AmericanCallOpt (AmericanCallOpt-package), 2 AmericanCallOpt-package, 2 14