Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
Pricing Asian Options Using Maple
Overview
This example demonstrates the use of Maple for computing the price of an Asian option, a derivative security that has gained popularity in financial markets in recent years.
The payoff of an Asian option is based on the difference between an asset's average price over a given time period, and a fixed price called the strike price. Asian options are popular because they tend to have lower volatility than options whose payoffs are based purely on a single price point. It is also harder for big traders to manipulate an average price over an extended period than a single price, so Asian options offer further protection against risk.
One disadvantage of Asian options is that their prices are very hard to compute using standard techniques. Unlike European options, which can be priced using the classic Black-Scholes formula, there is no analytical formula for pricing an Asian option when the underlying asset is assumed to have a lognormal distribution, which is par for the course in financial modeling.
In this application, we use two different approaches for computing these prices numerically: (1) Solving a partial differential equation, and (2) Monte Carlo simulation. We will see that the two numerical solutions that Maple derives are the same, providing strong validation for both the techniques and Maple's numerics.
Arithmetic average Asian options are securities whose payoff depends on the average of the underlying stock price over a certain period of time. To be more precise, the value of the continuous arithmetic Asian call option at time is given by
where is the stock price at time , is the expiration date, and is the strike price.
Since no general closed form solution for the price of the arithmetic average Asian option is known, a variety of numerical methods have been developed. These include formulation as a PDE, Monte Carlo simulation, and numeric inversion of the Laplace transform.
This worksheet demonstrates how these methods can be easily and quickly implemented in Maple.
Solution using PDE
It was shown by Vecer ("A new PDE approach for pricing arithmetic average Asian options", Journal of Computational Finance, vol. 4, No. 4, 105-113) that the value of the Asian option at time is given by
where the function satisfies the following PDE
with the boundary condition
.
First set up the equation:
State the boundary conditions:
Assume a fixed time period of 1 year, a starting price of $100, a strike price of $100, and
Now solve the PDE numerically using Maple's built-in solver.
Finally, evaluate at Maple's numerical solution of .
Monte Carlo Simulation
Alternatively, you can use Monte Carlo methods to price the option.
Use the same parameters as before.
In the classical Black-Scholes setting the underlying process follows a geometric Brownian motion with drift and volatility
Option payoff is given by the following formula:
You can compute the risk-neutral price of the option as expected payoff discounted using the risk-free rate.
You can also compute the various statistics related to this simulation.
value = 9.569798629
standarderror = .1022532908 standarddeviation = 10.22532908 skewness = 1.172246041 kurtosis = 1.209793258 minimum = 0. maximum = 66.07060386 standarderror = .1022532908
Alternatively, you can generate sample data for the option payoff and perform statistical analysis of this data.
eval(NextAfter);
You can consider a more complicated process for modeling the underlying asset. For example, you can incorporate jumps or regime switching into the model.
Here is another example. You can consider another asset, which also follows a geometric Brownian motion but with different parameters. Consider the following contract: if the average price of is higher than the average price of , we get the difference, otherwise we get nothing.
Again, in order to get the price of the contract, you have to discount this expected value using the risk-free rate.
Download Help Document