Back to all projects
Mathematics

Black-Scholes and Monte Carlo Methods for Option Pricing: Accuracy, Efficiency and Hedging

Elijah T 0 views 0 downloadsBSc/BA

Notice: This is a sample project for study and reference. Submitting it as your own work violates most universities' academic integrity policies.

Abstract

About This Research Topic

What is the fair price of a promise? That, in essence, is the question behind every option contract. An option gives its holder the right to buy or sell an asset at a fixed price, and someone has to decide how much that right should cost. Set the price too low and the seller is not paid for the risk. Set it too high and buyers can rebuild the same payoff more cheaply elsewhere.

For the simplest contracts, a famous formula settles the matter in a single line. For almost everything else, numerical methods must do the work, and Monte Carlo simulation, which prices an option by averaging over thousands of random price paths, is the most flexible of them. Its weakness is that accuracy improves only slowly as the number of paths grows, which is why so much effort goes into making simulation smarter instead of simply bigger.

This article draws on an undergraduate mathematics project that derived the Black-Scholes solution, implemented a family of numerical methods in Python, and measured how accurate and efficient each one is on a fixed set of contracts. It explains the problem, the objectives, the questions and the main results the study reports. A note on data is worth making early: the applied case uses a simulated share price, not real market quotations. Whether you are a mathematics student looking for a model project, an analyst curious about variance reduction, or a lecturer after a teaching case, the sections below show how the study compares methods and what the numbers reveal.

Main Abstract

An option gives its holder the right to buy or sell an asset at a fixed price, and its fair premium is the central quantity in derivative pricing. This project studies the Black-Scholes closed-form solution together with the numerical methods that take over when no closed form exists, with particular emphasis on Monte Carlo simulation. It derives the Black-Scholes equation and formula, proves put-call parity and obtains the Greeks. It also proves the unbiasedness, central limit theorem and confidence interval of the Monte Carlo estimator, the variance results for antithetic and control variates, the pathwise and likelihood ratio Greek estimators, the convergence of the binomial tree, the properties of the Crank-Nicolson scheme, the geometric Asian price and the variance of the discrete hedging error.

All methods were coded in Python and tested on a base contract with a share price of 100, a strike of 100, an interest rate of 10 percent, volatility of 25 percent and one year to expiry. The closed-form values for this contract are 14.9758 for the call and 5.4595 for the put. The applied case uses simulated data.

The root mean square error of plain Monte Carlo fell with a fitted slope of -0.501 in the number of paths, and the 95 percent confidence interval covered the true price in 95.0 percent of 4,000 replications. At 16,384 paths, antithetic variates, a control variate, both together, moment matching and scrambled Sobol' points reduced the mean squared error by factors of 2.1, 8.5, 41.1, 73.9 and about 26,380, and only the Sobol' points improved the convergence rate itself (slope -0.98). Crank-Nicolson finite differences with a Rannacher start showed observed orders of 2.06 in space and 1.92 in time.

The American put carried an early exercise premium of 1.097 naira, and least-squares Monte Carlo approached the binomial value from below. A geometric Asian control variate cut the root mean square error of the arithmetic Asian price from 0.1035 to 0.0042. Monitoring a barrier only at discrete dates overstated a down-and-out call by 0.70 naira at 12 dates, and the Broadie-Glasserman-Kou barrier shift corrected the bias. Hedging error fell with a slope of -0.49 in the number of rebalancings. In the applied case, the numerical methods agreed within 0.01 naira, while uncertainty from the estimated volatility was far larger. The study concludes that numerical error can be made negligible but model input error cannot.

Key Results at a Glance

Topic

Reported result

Base contract (S = 100, K = 100, r = 10%, vol = 25%, 1 year)

Closed-form call 14.9758 and put 5.4595

Plain Monte Carlo convergence

RMSE slope -0.501; 95% interval covered the true price in 95.0% of 4,000 replications

Variance reduction at 16,384 paths (MSE reduction factors)

Antithetic 2.1; control variate 8.5; both together 41.1; moment matching 73.9; scrambled Sobol' about 26,380

Crank-Nicolson finite differences

Observed order 2.06 in space and 1.92 in time

American put

Early exercise premium of 1.097 naira; least-squares Monte Carlo approached the binomial value from below

Asian and barrier options

Geometric Asian control variate cut RMSE from 0.1035 to 0.0042; discrete monitoring overstated a down-and-out call by 0.70 naira at 12 dates, corrected by the Broadie-Glasserman-Kou shift

Delta hedging

Hedging error fell with a slope of -0.49 in the number of rebalancings

Chapter One Preview

Background to the Study

An option is a contract that gives its holder the right, but not the obligation, to buy or sell an asset at a fixed price on or before a fixed date. A call lets the holder buy, a put lets the holder sell, and the price paid for that right is called the premium. The US Securities and Exchange Commission's investor bulletin introducing options sets out these basic terms, including strike price, expiration and premium, in plain language.

