Convenience Yield Calculator Version 1.0

Similar documents
Libor Market Model Version 1.0

Plain Vanilla - Black model Version 1.2

Template. Spread Trading Strategies: Calendar. Spread strategy.

Case Study. Autocallable bond

Tutorial. Using Stochastic Processes

Lecture 9. Basics on Swaps

Introduction. Practitioner Course: Interest Rate Models. John Dodson. February 18, 2009

The Bloomberg CDS Model

Chapter 2: BASICS OF FIXED INCOME SECURITIES

A Hybrid Commodity and Interest Rate Market Model

1.1 Implied probability of default and credit yield curves

Market interest-rate models

Forward Risk Adjusted Probability Measures and Fixed-income Derivatives

Fin 5633: Investment Theory and Problems: Chapter#15 Solutions

Model Risk Embedded in Yield-Curve Construction Methods

Valuation of Arithmetic Average of Fed Funds Rates and Construction of the US dollar Swap Yield Curve

Term Structure Lattice Models

Gallery of equations. 1. Introduction

How to Use JIBAR Futures to Hedge Against Interest Rate Risk

We consider three zero-coupon bonds (strips) with the following features: Bond Maturity (years) Price Bond Bond Bond

Problems and Solutions

DERIVATIVE SECURITIES Lecture 5: Fixed-income securities

Financial Market Introduction

1 Interest Based Instruments

FINS2624 Summary. 1- Bond Pricing. 2 - The Term Structure of Interest Rates

Monetary Economics Fixed Income Securities Term Structure of Interest Rates Gerald P. Dwyer November 2015

CHAPTER 2: STANDARD PRICING RESULTS UNDER DETERMINISTIC AND STOCHASTIC INTEREST RATES

Modelling Energy Forward Curves

SOLUTIONS 913,

Introduction to FRONT ARENA. Instruments

Forward Risk Adjusted Probability Measures and Fixed-income Derivatives

Measuring Interest Rates. Interest Rates Chapter 4. Continuous Compounding (Page 77) Types of Rates

M.I.T Fall Practice Problems

CHAPTER 15: THE TERM STRUCTURE OF INTEREST RATES

Statistics 431 Spring 2007 P. Shaman. Preliminaries

Oracle Financial Services Market Risk User Guide

