Skip to content

Forecasting the performance of an asset and quantifying the uncertainty associated with such a forecast is a difficult task: one that is frequently made more difficult by a shortage of observed market data. This example illustrates one approach for creating a price forecast based on option price data.

License

Notifications You must be signed in to change notification settings

mathworks/estimating-option-implied-probability-distributions-for-asset-pricing

Repository files navigation

Estimating Option-Implied Probability Distributions for Asset Pricing

View Estimating Option-Implied Probability Distributions for Asset Pricing on File Exchange

Open in MATLAB Online

Forecasting the performance of an asset and quantifying the uncertainty associated with such a forecast is a difficult task: one that is frequently made more difficult by a shortage of observed market data.

Recently, there has been interest from central banks in using observed option price data for creating forecasts, particularly during periods of financial uncertainty. Call and put options on an asset are influenced by how the market believes that asset will perform in the future.

This code, along with the corresponding technical article, describes a workflow in which MATLAB® is used to create a forecast for the performance of an asset, starting with relatively scarce option price data observed from the market.

The main steps in this workflow are:

  • Computing implied volatility from market data
  • Creating additional data points using SABR interpolation
  • Estimating implied probability densities
  • Simulating future asset prices
  • Presenting the forecast uncertainty in a fan chart

Installation and Getting Started

The examples are provided in a MATLAB project.

  1. Double-click on the project archive (Options.mlproj) to extract it using MATLAB.
  2. With MATLAB open, navigate to the newly-created project folder and double-click on the project file (Options.prj) to open the project.
  3. The main example file is the live script DistributionsForAssetPricing.mlx within the project.
  4. The examples rely on simulated option price data created by the function generateSampleOptionData.mlx.

MathWorks® Product Requirements

This example was updated using MATLAB release R2022b.

License

The license for this entry is available in the license.txt file in this GitHub repository.

Copyright 2015-2023 The MathWorks, Inc.

Community Support

MATLAB Central

About

Forecasting the performance of an asset and quantifying the uncertainty associated with such a forecast is a difficult task: one that is frequently made more difficult by a shortage of observed market data. This example illustrates one approach for creating a price forecast based on option price data.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published