The breakthrough that reshaped finance came from Black and Scholes and, independently, Merton, in 1973. They showed that if a share price follows a geometric Brownian motion, an option's payoff can be replicated exactly by continuously trading the share and a risk-free bond, so the premium must equal the cost of that replicating portfolio. The formula depends on five inputs: the current share price, the strike, the time to expiry, the risk-free rate and the volatility. It does not depend on the share's expected return, and that independence from investors' risk preferences is what makes risk-neutral valuation possible. Under it, an option's value is the discounted expected payoff under a modified probability measure.

Closed-form pricing works only for the simplest contracts. Let the holder exercise early, make the payoff depend on the average price, or cancel the option if a barrier is touched, and the formula is usually lost. Three families of numerical methods then step in. The binomial tree approximates the share price with a discrete lattice, finite difference methods solve the pricing partial differential equation on a grid, and Monte Carlo simulation averages payoffs across random paths. Monte Carlo is the most flexible because its cost grows slowly as risk factors are added, but its error shrinks only with the inverse square root of the number of paths, so a large part of the practical literature concerns improving it for the same effort.

The subject also has a Nigerian dimension. On 14 April 2022, the Nigerian Exchange launched what it called West Africa's first exchange-traded derivatives market, listing futures on the NGX 30 Index and the NGX Pension Index, with NG Clearing Limited providing clearing, as reported in this account of the launch. The first products were futures rather than options, but the arrival of a derivatives market gives Nigerian students, analysts and investors a practical reason to understand how such contracts are priced and hedged. The same mathematics applies to employee share options, bank-structured products and the options embedded in many insurance and pension contracts.

Statement of the Problem

Textbooks usually present the Black-Scholes formula and Monte Carlo simulation as separate topics and leave the links between them unexamined. Three questions, in particular, are rarely answered with numbers in one place. How fast does Monte Carlo converge to the Black-Scholes value, and how much do the standard variance reduction devices and quasi-random sequences improve it? How accurate are the lattice and finite difference methods for the same contract, and at what cost?

For contracts with no closed form, such as American and barrier options, how large are the errors from time discretisation, regression approximation and discrete barrier monitoring, and can they be corrected? This study answers these questions for a fixed, reproducible set of contracts and parameters.

Aim and Objectives of the Study

The aim of the study is to derive, implement and compare the Black-Scholes closed-form solution and numerical methods, with emphasis on Monte Carlo simulation, for pricing and hedging options, and to measure the accuracy and efficiency of each method.

The specific objectives are to:

1.       Derive the Black-Scholes partial differential equation and formula, prove put-call parity and obtain the Greeks in closed form.

2.       State and prove the basic properties of the Monte Carlo estimator, namely unbiasedness, the central limit theorem and the confidence interval, and measure its convergence rate numerically.

3.       Prove the variance reduction results for antithetic and control variates, and compare antithetic variates, control variates, moment matching and scrambled Sobol sequences at equal sample size.

4.       Estimate the Greeks by pathwise, likelihood ratio and finite difference estimators and compare their variances.

5.       Price the same European option by the Cox-Ross-Rubinstein binomial tree and by Crank-Nicolson finite differences, and measure their orders of convergence.

6.       Price an American put by the binomial method and by least-squares Monte Carlo, and price Asian and barrier options by simulation with the corrections that improve them.

7.       Study discrete delta hedging by simulation, including the effect of a wrong volatility, and recover implied volatility from option prices.

8.       Apply the methods to a simulated Nigerian-style share to show how uncertainty about volatility enters the price.

Research Questions

•        Do the closed-form prices and Greeks agree with independent numerical calculations, and do the identities that the theory predicts hold?

•        Does the Monte Carlo error decrease at the rate 1/√N, and does the stated confidence interval achieve its nominal coverage?

•        By how much do antithetic variates, control variates, moment matching and Sobol sequences reduce the error, and which is most efficient once computing time is counted?

•        Which estimator of the delta, the gamma and the vega has the smallest variance?

•        What are the orders of convergence of the binomial and finite difference methods, and how do they compare in accuracy with Monte Carlo?

•        How large is the early exercise premium of an American put, and how close does least-squares Monte Carlo come to the binomial value?

•        How large is the bias from discrete monitoring of a barrier option, and does the continuity correction remove it?

•        How does the hedging error depend on the number of rebalancing dates and on the volatility used for hedging?

Significance of the Study

For mathematics students, the study is a coherent application of probability, stochastic processes, partial differential equations and numerical analysis. Each result is stated precisely and either proved or cited, and every claim that can be checked numerically is checked, which models good practice in applied mathematics.

For analysts, it offers measured evidence on which variance reduction method to choose, how many paths a given accuracy requires, and how large the discretisation errors of common schemes are. For lecturers, the code in the appendices is a complete teaching tool that runs in under two minutes on an ordinary computer.

