Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task 1: The Put-Call Parity formula in Option Pricing theory is as follows: C = P + S - X(e-rt) or P = C +

Task 1:

The Put-Call Parity formula in Option Pricing theory is as follows:

C = P + S - X(e-rt) or

P = C + X(e-rt) - S

where C is call price, P is put price, S is price of underlying asset, X is exercise price, r is annual effective rate, and t is the number of years of the option period.

(1) Create a user defined function, CallPrice, that calculates the call price given P, S, X, r, and number of days for the option (assume there are 365 days in a year).

(2) Create a user defined function, PutPrice, that calculates the put price given C, S, X, r, and number of days for the option (assumere there are 365 days in a year).

(3) Create a user defined function, Arbitrage (given C, P, S, X, r, and number of days for the options) that returns

a. "sell call, buy put, buy stock, and borrow" if C is greater than the call price determined by P,

b. "sell put, buy call, short stock, and lend" if P is greater than the put price determined by C, and

c. "no arbitrage opportunity" if the put-call parity holds.

(Must use Select Case for (3). *Note: You do not need to do two calculations because the Put-Call Parity mathematically holds true.)

(You use use "Round" to round your calculated put or call price to two decimal places to avoid trivial answers.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Finance questions