Price options on futures and forwards using Black option pricing model (2024)

Price options on futures and forwards using Black option pricing model

collapse all in page

Syntax

Price = optstockbyblk(RateSpec,StockSpec,Settle,Maturity,OptSpec,Strike)

Price = optstockbyblk(___,Name,Value)

Description

example

Price = optstockbyblk(RateSpec,StockSpec,Settle,Maturity,OptSpec,Strike) computes option prices on futures or forward using the Black option pricing model.

Note

optstockbyblk calculates option prices on futures and forwards. If ForwardMaturity is not passed, the function calculates prices of future options. If ForwardMaturity is passed, the function computes prices of forward options. This function handles several types of underlying assets, for example, stocks and commodities. For more information on the underlying asset specification, see stockspec.

example

Price = optstockbyblk(___,Name,Value) adds an optional name-value pair argument for ForwardMaturity to compute option prices on forwards using the Black option pricing model.

Examples

collapse all

Compute Option Prices on Futures Using the Black Option Pricing Model

Open Live Script

This example shows how to compute option prices on futures using the Black option pricing model. Consider two European call options on a futures contract with exercise prices of $20 and $25 that expire on September 1, 2008. Assume that on May 1, 2008 the contract is trading at $20, and has a volatility of 35% per annum. The risk-free rate is 4% per annum. Using this data, calculate the price of the call futures options using the Black model.

Strike = [20; 25];AssetPrice = 20;Sigma = .35;Rates = 0.04;Settle = datetime(2008,5,1);Maturity = datetime(2008,9,1);% define the RateSpec and StockSpecRateSpec = intenvset('ValuationDate', Settle, 'StartDates', Settle,... 'EndDates', Maturity, 'Rates', Rates, 'Compounding', -1);StockSpec = stockspec(Sigma, AssetPrice);% define the call optionsOptSpec = {'call'};Price = optstockbyblk(RateSpec, StockSpec, Settle, Maturity,...OptSpec, Strike)
Price = 2×1 1.5903 0.3037

Compute Option Prices on a Forward

Open Live Script

This example shows how to compute option prices on forwards using the Black pricing model. Consider two European options, a call and put on the Brent Blend forward contract that expires on January 1, 2015. The options expire on October 1, 2014 with an exercise price of $200 and $90 respectively. Assume that on January 1, 2014 the forward price is at $107, the annualized continuously compounded risk-free rate is 3% per annum and volatility is 28% per annum. Using this data, compute the price of the options.

Define the RateSpec.