Scope of the Study

The study treats options on a single non-dividend-paying share whose price follows a geometric Brownian motion with constant volatility and a constant risk-free rate. The contracts are European calls and puts, an American put, an arithmetic-average Asian call and a down-and-out barrier call. The methods are the closed-form solution, Monte Carlo simulation with variance reduction and quasi-random numbers, the binomial tree, Crank-Nicolson finite differences and least-squares Monte Carlo.

Stochastic volatility, jumps, dividends, interest rate risk, transaction costs and multi-asset contracts are outside the scope, although the methods extend to them. The applied case uses a simulated 500-day share price path, generated with a stated drift and volatility and a fixed seed so that the true volatility is known. No real Nigerian Exchange quotations were used.

Operational Definition of Terms

Term

Operational Definition

Option

A contract giving the holder the right, but not the obligation, to buy (call) or sell (put) an asset at a fixed strike price. See the SEC investor bulletin on options.

European option

An option that can be exercised only at expiry.

American option

An option that can be exercised at any time up to expiry.

Volatility

The annualised standard deviation of the logarithmic return of the share.

Risk-neutral measure

A probability measure under which discounted share prices are martingales, so that option values are discounted expected payoffs.

Greeks

The partial derivatives of the option value with respect to its inputs: delta (share price), gamma (second derivative in share price), vega (volatility), theta (time) and rho (interest rate).

Delta hedging

Holding a number of shares equal to the delta of an option position in order to offset small changes in the share price.

Variance reduction

A technique that lowers the variance of a Monte Carlo estimator without changing its expected value.

Quasi-Monte Carlo

Estimation by averaging over a deterministic low-discrepancy sequence in place of pseudo-random numbers.

Implied volatility

The value of the volatility parameter at which the Black-Scholes price equals an observed option price.

Root mean square error (RMSE)

The square root of the mean squared difference between an estimator and the true value over repeated experiments.

Conclusion

The study's central lesson is a distinction every practitioner should keep in mind: numerical error can be driven close to zero, but model input error cannot. With enough care, including variance reduction, quasi-random points and sensible corrections, the methods agreed to within a cent in the applied case, yet the uncertainty from estimating volatility dwarfed that difference. The numbers also show how unequal the tools are. Simple devices such as antithetic variates help modestly, control variates help a great deal, and scrambled Sobol' points were the only technique that improved the convergence rate itself. The Black-Scholes model does not describe real markets perfectly, and the study uses it because it supplies exact reference values, not because it claims to describe the Nigerian market. For students, the work is a thorough template for deriving, implementing and testing financial mathematics from first principles.

Frequently Asked Questions

1. What is the Black-Scholes model?

It is a mathematical model that prices options by assuming the share price follows a geometric Brownian motion. It shows that an option's payoff can be replicated by trading the share and a risk-free bond, so the premium equals the replication cost.

2. Why use Monte Carlo simulation if Black-Scholes has a formula?

The formula covers only simple contracts. For American options, Asian options, barrier options and many multi-factor contracts, no closed form exists, and Monte Carlo is the most flexible way to price them.

3. How fast does Monte Carlo converge?

Plain Monte Carlo error falls with the inverse square root of the number of paths. In the study, the fitted slope of root mean square error was -0.501, very close to the theoretical -0.5.

4. Which variance reduction method worked best?

At 16,384 paths, scrambled Sobol' points reduced mean squared error by a factor of about 26,380, far ahead of moment matching (73.9), the combined antithetic and control variate (41.1), the control variate alone (8.5) and antithetic variates alone (2.1). Only the Sobol' points improved the convergence rate.

5. What is put-call parity?

Put-call parity is a relationship linking the prices of a European call and put with the same strike and expiry to the share price and the discounted strike. In the base contract, the call (14.9758) minus the put (5.4595) equals 9.5163, which matches the share price minus the discounted strike.

6. What did the study find about American options?

The American put carried an early exercise premium of 1.097 naira over its European counterpart, and least-squares Monte Carlo approached the binomial value from below.

7. Why does discrete barrier monitoring matter?

Checking a barrier only at set dates misses crossings between dates, so a down-and-out option looks more valuable than it should. In the study, monitoring at 12 dates overstated the price by 0.70 naira, and the Broadie-Glasserman-Kou barrier shift corrected it.

8. How does hedging error behave?

The study found that discrete delta hedging error fell with a slope of -0.49 in the number of rebalancings, so more frequent rebalancing reduces the error at roughly the square-root rate.

9. Were real Nigerian market data used?

No. The applied case uses a simulated 500-day share price path with known volatility and a fixed seed, and no real Nigerian Exchange quotations were used.

10. What are the main limitations?

The model assumes constant volatility and cannot reproduce observed patterns of implied volatility, the applied data are simulated, and the timing comparisons come from a single Python implementation. The conclusions about accuracy do not depend on timing.

Purchase to unlock the full material.