One-Factor Models { 1 Key features of one-factor (equilibrium) models: { All bond prices are a function of a single state variable, the short rate. {

Interest-Sensitive Financial Instruments

Single Name Credit Derivatives

Simple Dynamic model for pricing and hedging of heterogeneous CDOs. Andrei Lopatin

Template. IRS Variabile Protetto Differenziale

MBAX Credit Default Swaps (CDS)

16. Inflation-Indexed Swaps

Financial Derivatives Section 1

Help Session 2. David Sovich. Washington University in St. Louis

FIXED INCOME I EXERCISES

Institute of Actuaries of India. Subject. ST6 Finance and Investment B. For 2018 Examinationspecialist Technical B. Syllabus

Building a Zero Coupon Yield Curve

INTEREST RATES AND FX MODELS

Forward Contracts. Bjørn Eraker. January 12, Wisconsin School of Business

MSC FINANCIAL ENGINEERING PRICING I, AUTUMN LECTURE 6: EXTENSIONS OF BLACK AND SCHOLES RAYMOND BRUMMELHUIS DEPARTMENT EMS BIRKBECK

Contents. 3 FIXED-INCOME SECURITIES VALUATION Introduction Bond Valuation Introduction... 32

Introduction to Financial Mathematics

Operational Risk. Robert Jarrow. September 2006

Credit Default Swap Pricing based on ISDA Standard Upfront Model

3.4 Copula approach for modeling default dependency. Two aspects of modeling the default times of several obligors

Term Structure of Interest Rates

1. Parallel and nonparallel shifts in the yield curve. 2. Factors that drive U.S. Treasury security returns.

Lattice (Binomial Trees) Version 1.2

Introduction to Financial Mathematics

IMPA Commodities Course : Forward Price Models

Discrete time interest rate models

25. Interest rates models. MA6622, Ernesto Mordecki, CityU, HK, References for this Lecture:

Crashcourse Interest Rate Models

State processes and their role in design and implementation of financial models

Section 1: Advanced Derivatives

Mathematics of Financial Derivatives

Assignment 2. MGCR 382 International Business. Fall 2015

Mathematics of Financial Derivatives. Zero-coupon rates and bond pricing. Lecture 9. Zero-coupons. Notes. Notes

Fixed-Income Analysis. Solutions 5

Option Models for Bonds and Interest Rate Claims

Introduction to credit risk

Heston Model Version 1.0.9

Introduction to Bond Markets

Lecture Notes 18: Review Sample Multiple Choice Problems

Fixed Income and Risk Management

Financial Engineering with FRONT ARENA

Derivatives: part I 1

due Saturday May 26, 2018, 12:00 noon

To apply SP models we need to generate scenarios which represent the uncertainty IN A SENSIBLE WAY, taking into account

The Information Content of the Yield Curve

Foundations of Finance

MORNING SESSION. Date: Wednesday, April 30, 2014 Time: 8:30 a.m. 11:45 a.m. INSTRUCTIONS TO CANDIDATES

Forwards, Swaps, Futures and Options

1 Unemployment Insurance

VALUING CREDIT DEFAULT SWAPS I: NO COUNTERPARTY DEFAULT RISK

ANALYTICAL FINANCE II Floating Rate Notes, fixed coupon bonds and swaps

Finance & Stochastic. Contents. Rossano Giandomenico. Independent Research Scientist, Chieti, Italy.

Spot/Futures coupled model for commodity pricing 1

Inflation-Linked Products 20. February 2007 Claus Madsen

fig 3.2 promissory note

Statistical Models and Methods for Financial Markets

A Structural Model for Interconnected Electricity Markets

Econ 8602, Fall 2017 Homework 2

Fixed-Income Analysis. Assignment 5

The Fixed Income Valuation Course. Sanjay K. Nawalkha Gloria M. Soto Natalia A. Beliaeva

Market Price of Longevity Risk for A Multi-Cohort Mortality Model with Application to Longevity Bond Option Pricing

Dynamic Relative Valuation

Academy Interest Rate Generator: Frequently Asked Questions (FAQ) April 2012

Arbeitsgruppe Stochastik. PhD Seminar: HJM Forwards Price Models for Commodities. M.Sc. Brice Hakwa

Transcription:

Convenience Yield Calculator Version 1.0 1 Introduction This plug-in implements the capability of calculating instantaneous forward price for commodities like Natural Gas, Fuel Oil and Gasoil. The deterministic forward price model is calibrated starting from an input matrix of futures prices and other market data and specifications. 2 How to use the plug-in In the Fairmat user interface under the parameter and symbols you ll find, under the category Transformations, the Convenience Yield Calculator which provides a way to calculate, as a function of several input, the convenience yield of Natural Gas, Fuel Oil and Gasoil. Convenience Yield Calculator is defined by the following input parameters which may be also expressed as other Fairmat project parameters: Futures Matrix: a matrix that contains the start dates, end dates and relative futures prices of commodity; Zero Rate Curve: an interpolated function that contains dates and level of risk-free curve defined in the same currency of futures prices; Working days: the number of days to be considered for calculation of dates in year fraction; Spot price: the constant that identifies the spot price of the modelled commodity. Figure 1 shows an input form which specifies a convenience yield function from the input listed above. The resulting convenience yield can be used in Fairmat expressions as a user defined function. The plug-in also defines functions which take a convenience yield function as one of their arguments: The function CommodityForward calculates the forward prices at Valuation Date (t 0 ). It is expressed in Fairmat language as follows: CommodityForward(@CV;@zr;T); 1

2 How to use the plug-in Figure 1: Example: convenience yield calculator input form. where: CommodityForward(@CV;@zr;T;@HistPrice); CV is the convenience yield of underlying commodity, defined using the Convenience Yield Calculator ; zr is the zero rate curve, which must be defined in the same currency of the commodity (it is need to calculate the discount factor); T is the delivery date; HistPrice is a function representing the commodity historical prices time series. Furthermore the function CommodityForwardIst which is used to calculate a instantaneous forward with, continuous delivery, into a delivery period [T s, T e ] at a defined date t. It is expressed in Fairmat language as follows: where: CommodityForwardIst(@CV;@zr;t;Ts;Te); CommodityForwardIst(@CV;@zr;t;Ts;Te;@HistPrice); CV is the convenience yield of the underlying commodity defined using the Convenience Yield Calculator ; zr is the zero rate curve, which must be defined in the same currency of the commodity (it is need to calculate the discount factor); 2

2 How to use the plug-in t is the starting date used to calculate the instantaneous forward and refers to the delivery period [T s, T e ]; Ts is the start date where begins the delivery period; Te is the end date that defined the end of delivery period; HistPrice is a function representing the commodity historical prices time series. As it can be noticed in Figure 2, these two functions can be used into option map expressions either in a single payment leg or in a sequence of payments (option strip block). (a) CommodityForward function (b) CommodityForwardIst function Figure 2: Example: use of CommodityForward and CommodityForwardIst in an option map block. 3

4 Implementation Details 3 Fairmat Example As Case Study, we have implemented a simple contract based on the weighting of Fuel Oil and Natural Gas price averages. In particular, the price of this contract is the weighted sum of the average of Fuel Oil monthly price, reset into previous 9 months and of the average price of daily spot price of Natural Gas reset into previous 3 months plus a Spread. The delivery period is settled every 3 months and the contract maturity is 3 years. The Fairmat example for the contract can be downloaded from the following link http://www.fairmat.com/resources/view/convenience-yield-calculator-example. 4 Implementation Details 4.1 Bootstrapping of non overlapping forwards We denote F (t, T j s, T j e ) the forward price at t of contract j for delivery of the commodity uniformly from the starting date T j s to the ending date T j e at a rate of one unit per day, for j = 1,..., J. In case of which the settlement periods [T j s, T j e ] of the different contracts traded on a given commodity are overlapping, by bootstrapping on the existing traded contracts, we determine the prices of forward contracts on non overlapping time intervals. For example, given two contracts F (t 0, T 1 s, T 1 e ) and F (t 0, T 2 s, T 2 e ) such that T 1 s < T 2 s < T 1 e < T 2 e. In this case we define a vector of dates (t 0, t 1, t 2, t 3, t 4 ) = (t 0, T 1 s, T 2 s, T 1 e, T 2 e ) and using bootstrap with come up with a set of forward prices {F (t 0, t i, t i+1 ), i = 1, 2, 3} whose settlement periods are not overlapping, and satisfy the following no arbitrage conditions F (t 0, T 1 s, T 1 e ) = t 2 t 1 t 3 t 1 F (t 0, t 1, t 2 ) + t 3 t 2 t 3 t 1 F (t 0, t 2, t 3 ) F (t 0, T 2 s, T 2 e ) = t 3 t 2 t 4 t 2 F (t 0, t 2, t 3 ) + t 4 t 3 t 4 t 2 F (t 0, t 3, t 4 ). By extending the same idea to all J forward contracts, a vector of dates t 0, t 1,..., t n and the set of prices {F (t 0, t i, t i+1 ), i = 1,..., n 1} The main is coverage all periods from the first start date to the last end date of future prices. 4

4 Implementation Details 4.2 Defining the model Given forward price for delivery at date s as where S t = f(t, t) is the spot price; e y(t,t1,t2)(s t) f(t, s) = S t, (1) B(t, s) B(t, s) is the price at t of a zero coupon bond maturing at s; y(t, T 1, T 2 ) is the net convenience yield (i.e., the convenience yield net of the storage cost) implicit in the quoted forward price at t for delivery in the interval [T 1, T 2 ]. Given the futures prices with uniform delivery within an interval, the plugin derive the forward prices for delivery in a specific date or sub period (e.g., a week), as detailed here below. Dividing the settlement interval, say [T 1, T 2 ], into a integer number of days (or weeks, or other equal sub periods) under no arbitrage hypothesis, where F (t, T 1, T 2 ) = 1 A(t, T 1, T 2 ) A(t, T 1, T 2 ) = T 2 T 2 s=t 1 B(t, s)f(t, s), (2) s=t 1 B(t, s) is the value of a constant annuity paying $1 a day (or sub-period) from T 1 to T 2, and f(t, s) is the forward price at t for one unit of the commodity delivered at s. Using this definition of the forward price into equation (2), we can related the quoted forward prices to convenience yields: F (t, T 1, T 2 ) = S t 1 A(t, T 1, T 2 ) T 2 s=t 1 e y(t,t1,t2)(s t). The Convenience Yield Calculator resolve this equation it numerically for y(t, T 1, T 2 ). 4.3 Instantaneous Forward Calculation The plug-in provide to calculate the instantaneous forward of a commodity with a continuous delivery. Assuming that forward prices are martingales under the risk neutral probability as E 0 [f(t, s)] = f(t 0, s), 5

4 Implementation Details where f(t 0, s) can be calculated using the convenience yields in (??) and equation (1) for t = t 0. Assuming no correlation between the commodity price and the interest rates, we have E 0 [F (t, T i, T i+1 )] = T 1 i+1 B 0 (t, s)e 0 [f(t, s)] A 0 (t, T i, T i+1 ) s=t i = T 1 i+1 B 0 (t, s)f(t 0, s), A 0 (t, T i, T i+1 ) s=t i where B 0 (t, s) = B(t 0, s)/b(t 0, t) is the price of a zero coupon bond at t with maturity in s, calculated using the forward zero rates implicit in the zero rate curve observed at t 0, and A 0 (t, T i, T i+1 ) = T i+1 s=t i B 0 (t, s) is the annuity calculated using such zero coupon prices, for s ranging from T i to T i+1. 6