ValuationDate = datetime(2014,1,1);EndDates = datetime(2015,1,1);Rates = 0.03;Compounding = -1;Basis = 1;RateSpec = intenvset('ValuationDate', ValuationDate, ...'StartDates', ValuationDate, 'EndDates', EndDates, 'Rates', Rates,....'Compounding', Compounding, 'Basis', Basis')
RateSpec = struct with fields: FinObj: 'RateSpec' Compounding: -1 Disc: 0.9704 Rates: 0.0300 EndTimes: 1 StartTimes: 0 EndDates: 735965 StartDates: 735600 ValuationDate: 735600 Basis: 1 EndMonthRule: 1

Define the StockSpec.

AssetPrice = 107;Sigma = 0.28;StockSpec = stockspec(Sigma, AssetPrice);

Define the options.

Settle = datetime(2014,1,1);Maturity = datetime(2014,10,1); %Options maturityStrike = [200;90];OptSpec = {'call'; 'put'};

Price the forward call and put options.

ForwardMaturity = 'Jan-1-2015'; % Forward contract maturityPrice = optstockbyblk(RateSpec, StockSpec, Settle, Maturity, OptSpec, Strike,...'ForwardMaturity', ForwardMaturity)
Price = 2×1 0.0535 3.2111

Compute the Option Price on a Future

Open Live Script

Consider a call European option on the Crude Oil Brent futures. The option expires on December 1, 2014 with an exercise price of $120. Assume that on April 1, 2014 futures price is at $105, the annualized continuously compounded risk-free rate is 3.5% per annum and volatility is 22% per annum. Using this data, compute the price of the option.

Define the RateSpec.

ValuationDate = datetime(2014,1,1);EndDates = datetime(2015,1,1);Rates = 0.035;Compounding = -1;Basis = 1;RateSpec = intenvset('ValuationDate', ValuationDate, 'StartDates', ValuationDate,...'EndDates', EndDates, 'Rates', Rates, 'Compounding', Compounding, 'Basis', Basis')
RateSpec = struct with fields: FinObj: 'RateSpec' Compounding: -1 Disc: 0.9656 Rates: 0.0350 EndTimes: 1 StartTimes: 0 EndDates: 735965 StartDates: 735600 ValuationDate: 735600 Basis: 1 EndMonthRule: 1

Define the StockSpec.

AssetPrice = 105;Sigma = 0.22;StockSpec = stockspec(Sigma, AssetPrice)
StockSpec = struct with fields: FinObj: 'StockSpec' Sigma: 0.2200 AssetPrice: 105 DividendType: [] DividendAmounts: 0 ExDividendDates: []

Define the option.

Settle = datetime(2014,4,1);Maturity = datetime(2014,12,1); Strike = 120;OptSpec = {'call'};

Price the futures call option.

Price = optstockbyblk(RateSpec, StockSpec, Settle, Maturity, OptSpec, Strike)
Price = 2.5847

Input Arguments

collapse all

RateSpecInterest-rate term structure
structure

Interest-rate term structure (annualized and continuously compounded), specified by the RateSpec obtained from intenvset. For information on the interest-rate specification, see intenvset.

Data Types: struct

StockSpecStock specification for underlying asset
structure

Stock specification for the underlying asset. For information on the stock specification, see stockspec.

stockspec handles several types of underlying assets. For example, for physical commodities the price is StockSpec.Asset, the volatility is StockSpec.Sigma, and the convenience yield is StockSpec.DividendAmounts.

Data Types: struct

SettleSettlement or trade date
datetime array | string array | date character vector

Settlement or trade date, specified as a NINST-by-1 vector using a datetime array, string array, or date character vectors.

To support existing code, optstockbyblk also accepts serial date numbers as inputs, but they are not recommended.

MaturityMaturity date for option
datetime array | string array | date character vector

Maturity date for option, specified as a NINST-by-1 vector using a datetime array, string array, or date character vectors.

To support existing code, optstockbyblk also accepts serial date numbers as inputs, but they are not recommended.

OptSpecDefinition of option
cell array of character vectors with values 'call' or 'put'

Definition of the option as 'call' or 'put', specified as a NINST-by-1 cell array of character vectors with values 'call' or 'put'.

Data Types: cell

StrikeOption strike price value
nonnegative vector

Option strike price value, specified as a nonnegative NINST-by-1 vector.

Data Types: double

Name-Value Arguments

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Before R2021a, use commas to separate each name and value, and enclose Name in quotes.

Example: Price = optstockbyblk(RateSpec,StockSpec,Settle,Maturity,OptSpec,Strike,'ForwardMaturity',ForwardMaturity)

ForwardMaturityMaturity date or delivery date of forward contract
Maturity of option (default) | date character vector

Maturity date or delivery date of forward contract, specified as the comma-separated pair consisting of 'ForwardMaturity' and a NINST-by-1 vector using date character vectors.

To support existing code, optstockbyblk also accepts serial date numbers as inputs, but they are not recommended.

Output Arguments

collapse all

Price — Expected option prices
vector

Expected option prices, returned as a NINST-by-1 vector.

More About

collapse all

Futures Option

A futures option is a standardized contract between two parties to buy or sell a specified asset of standardized quantity and quality for a price agreed upon today (the futures price) with delivery and payment occurring at a specified future date, the delivery date.

The futures contracts are negotiated at a futures exchange, which acts as an intermediary between the two parties. The party agreeing to buy the underlying asset in the future, the "buyer" of the contract, is said to be "long," and the party agreeing to sell the asset in the future, the "seller" of the contract, is said to be "short."

A futures contract is the delivery of item J at time T and:

  • There exists in the market a quoted price F(t,T), which is known as the futures price at time t for delivery of J at time T.

  • The price of entering a futures contract is equal to zero.

  • During any time interval [t,s], the holder receives the amount F(s,T)F(t,T) (this reflects instantaneous marking to market).

  • At time T, the holder pays F(T,T) and is entitled to receive J. Note that F(T,T) should be the spot price of J at time T.

For more information, see Futures Option.

Forwards Option

A forwards option is a non-standardized contract between two parties to buy or to sell an asset at a specified future time at a price agreed upon today.

The buyer of a forwards option contract has the right to hold a particular forward position at a specific price any time before the option expires. The forwards option seller holds the opposite forward position when the buyer exercises the option. A call option is the right to enter into a long forward position and a put option is the right to enter into a short forward position. A closely related contract is a futures contract. A forward is like a futures in that it specifies the exchange of goods for a specified price at a specified future date.

The payoff for a forwards option, where the value of a forward position at maturity depends on the relationship between the delivery price (K) and the underlying price (ST) at that time, is:

  • For a long position: fT=STK

  • For a short position: fT=KST

For more information, see Forwards Option.

Version History

Introduced in R2008b

expand all

Open Example

You have a modified version of this example. Do you want to open this example with your edits?

MATLAB Command

You clicked a link that corresponds to this MATLAB command:

 

Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.

Price options on futures and forwards using Black option pricingmodel (1)

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

Americas

Europe

Asia Pacific

Contact your local office

I am an expert in financial derivatives and quantitative finance, specializing in the pricing of options on futures and forwards. My expertise is grounded in a strong understanding of mathematical models, particularly the Black option pricing model, which is widely used in the industry to value financial derivatives.

In the context of the provided MATLAB code snippet, the optstockbyblk function is used to compute option prices on futures and forwards using the Black option pricing model. This model is named after Fischer Black, one of its developers, and is widely used for valuing European options on various underlying assets, including stocks, commodities, and futures.

Let's break down the key concepts and parameters used in the provided MATLAB code:

  1. RateSpec (Interest-rate term structure):

    • RateSpec represents the interest-rate term structure, including the valuation date, start dates, end dates, interest rates, compounding method, etc.
    • It is created using the intenvset function.
  2. StockSpec (Stock specification for underlying asset):

    • StockSpec represents the specification for the underlying asset, including volatility, asset price, dividend information, etc.
    • It is created using the stockspec function.
  3. Settle and Maturity:

    • Settle is the settlement or trade date, and Maturity is the maturity date for the option.
  4. OptSpec (Option specification):

    • OptSpec is a cell array of character vectors defining the type of option, either 'call' or 'put'.
  5. Strike:

    • Strike is a vector representing the strike prices for the options.
  6. ForwardMaturity (optional):

    • ForwardMaturity is an optional parameter specifying the maturity date or delivery date of the forward contract. If provided, it computes prices of forward options; otherwise, it calculates prices of future options.
  7. Price:

    • Price is the output representing the expected option prices, returned as a vector.

The examples provided demonstrate how to use the optstockbyblk function to compute option prices on futures and forwards for different scenarios, such as European call options on futures, options on forwards, and futures call options.

This MATLAB function is a powerful tool for derivative pricing, and its usage aligns with standard practices in quantitative finance. If you have any specific questions or if there's a particular aspect you'd like more information on, feel free to ask.

Price options on futures and forwards using Black option pricing
model (2024)

FAQs

Can you use Black-Scholes for futures? ›

The Black model (sometimes known as the Black-76 model) is a variant of the Black–Scholes option pricing model. Its primary applications are for pricing options on future contracts, bond options, interest rate cap and floors, and swaptions.

What is the black model of options on futures? ›

Black's Model, also known as the Black 76 Model, is a versatile derivatives pricing model for valuing assets such as options on futures and capped variable rate debt securities. The model was developed by Fischer Black by elaborating on the earlier and more well-known Black-Scholes-Merton options pricing formula.

What is the black formula for option pricing? ›

Black and Scholes [1] use an arbitrage argument to derive a formula for option pricing. The risk-free asset has the constant return rdt. s = (r+µ) dt +σ dz. The stock pays no dividend, so this expression is the return on the stock.

Is Black-Scholes only for call options? ›

Definition: Black-Scholes is a pricing model used to determine the fair price or theoretical value for a call or a put option based on six variables such as volatility, type of option, underlying stock price, time, strike price, and risk-free rate.

What are the limitations of Black-Scholes? ›

As a result, the Black-Scholes model may not accurately price options in volatile markets. Another limitation of the Black-Scholes model is that it assumes that the underlying asset follows a log-normal distribution. This assumption may not hold true in all cases.

What is the Black-Scholes option pricing model simplified? ›

The Black-Scholes formula expresses the value of a call option by taking the current stock prices multiplied by a probability factor (D1) and subtracting the discounted exercise payment times a second probability factor (D2).

What is the difference between black and Black-Scholes? ›

Can we say that Black Scholes is not only for equity stock options but black's model is for options in future, bond and also covers stocks as well. Black-Scholes-Merton is for options on stocks, and I suspect that it works well for options on commodities as well.

How to use the Black-Scholes model? ›

The Black Scholes formula estimates the value of a call option by multiplying the current stock prices by a probability factor (D1) and then subtracting from it the product of discounted exercise payment time and a second probability factor (D2). D1 is the cumulative standard normal probability distribution function.

When to use the Black-Scholes model? ›

The Black-Scholes model is only used to price European options and does not take into account that American options could be exercised before the expiration date. Moreover, the model assumes dividends, volatility, and risk-free rates remain constant over the option's life.

Is the Black-Scholes model still used? ›

Today, options trading is still based on Black and Scholes' principle of dynamic hedging, and their formula, although no longer used directly, provides a common language for expressing more complex ideas.

What is Black-Scholes pricing assumption? ›

Assumptions of the Black-Scholes-Merton model:

Stock prices are log-normally distributed whereas stock returns are normally distributed. The continuous risk-free rate is constant, known, and available for borrowing and lending always.

Is there a Black Scholes formula for American options? ›

Otherwise, traders should only use the Black-Scholes model for trading European non-dividend-paying stocks. The Black-Scholes model also does not account for the early exercise of American options. In reality, few options (such as long put positions) do qualify for early exercises, based on market conditions.

Can you use the VWAP for futures trading? ›

Order Flow VWAP trading is a powerful strategy that can help you make money trading futures markets. This strategy is easy to use and can be applied to most other markets too. Understanding market forces pre-, during and post-trade is a critical key to becoming a better trader.

Can you do options on futures? ›

Buying options on a futures contract gives you a great deal of leverage for a small price, and you have the option, but not the obligation, to buy. You don't have to have the margin in place to buy options on a futures contract, and your loss is limited to the premium no matter what direction the underlying moves.

Can I trade futures with 500? ›

Some small futures brokers offer accounts with a minimum deposit of $500 or less, but some of the better-known brokers that offer futures will require minimum deposits of as much as $5,000 to $10,000.

Can we hedge futures with options? ›

Please note that hedging Futures' Risk with options depends on market situation, your risk taking capacity and the amount of your investment. Generally People believe if you long Futures can be hedged with Long Put or short call and short Futures can be hedged with Long Call or Short Put.

Top Articles
Latest Posts
Article information

Author: Lakeisha Bayer VM

Last Updated:

Views: 5403

Rating: 4.9 / 5 (49 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Lakeisha Bayer VM

Birthday: 1997-10-17

Address: Suite 835 34136 Adrian Mountains, Floydton, UT 81036

Phone: +3571527672278

Job: Manufacturing Agent

Hobby: Skimboarding, Photography, Roller skating, Knife making, Paintball, Embroidery, Gunsmithing

Introduction: My name is Lakeisha Bayer VM, I am a brainy, kind, enchanting, healthy, lovely, clean, witty person who loves writing and wants to share my knowledge and understanding with you.