Describing, manipulating and pricing financial contracts: The MLFi language

Size: px
Start display at page:

Download "Describing, manipulating and pricing financial contracts: The MLFi language"

Transcription

1 Describing, manipulating and pricing financial contracts: The MLFi language Centre for Financial Research, Judge Institute of Management Cambridge, 14 March 2003 (revised January 2005) Jean-Marc Eber LexiFi, Paris

2 Agenda The problem Goals An algebra of contracts and observables (simplified) Reasoning about contracts Managing contracts Fixings, exercise decisions Pricing contracts Stochastic process algebra Model capabilities, model implementations

3 The problem: Front-office vs back-office statements What is a Euribor 3M contract? Front-office, Quant answer: This is a forward contract. By simple arguments, it can be shown that this depends only on the price of two ZC bonds P (t, T 1 ) and P (t, T 2 ). It is therefore an (adapted) stochastic process, function of these two former processes... The maths are beautiful... For the institutional details, ask the back-office guys... Back-office answer: This is a number that is officially published on each trading day at... pm, and is available on.... Many contracts are written on it and we must track these fixings... For the maths, ask the front-office guys...

4 Some remarks about these two answers The question was: what is a... contract? The quant s answer: how to calculate its price Contract = definition of the price process as a function of simpler elements (the ZC Bonds) The back-office s answer: where to find its quote Contract = time series of daily quotes Nobody answered the question properly: give the correct definition of this forward contract! The MLFi technology aims at reconciliating these two diverging approaches...

5 Goals Allow for an exhaustive and sufficiently precise definition of (bilateral) financial contracts Financial contract specification language Systematically derive pricing and operational management from the contract s definition This derivation should itself be mathematically rigorous In particular, contract definitions should be independent from the pricing mechanism Implies the existence of a valuation model that does not depend on the contract s definition Reasoning about contracts. Is it possible, for instance, to simplify them?

6 Part I: The MLFi specification language in 20 minutes Peculiarities of the finance domain Contract and observable combinators (simplified) A compositional contract algebra: contract definitions as values Algebraic contract transformations, normal form, sharing Time-related contract analysis and simplifications From a few combinators to a whole language Market conventions, industry-specific contract libraries

7 The importance of time Time plays a crucial role: All financial contracts are strongly time-related There is a natural total order on time # let t1 = T16:00 (* ISO 8601 notation *) ;; val t1 : date = T16:00:00 # let t2 = t1 +days 20 ;; val t2 : date = T16:00:00 # t1 < t2 (* t2 is clearly later than t1 *);; - : bool = true Time (values of type date) is a built-in feature of MLFi and largely exploited for checking time consistency of contract definitions (more about that later)

8 Important facts about contract definitions A contract is defined, but......the economic consequences for its holder depend on when the contract was acquired (acquisition date): think just about a bond bought years after its issue date All elementary definition blocks will therefore be parametrised by the acquisition date Most of the time, observables are values that are unknown when the contract is being defined and are observed (fixed) later by means of an agreed-upon procedure Contracts are written on such observables Observables may have different types (float for an index, bool for a default event)

9 We present a minimalistic set of contract combinators: In real life, there will be more of them, but the principles can be explained in a limited amount of time with a subset of them!

10 Precise contract combinators val zero : contract (** [zero] is a contract that, when acquired, carries no right or obligation. *) val one : currency -> contract (** Unitary currency payout. [one k] is a contract that, when acquired, pays immediately the holder one unit of the currency [k]. *) val ( and ) : contract -> contract -> contract (** Simultaneous immediate acquisition of two contracts. To acquire [c1 and c2] is the same as acquiring [c1] and [c2]. You acquire the rights and obligations of both contracts. *)

11 val either : (string * contract) list -> contract (** Choice among many contracts. To acquire [either [(s1,c1); (s2,c2);... (si,ci);... (sn,cn)]] means having the obligation to acquire exactly one of the [ci]s immediately. The necessarily different [si]s are used for managing the contract. They provide a unique identifier for each possible choice. *) val ( or ) : (string * contract) -> (string * contract) -> contract (** Binary short notation for the [either] operator: [(s1, c1) or (s2, c2)] is equivalent to [either[(s1, c1); (s2, c2)]]. *) val scale : float observable -> contract -> contract (** Scaling a contract by an observable. If you acquire [scale o c], then you acquire [c] at the same moment, except that all of [c] s payments are multiplied by the value of the observable [o] at the moment of acquisition. *)

12 val acquire : bool observable -> contract -> contract (** Forced acquisition at entry in a region. [acquire r c] means that you must acquire [c] as soon as region [r] becomes [true]. Note the particular case [acquire {[t]} c], where [t] is a date: Because [{[t]}] denotes the trivial region that is [true] at date [t] and [false] everywhere else, acquiring [acquire {[t]} c] means acquiring [c] at [t]. *) We will only use the simplest form: acquire {[t]} c, meaning that you acquire contract c at date t.

13 Precise observable combinators Observables may be constant. ~ is a convenient notation for constant observables: # let cst obs = 150.~ ;; val cst obs : float observable = 150.~ Functions of observables are again observables:... val ( +.~ ) : float observable -> float observable -> float observable val ( -.~ ) : float observable -> float observable -> float observable val ( *.~ ) : float observable -> float observable -> float observable val ( /.~ ) : float observable -> float observable -> float observable... # let another obs = cst obs +.~ 12.~ ;; val another obs : float observable = 162.~

14 Time is observable: val time : date observable (** Time observable. [time] is the [date] observable having, at each date {t}, value {t}. *) Observables may be annotated with a market (management) identifier val market : string -> c observable -> c observable (** Named Market Observable. Observables may be used both in contact management and in pricing. A label ([id]) is given to the observable to enable contract management. The [id] label is used in all contract management operations, for example, to record fixings. The label is ignored in {pricing}: [market id o] is the same as observable [o], which serves as the pricing model s underlying variable. *)

15 A contract algebra: contract definitions as values We are used to manipulating, say, numbers and strings: # let r1 = # let r2 = "Happy" ^ " " ^ "in Cambridge" # let r3 = r1 + String.length r2 ;; val r1 : int = 17 val r2 : string = "Happy in Cambridge" val r3 : int = 35 But we can do the same kind of manipulation with contract definitions: # let c1 = one EUR # let c2 = one GBP # let c3 = c1 and c2 ;; val c1 : contract = one EUR val c2 : contract = one GBP val c3 : contract = (one EUR) and (one GBP)

16 Simple contract definition We want to specify the following contract: One has the right, on , to choose between receiving USD on , or receiving GBP on (kind of European FX-option). That s easy...

17 # let usd payment = acquire {[ ]} (scale ~ (one USD)) ;; val usd payment : contract = simple flow USD ~ # let gbp payment = acquire {[ ]} (scale ~ (one GBP)) ;; val gbp payment : contract = simple flow GBP ~ # let choice = ("first", usd payment) or ("second", gbp payment) ;; val choice : contract = ("first", simple flow USD ~) or ("second", simple flow GBP ~)

18 # let option = acquire {[ ]} choice ;; val option : contract = acquire {[ ]} (("first", simple flow USD ~) or ("second", simple flow GBP ~)) From understanding only precisely what the basic combinators (acquire, one, or,...) mean, you derive the meaning of this contract That s the idea of algebraic expressions (like (x + y)) and MLFi is doing the same for contracts! It s important to understand carefully how the acquire primitive is organizing the time-related decision and payment structure of our example contract

19 Time-related structure verification The MLFi compiler checks the coherence of a contract s time-related structure Let s return to our previous example and change it so that the option s maturity falls after the underlying payment dates: # choice;; - : contract = ("first", simple flow USD ~) or ("second", simple flow GBP ~) # let option = acquire {[ ]} choice ;; Exception: Mlfi contract.acquire incompatible horizons ( , ).

20 Algebraic contract simplifications The MLFi compiler tries to simplify contract descriptions, and to share commonalities between contract sub-parts: # let c1 = (scale 1.~ (one EUR)) and zero ;; val c1 : contract = one EUR # let c2 = ("first", (scale 3.~ ((one EUR) and (one GBP)))) or # ("second", (scale 5.~ ((one GBP) and (one EUR)))) ;; val c2 : contract = (let c3 = (one EUR) and (one GBP) in ("first", scale 3.~ c3) or ("second", scale 5.~ c3)) The system tries to represent contracts in a normalized way......but, for now, the MLFi compiler only performs simplifications that are compatible with the back-office

21 Time-related contract simplifications Time-related structure simplifications are less trivial, as they analyse a contract definition along its potential evolution through time # let c1 = gbp payment ;; val c1 : contract = simple flow GBP ~ # let c2 = acquire {[ ]} c1 ;; val c2 : contract = acquire {[ ]} (simple flow GBP ~) # normalize c2 ;; - : contract = simple flow GBP ~ The normalize function is unable to make an initial assumption about the acquisition date of its contract argument. It can only assume that the contract is acquired on an admissible date. Realistic contracts generally begin with an acquire {[...]} construct anyway, which precisely defines the beginning of the contract

22 Important to remind: some simplifications apply to contracts, others to acquired contracts!

23 From contract combinators to a contract description language We typically write functions that manipulate numbers: # let f x y z = x * (y + z) ;; val f : int -> int -> int -> int = <fun> And we can then use this function: # let r = f ;; val r : int = 16 We can do the same for contracts:

24 # let scale and o con1 con2 = scale o (con1 and con2) ;; val scale and : float observable -> contract -> contract -> contract = <fun> And use this function: # let r = scale and ~ c1 c2 ;; val r : contract = scale ~ ((one EUR) and (let c5 = (one EUR) and (one GBP) in ("first", scale 3.~ c5) or ("second", scale 5.~ c5))) There is nothing new here: all this machinery is just an easy way of easily combining contracts from simpler ones (or elementary ones)

25 Let s write a function taking as input a list of (date, float) pairs and returning the contract paying all of these amounts (in, say, GBP): # let rec gbp pays = function # [] -> zero # (t, amount) :: rest -> # (gbp pays rest) and # (acquire {[t]} # (scale (obs of float amount) (one GBP))) ;; val gbp pays : (date * float) list -> contract = <fun> and use it: # let r = gbp pays # [( , 120.); ( , 110.); ( , 150.)] ;; val r : contract = ((simple flow GBP 150.~) and (simple flow GBP 110.~)) and (simple flow GBP 120.~)

26 Product libraries, market conventions All this machinery is the basis for building realistic and complete libraries of schedule manipulations, market conventions and contract definitions: type is_business_day = date -> bool (** Returns [true] if the argument is a business day, [false] otherwise instrument cashflow : amount * date -> contract (** Acquire [amount] at date [date]. *)... val callput : callput -> contract -> amount -> period -> contract (** [callput callputflag c strike (dbegin, dend)] is the right to buy ([callputflag = Call]) or sell ([callputflag = Put]) contract [c] against payment of [strike] in time interval ([dbegin], [dend])... *)...

27 val bermudacallput : callput -> contract -> (date * amount) list -> contract (** [bermudacallput callputflag c rule]: right to buy [callputflag=call] or sell [callputflag=put] contract [c] at dates and prices specified by schedule [rule] consisting of (date, strike) pairs with increasing dates. *)... val adj_raw_schedule : raw_schedule -> is_business_day -> business_day_convention -> raw_schedule (** Returns an adjusted schedule from a given schedule by imposing the application of the business day and business day convention arguments. *)

28 Part II: Managing contracts With a good understanding of our contract combinators, we want to manage a contract over time. For exercise decisions for instance, we generalise the intuitive idea that a contract of the form (l1, c1) or (l2, c2) should reduce to c1 if: I acquired this contract, and I choose the c1 branch (by specifying label l1) Fixings are treated similarly, by replacing the unknown observable identifier by its value in the contract s definition It is fundamental to understand that such a transition returns a modified contract that represents the new rights and obligations of the holder!

29 Contract management theory: operational semantics Φ < t, acquire t c > < t, S[c] > (SimplAcquire) o konst(x) Φ < t, scale o c > < t, S[scale konst(obs t (o)) c] > (ScaleF reeze) [.,ls,t R q k] Φ < t, c > < t, c > [.,ls,t R x q k] Φ < t, scale konst(x) c > < t, S[scale konst(x) c ] > (ScaleQuant) Φ < t, c1 > e1 < t1, c1 > Φ < t, c2 > e2 < t2, c2 > Φ < t, c1 and c2 > e1 < t1, S[c1 and c2] > t1 t2 (AndLef t) Φ < t, c1 or c2 > [.,Long,XL] < t, S[c1] > (OrLef t)

30 Manage the contract For simplicity, we assume the existence of the function: val manage : contract -> manage step -> contract * managed step = <fun> manage step can represent fixings, exercise decisions, time related events, barrier crossings Remember our FX option: # option ;; - : contract = acquire {[ ]} (("first", simple flow USD ~) or ("second", simple flow GBP ~))

31 Now let s manage this contract. We first indicate an exercise decision (here the left choice available): # let after choice, step = # manage option (Mgt event( , ("", Ev exer "first"))) ;; val after choice : contract = simple flow USD ~ val step : managed step = Step event ( , ("", Ev exer "first")) Note that attempting to apply a wrong event (we are specifying an exercise date that is incompatible with the contract) results in an error: # let after choice, step = # manage option (Mgt event( , ("", Ev exer "first"))) ;; Exception: Mlfi contract.irrelevant event ( , ("", Ev exer "first")).

32 We now move the clock forward so that any due payment can be processed: # let (after pay, step) = # manage after choice (Mgt exec( )) ;; val after pay : contract = zero val step : managed step = Step exec ( , [({t acquired = ; t q = ; t treenode = ""; t given = false}, Transfer (USD, "", {flow class = Fc simple; aggregation class = 0}))]) We may also ask the system to list pending events. Let s query our initial FX option:

33 # let option calendar = calendar max int option ;; val option calendar : calendar = {pendings = [({acquired = {[ ]}; hyps = []; q = 1.~; treenode = ""; given = false}, Pending exer ["first"; "second"])]; actions = [({acquired = {[ ]}; hyps = [Hyp exer ("second", {acquired = {[ ]}; hyps = []; q = 1.~; treenode = ""; given = false})]; q = ~; treenode = ""; given = false}, Transfer (GBP, "", {flow class = Fc simple; aggregation class = 0})); ({acquired = {[ ]}; hyps = [Hyp exer ("first", {acquired = {[ ]}; hyps = []; q = 1.~; treenode = "";

34 given = false})]; q = ~; treenode = ""; given = false}, Transfer (USD, "", {flow class = Fc simple; aggregation class = 0}))]}

35 The former result shows that the argument contract has an embedded option (Pending exer in the pendings list), giving all necessary information (especially the option s maturity, here ) Forthcoming payments are identified in the actions part and clearly identified as hypothetical (their existence depends on the previous exercise decision) because their hypotheses sets (hyps) are not empty and describe precisely the decision that must be taken for the payment to occur This feature provides a powerful way of checking properties for any contract described in MLFi. For instance: A firm contract is simply defined as having no Pending exer in his pendings list Similarly, one can easily check that a given contract consists only of simple cash flows by checking that the actions part contains only Transfers with empty hyps sets

36 Part III: Pricing Pricer = f (contract, model) We define the notion of a model capabilities: What currency(ies) and underlyings (observables) does the model support? What closed forms does the model support? Closed form definitions are part of the model, not the contract! Information about the model s geometry: PDE, Monte Carlo, etc. We generate a process expression, an abstract representation of the price (stochastic) process corresponding to the contract Potential closed forms are resolved at this stage More simplifications are applied on this expression The process expression is then used to generate source code that will be linked with low level model primitives

Computational Finance Options

Computational Finance Options 1 Options 1 1 Options Computational Finance Options An option gives the holder of the option the right, but not the obligation to do something. Conversely, if you sell an option, you may be obliged to

More information

4. ANNEXURE 3 : PART 3 - FOREIGN EXCHANGE POSITION RISK

4. ANNEXURE 3 : PART 3 - FOREIGN EXCHANGE POSITION RISK Annexure 3 (PRR) - Part 3, Clause 18 - Foreign Exchange Position Risk Amount 4 ANNEXURE 3 : PART 3 - FOREIGN EXCHANGE POSITION RISK (a) CLAUSE 18 - FOREIGN EXCHANGE POSITION RISK AMOUNT (i) Rule PART 3

More information

Assignment 2: Option Pricing and the Black-Scholes formula The University of British Columbia Science One CS 2015-2016 Instructor: Michael Gelbart

Assignment 2: Option Pricing and the Black-Scholes formula The University of British Columbia Science One CS 2015-2016 Instructor: Michael Gelbart Assignment 2: Option Pricing and the Black-Scholes formula The University of British Columbia Science One CS 2015-2016 Instructor: Michael Gelbart Overview Due Thursday, November 12th at 11:59pm Last updated

More information

Important Facts Statement

Important Facts Statement Important Facts Statement Bank of China (Hong Kong) Limited Currency Linked Deposits - Option Linked Deposits Currency linked deposit 13 April 2015 This is a structured investment product which is NOT

More information

Review of Basic Options Concepts and Terminology

Review of Basic Options Concepts and Terminology Review of Basic Options Concepts and Terminology March 24, 2005 1 Introduction The purchase of an options contract gives the buyer the right to buy call options contract or sell put options contract some

More information

Important Facts Statement

Important Facts Statement Bank of China (Hong Kong) Limited Important Facts Statement Currency Linked Deposits - Premium Deposits Currency Linked Deposits 13 April 2015 This is a structured investment product which is NOT protected

More information

Introduction to Eris Exchange Interest Rate Swap Futures

Introduction to Eris Exchange Interest Rate Swap Futures Introduction to Eris Exchange Interest Rate Swap Futures Overview Eris Exchange interest rate swap futures ( Eris contracts ) have been designed to replicate the net cash flows associated with plain-vanilla,

More information

FX Domain Kick-start for Testers

FX Domain Kick-start for Testers FX Domain Kick-start for Testers A brief introduction to key FX elements. Discussion Document by Mark Crowther, Principle Test Architect Tien Hua, Senior Test Analyst Table of Contents Introduction...

More information

CFA Level -2 Derivatives - I

CFA Level -2 Derivatives - I CFA Level -2 Derivatives - I EduPristine www.edupristine.com Agenda Forwards Markets and Contracts Future Markets and Contracts Option Markets and Contracts 1 Forwards Markets and Contracts 2 Pricing and

More information

Credit Risk Stress Testing

Credit Risk Stress Testing 1 Credit Risk Stress Testing Stress Testing Features of Risk Evaluator 1. 1. Introduction Risk Evaluator is a financial tool intended for evaluating market and credit risk of single positions or of large

More information

FX Options NASDAQ OMX

FX Options NASDAQ OMX FX Options OPTIONS DISCLOSURE For the sake of simplicity, the examples that follow do not take into consideration commissions and other transaction fees, tax considerations, or margin requirements, which

More information

Lecture 4: Properties of stock options

Lecture 4: Properties of stock options Lecture 4: Properties of stock options Reading: J.C.Hull, Chapter 9 An European call option is an agreement between two parties giving the holder the right to buy a certain asset (e.g. one stock unit)

More information

P R O D U C T T R A D I N G R A T E S & C O N D I T I O N S F O R E X O P T I O N S

P R O D U C T T R A D I N G R A T E S & C O N D I T I O N S F O R E X O P T I O N S P R O D U C T T R A D I N G R A T E S & C O N D I T I O N S F O R E X O P T I O N S PRODUCT TRADING RATES & CONDITIONS FOREX OPTIONS Bid/Ask Spreads and Autoexecution The Bank is a global leader in FX

More information

An Introduction to Exotic Options

An Introduction to Exotic Options An Introduction to Exotic Options Jeff Casey Jeff Casey is entering his final semester of undergraduate studies at Ball State University. He is majoring in Financial Mathematics and has been a math tutor

More information

INTEREST RATES AND FX MODELS

INTEREST RATES AND FX MODELS INTEREST RATES AND FX MODELS 4. Convexity and CMS Andrew Lesniewski Courant Institute of Mathematical Sciences New York University New York February 20, 2013 2 Interest Rates & FX Models Contents 1 Introduction

More information

1.2 Solving a System of Linear Equations

1.2 Solving a System of Linear Equations 1.. SOLVING A SYSTEM OF LINEAR EQUATIONS 1. Solving a System of Linear Equations 1..1 Simple Systems - Basic De nitions As noticed above, the general form of a linear system of m equations in n variables

More information

Indiana State Core Curriculum Standards updated 2009 Algebra I

Indiana State Core Curriculum Standards updated 2009 Algebra I Indiana State Core Curriculum Standards updated 2009 Algebra I Strand Description Boardworks High School Algebra presentations Operations With Real Numbers Linear Equations and A1.1 Students simplify and

More information

A Static Analyzer for Large Safety-Critical Software. Considered Programs and Semantics. Automatic Program Verification by Abstract Interpretation

A Static Analyzer for Large Safety-Critical Software. Considered Programs and Semantics. Automatic Program Verification by Abstract Interpretation PLDI 03 A Static Analyzer for Large Safety-Critical Software B. Blanchet, P. Cousot, R. Cousot, J. Feret L. Mauborgne, A. Miné, D. Monniaux,. Rival CNRS École normale supérieure École polytechnique Paris

More information

Pricing complex options using a simple Monte Carlo Simulation

Pricing complex options using a simple Monte Carlo Simulation A subsidiary of Sumitomo Mitsui Banking Corporation Pricing complex options using a simple Monte Carlo Simulation Peter Fink Among the different numerical procedures for valuing options, the Monte Carlo

More information

The mark-to-market amounts on each trade cleared on that day, from trade price to that day s end-of-day settlement price, plus

The mark-to-market amounts on each trade cleared on that day, from trade price to that day s end-of-day settlement price, plus Money Calculations for CME-cleared Futures and Options Updated June 11, 2015 Variation calculations for futures For futures, mark-to-market amounts are called settlement variation, and are banked in cash

More information

Introduction to Arbitrage-Free Pricing: Fundamental Theorems

Introduction to Arbitrage-Free Pricing: Fundamental Theorems Introduction to Arbitrage-Free Pricing: Fundamental Theorems Dmitry Kramkov Carnegie Mellon University Workshop on Interdisciplinary Mathematics, Penn State, May 8-10, 2015 1 / 24 Outline Financial market

More information

Eris Interest Rate Swap Futures: Flex Contract Specifications

Eris Interest Rate Swap Futures: Flex Contract Specifications Eris Interest Rate Swap Futures: Flex Contract Specifications Trading Hours Contract Structure Contract Size Trading Conventions Swap Futures Leg Conventions Effective Date Cash Flow Alignment Date ( CFAD

More information

FX Option Solutions. FX Hedging & Investments

FX Option Solutions. FX Hedging & Investments FX Option Solutions FX Hedging & Investments Contents 1. Liability side 2 Case Study I FX Hedging Case Study II FX Hedging 2. Asset side 30 FX Deposits 1 1. Liability side Case Study I FX Hedging Long

More information

Introduction to Derivative Instruments Part 1 Link n Learn

Introduction to Derivative Instruments Part 1 Link n Learn Introduction to Derivative Instruments Part 1 Link n Learn June 2014 Webinar Participants Elaine Canty Manager Financial Advisory Deloitte & Touche Ireland ecanty@deloitte.ie +353 1 417 2991 Christopher

More information

(Refer Slide Time 00:56)

(Refer Slide Time 00:56) Software Engineering Prof.N. L. Sarda Computer Science & Engineering Indian Institute of Technology, Bombay Lecture-12 Data Modelling- ER diagrams, Mapping to relational model (Part -II) We will continue

More information

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1. MATH10212 Linear Algebra Textbook: D. Poole, Linear Algebra: A Modern Introduction. Thompson, 2006. ISBN 0-534-40596-7. Systems of Linear Equations Definition. An n-dimensional vector is a row or a column

More information

With the derivative markets having changed dramatically since the 2008 financial crisis,

With the derivative markets having changed dramatically since the 2008 financial crisis, Avoiding Collateral Surprises: Managing Multi-Currency CSAs Anna Barbashova, Numerix - 24 Jan 2013 This article explores multi-currency credit support annexes (CSAs) in the derivatives area and their potential

More information

Fixed-Income Securities. Assignment

Fixed-Income Securities. Assignment FIN 472 Professor Robert B.H. Hauswald Fixed-Income Securities Kogod School of Business, AU Assignment Please be reminded that you are expected to use contemporary computer software to solve the following

More information

The design recipe. Programs as communication. Some goals for software design. Readings: HtDP, sections 1-5

The design recipe. Programs as communication. Some goals for software design. Readings: HtDP, sections 1-5 The design recipe Readings: HtDP, sections 1-5 (ordering of topics is different in lectures, different examples will be used) Survival and Style Guides CS 135 Winter 2016 02: The design recipe 1 Programs

More information

Numerical and Algebraic Fractions

Numerical and Algebraic Fractions Numerical and Algebraic Fractions Aquinas Maths Department Preparation for AS Maths This unit covers numerical and algebraic fractions. In A level, solutions often involve fractions and one of the Core

More information

UPDATES OF LOGIC PROGRAMS

UPDATES OF LOGIC PROGRAMS Computing and Informatics, Vol. 20, 2001,????, V 2006-Nov-6 UPDATES OF LOGIC PROGRAMS Ján Šefránek Department of Applied Informatics, Faculty of Mathematics, Physics and Informatics, Comenius University,

More information

ASimpleMarketModel. 2.1 Model Assumptions. Assumption 2.1 (Two trading dates)

ASimpleMarketModel. 2.1 Model Assumptions. Assumption 2.1 (Two trading dates) 2 ASimpleMarketModel In the simplest possible market model there are two assets (one stock and one bond), one time step and just two possible future scenarios. Many of the basic ideas of mathematical finance

More information

Hedging Illiquid FX Options: An Empirical Analysis of Alternative Hedging Strategies

Hedging Illiquid FX Options: An Empirical Analysis of Alternative Hedging Strategies Hedging Illiquid FX Options: An Empirical Analysis of Alternative Hedging Strategies Drazen Pesjak Supervised by A.A. Tsvetkov 1, D. Posthuma 2 and S.A. Borovkova 3 MSc. Thesis Finance HONOURS TRACK Quantitative

More information

FORWARDS AND EUROPEAN OPTIONS ON CDO TRANCHES. John Hull and Alan White. First Draft: December, 2006 This Draft: March 2007

FORWARDS AND EUROPEAN OPTIONS ON CDO TRANCHES. John Hull and Alan White. First Draft: December, 2006 This Draft: March 2007 FORWARDS AND EUROPEAN OPTIONS ON CDO TRANCHES John Hull and Alan White First Draft: December, 006 This Draft: March 007 Joseph L. Rotman School of Management University of Toronto 105 St George Street

More information

Market Value of Insurance Contracts with Profit Sharing 1

Market Value of Insurance Contracts with Profit Sharing 1 Market Value of Insurance Contracts with Profit Sharing 1 Pieter Bouwknegt Nationale-Nederlanden Actuarial Dept PO Box 796 3000 AT Rotterdam The Netherlands Tel: (31)10-513 1326 Fax: (31)10-513 0120 E-mail:

More information

HEDGE EFFECTIVENESS TESTS FOR FOREIGN EXCHANGE DEALS

HEDGE EFFECTIVENESS TESTS FOR FOREIGN EXCHANGE DEALS HEDGE EFFECTIVENESS TESTS FOR FOREIGN EXCHANGE DEALS 1. Introduction 2. How to run hedge effectiveness tests in Bloomberg 3. Case study testing the hedge effectiveness of a FX forward hedge 4. Appendix

More information

10 PIPS SYSTEM THE 3 RD CANDLE Distributed Exclusively by Tinypipfx.com

10 PIPS SYSTEM THE 3 RD CANDLE Distributed Exclusively by Tinypipfx.com 10 PIPS SYSTEM THE 3 RD CANDLE Distributed Exclusively by Tinypipfx.com Before you start trading the 3 rd candle system, I want you to think in term of someone who has never trade forex before. This strategy

More information

Time Value of Money Dallas Brozik, Marshall University

Time Value of Money Dallas Brozik, Marshall University Time Value of Money Dallas Brozik, Marshall University There are few times in any discipline when one topic is so important that it is absolutely fundamental in the understanding of the discipline. The

More information

OVERVIEW OF THE USE OF CROSS CURRENCY SWAPS

OVERVIEW OF THE USE OF CROSS CURRENCY SWAPS OVERVIEW OF THE USE OF CROSS CURRENCY SWAPS PRACTICAL CONSIDERATIONS IVAN LARIN CAPITAL MARKETS DEPARTMENT FABDM Webinar for Debt Managers Washington, D.C. 20 th January, 2016 AGENDA 1. BASICS 2. Pre-TRADE

More information

Solving Systems of Linear Equations

Solving Systems of Linear Equations LECTURE 5 Solving Systems of Linear Equations Recall that we introduced the notion of matrices as a way of standardizing the expression of systems of linear equations In today s lecture I shall show how

More information

How To Price A Call Option

How To Price A Call Option Now by Itô s formula But Mu f and u g in Ū. Hence τ θ u(x) =E( Mu(X) ds + u(x(τ θ))) 0 τ θ u(x) E( f(x) ds + g(x(τ θ))) = J x (θ). 0 But since u(x) =J x (θ ), we consequently have u(x) =J x (θ ) = min

More information

THE FUNDAMENTAL THEOREM OF ARBITRAGE PRICING

THE FUNDAMENTAL THEOREM OF ARBITRAGE PRICING THE FUNDAMENTAL THEOREM OF ARBITRAGE PRICING 1. Introduction The Black-Scholes theory, which is the main subject of this course and its sequel, is based on the Efficient Market Hypothesis, that arbitrages

More information

Equity forward contract

Equity forward contract Equity forward contract INRODUCION An equity forward contract is an agreement between two counterparties to buy a specific number of an agreed equity stock, stock index or basket at a given price (called

More information

Investment Services Information. Security Value, Risk, Debit Money and Debit Securities

Investment Services Information. Security Value, Risk, Debit Money and Debit Securities Investment Services Information Security Value, Risk, Debit Money and Debit Securities Introduction In the Investment Services Information, DEGIRO provides the details of the contractual relation that

More information

1.2 Structured notes

1.2 Structured notes 1.2 Structured notes Structured notes are financial products that appear to be fixed income instruments, but contain embedded options and do not necessarily reflect the risk of the issuing credit. Used

More information

Certified Symbolic Management of Financial Multi-party Contracts

Certified Symbolic Management of Financial Multi-party Contracts Certified Symbolic Management of Financial Multi-party Contracts Patrick Bahr Department of Computer Science, University of Copenhagen (DIKU) Copenhagen, Denmark paba@di.ku.dk Jost Berthold Commonwealth

More information

Buy = Pay Fixed, Receive Float -or- Pay Float +/- Spread, Receive Float Sell = Receive Fixed, Pay Float -or- Receive Float +/- Spread, Pay Float

Buy = Pay Fixed, Receive Float -or- Pay Float +/- Spread, Receive Float Sell = Receive Fixed, Pay Float -or- Receive Float +/- Spread, Pay Float VIA Electronic Submission Office of the Secretariat Commodity Futures Trading Commission Three Lafayette Centre 1155 21 st Street, N.W. Washington, DC 20581 Re: Javelin SEF, LLC To Whom It May Concern,

More information

Bond Options, Caps and the Black Model

Bond Options, Caps and the Black Model Bond Options, Caps and the Black Model Black formula Recall the Black formula for pricing options on futures: C(F, K, σ, r, T, r) = Fe rt N(d 1 ) Ke rt N(d 2 ) where d 1 = 1 [ σ ln( F T K ) + 1 ] 2 σ2

More information

Setting the scene. by Stephen McCabe, Commonwealth Bank of Australia

Setting the scene. by Stephen McCabe, Commonwealth Bank of Australia Establishing risk and reward within FX hedging strategies by Stephen McCabe, Commonwealth Bank of Australia Almost all Australian corporate entities have exposure to Foreign Exchange (FX) markets. Typically

More information

Degrees of Truth: the formal logic of classical and quantum probabilities as well as fuzzy sets.

Degrees of Truth: the formal logic of classical and quantum probabilities as well as fuzzy sets. Degrees of Truth: the formal logic of classical and quantum probabilities as well as fuzzy sets. Logic is the study of reasoning. A language of propositions is fundamental to this study as well as true

More information

Is Your Financial Plan Worth the Paper It s Printed On?

Is Your Financial Plan Worth the Paper It s Printed On? T e c h n o l o g y & P l a n n i n g Is Your Financial Plan Worth the Paper It s Printed On? By Patrick Sullivan and Dr. David Lazenby, PhD www.scenarionow.com 2002-2005 ScenarioNow Inc. All Rights Reserved.

More information

Valuation of the Minimum Guaranteed Return Embedded in Life Insurance Products

Valuation of the Minimum Guaranteed Return Embedded in Life Insurance Products Financial Institutions Center Valuation of the Minimum Guaranteed Return Embedded in Life Insurance Products by Knut K. Aase Svein-Arne Persson 96-20 THE WHARTON FINANCIAL INSTITUTIONS CENTER The Wharton

More information

Draft Martin Doerr ICS-FORTH, Heraklion, Crete Oct 4, 2001

Draft Martin Doerr ICS-FORTH, Heraklion, Crete Oct 4, 2001 A comparison of the OpenGIS TM Abstract Specification with the CIDOC CRM 3.2 Draft Martin Doerr ICS-FORTH, Heraklion, Crete Oct 4, 2001 1 Introduction This Mapping has the purpose to identify, if the OpenGIS

More information

So let us begin our quest to find the holy grail of real analysis.

So let us begin our quest to find the holy grail of real analysis. 1 Section 5.2 The Complete Ordered Field: Purpose of Section We present an axiomatic description of the real numbers as a complete ordered field. The axioms which describe the arithmetic of the real numbers

More information

The new ACI Diploma. Unit 2 Fixed Income & Money Markets. Effective October 2014

The new ACI Diploma. Unit 2 Fixed Income & Money Markets. Effective October 2014 The new ACI Diploma Unit 2 Fixed Income & Money Markets Effective October 2014 8 Rue du Mail, 75002 Paris - France T: +33 1 42975115 - F: +33 1 42975116 - www.aciforex.org The new ACI Diploma Objective

More information

CHAPTER 1 Splines and B-splines an Introduction

CHAPTER 1 Splines and B-splines an Introduction CHAPTER 1 Splines and B-splines an Introduction In this first chapter, we consider the following fundamental problem: Given a set of points in the plane, determine a smooth curve that approximates the

More information

FIN-40008 FINANCIAL INSTRUMENTS SPRING 2008

FIN-40008 FINANCIAL INSTRUMENTS SPRING 2008 FIN-40008 FINANCIAL INSTRUMENTS SPRING 2008 Options These notes consider the way put and call options and the underlying can be combined to create hedges, spreads and combinations. We will consider the

More information

Inflation. Chapter 8. 8.1 Money Supply and Demand

Inflation. Chapter 8. 8.1 Money Supply and Demand Chapter 8 Inflation This chapter examines the causes and consequences of inflation. Sections 8.1 and 8.2 relate inflation to money supply and demand. Although the presentation differs somewhat from that

More information

Table of contents. 1. About the platform 3. 2. MetaTrader 4 platform Installation 4. 3. Logging in 5 - Common log in problems 5

Table of contents. 1. About the platform 3. 2. MetaTrader 4 platform Installation 4. 3. Logging in 5 - Common log in problems 5 Table of contents 1. About the platform 3 2. MetaTrader 4 platform Installation 4 3. Logging in 5 - Common log in problems 5 4. How to change your password 6 5. User Interface and Customization 7 - Toolbars

More information

Hedging Barriers. Liuren Wu. Zicklin School of Business, Baruch College (http://faculty.baruch.cuny.edu/lwu/)

Hedging Barriers. Liuren Wu. Zicklin School of Business, Baruch College (http://faculty.baruch.cuny.edu/lwu/) Hedging Barriers Liuren Wu Zicklin School of Business, Baruch College (http://faculty.baruch.cuny.edu/lwu/) Based on joint work with Peter Carr (Bloomberg) Modeling and Hedging Using FX Options, March

More information

Geoff Considine, Ph.D.

Geoff Considine, Ph.D. Google Employee Stock Options: A Case Study Part II Geoff Considine, Ph.D. Copyright Quantext, Inc. 2007 1 Employee stock option grants are available to roughly 15% of white collar workers in the U.S.

More information

Accounting for Derivatives. Rajan Chari Senior Manager rchari@deloitte.com

Accounting for Derivatives. Rajan Chari Senior Manager rchari@deloitte.com Accounting for Derivatives Rajan Chari Senior Manager rchari@deloitte.com October 3, 2005 Derivative Instruments to be Discussed Futures Forwards Options Swaps Copyright 2004 Deloitte Development LLC.

More information

Two-State Options. John Norstad. j-norstad@northwestern.edu http://www.norstad.org. January 12, 1999 Updated: November 3, 2011.

Two-State Options. John Norstad. j-norstad@northwestern.edu http://www.norstad.org. January 12, 1999 Updated: November 3, 2011. Two-State Options John Norstad j-norstad@northwestern.edu http://www.norstad.org January 12, 1999 Updated: November 3, 2011 Abstract How options are priced when the underlying asset has only two possible

More information

How the Greeks would have hedged correlation risk of foreign exchange options

How the Greeks would have hedged correlation risk of foreign exchange options How the Greeks would have hedged correlation risk of foreign exchange options Uwe Wystup Commerzbank Treasury and Financial Products Neue Mainzer Strasse 32 36 60261 Frankfurt am Main GERMANY wystup@mathfinance.de

More information

The Financial Markets Division of a Bank

The Financial Markets Division of a Bank Chapter 1 The Financial Markets Division of a Bank A bank s financial markets division carries out financial markets transactions on behalf of the bank. These transactions have to do with the various tasks

More information

TPPE17 Corporate Finance 1(5) SOLUTIONS RE-EXAMS 2014 II + III

TPPE17 Corporate Finance 1(5) SOLUTIONS RE-EXAMS 2014 II + III TPPE17 Corporate Finance 1(5) SOLUTIONS RE-EXAMS 2014 II III Instructions 1. Only one problem should be treated on each sheet of paper and only one side of the sheet should be used. 2. The solutions folder

More information

INTEREST RATE SWAPS September 1999

INTEREST RATE SWAPS September 1999 INTEREST RATE SWAPS September 1999 INTEREST RATE SWAPS Definition: Transfer of interest rate streams without transferring underlying debt. 2 FIXED FOR FLOATING SWAP Some Definitions Notational Principal:

More information

INTEREST RATE SWAP (IRS)

INTEREST RATE SWAP (IRS) INTEREST RATE SWAP (IRS) 1. Interest Rate Swap (IRS)... 4 1.1 Terminology... 4 1.2 Application... 11 1.3 EONIA Swap... 19 1.4 Pricing and Mark to Market Revaluation of IRS... 22 2. Cross Currency Swap...

More information

FX OPTIONS MARGIN MODEL SEPTEMBER 2015, SAXO BANK

FX OPTIONS MARGIN MODEL SEPTEMBER 2015, SAXO BANK F PTINS MRGIN MDEL SEPTEMER 2015, S NK F Expiry Margin Description (1/2) Calculation For a given currency pair the F Expiry Margin model calculates a potential maximum future loss in a given F option strategy

More information

Deterministic Discrete Modeling

Deterministic Discrete Modeling Deterministic Discrete Modeling Formal Semantics of Firewalls in Isabelle/HOL Cornelius Diekmann, M.Sc. Dr. Heiko Niedermayer Prof. Dr.-Ing. Georg Carle Lehrstuhl für Netzarchitekturen und Netzdienste

More information

ATF Trading Platform Manual (Demo)

ATF Trading Platform Manual (Demo) ATF Trading Platform Manual (Demo) Latest update: January 2014 Orders: market orders, limit orders (for real platform) Supported Browsers: Internet Explorer, Google Chrome, Firefox, ios, Android (no separate

More information

Application of Interest Rate Swaps in Indian Insurance Industry Amruth Krishnan Rohit Ajgaonkar Guide: G.LN.Sarma

Application of Interest Rate Swaps in Indian Insurance Industry Amruth Krishnan Rohit Ajgaonkar Guide: G.LN.Sarma Institute of Actuaries of India Application of Interest Rate Swaps in Indian Insurance Industry Amruth Krishnan Rohit Ajgaonkar Guide: G.LN.Sarma 21 st IFS Seminar Indian Actuarial Profession Serving the

More information

ON THE EMBEDDING OF BIRKHOFF-WITT RINGS IN QUOTIENT FIELDS

ON THE EMBEDDING OF BIRKHOFF-WITT RINGS IN QUOTIENT FIELDS ON THE EMBEDDING OF BIRKHOFF-WITT RINGS IN QUOTIENT FIELDS DOV TAMARI 1. Introduction and general idea. In this note a natural problem arising in connection with so-called Birkhoff-Witt algebras of Lie

More information

Math 489/889. Stochastic Processes and. Advanced Mathematical Finance. Homework 1

Math 489/889. Stochastic Processes and. Advanced Mathematical Finance. Homework 1 Math 489/889 Stochastic Processes and Advanced Mathematical Finance Homework 1 Steve Dunbar Due Friday, September 3, 2010 Problem 1 part a Find and write the definition of a ``future'', also called a futures

More information

Perspectives September

Perspectives September Perspectives September 2013 Quantitative Research Option Modeling for Leveraged Finance Part I Bjorn Flesaker Managing Director and Head of Quantitative Research Prudential Fixed Income Juan Suris Vice

More information

The Binomial Option Pricing Model André Farber

The Binomial Option Pricing Model André Farber 1 Solvay Business School Université Libre de Bruxelles The Binomial Option Pricing Model André Farber January 2002 Consider a non-dividend paying stock whose price is initially S 0. Divide time into small

More information

Chapter 7: Functional Programming Languages

Chapter 7: Functional Programming Languages Chapter 7: Functional Programming Languages Aarne Ranta Slides for the book Implementing Programming Languages. An Introduction to Compilers and Interpreters, College Publications, 2012. Fun: a language

More information

A short note on American option prices

A short note on American option prices A short note on American option Filip Lindskog April 27, 2012 1 The set-up An American call option with strike price K written on some stock gives the holder the right to buy a share of the stock (exercise

More information

Recall Holdings Limited 31 December 2013 Trading Update

Recall Holdings Limited 31 December 2013 Trading Update Document Management Solutions Secure Destruction Services Data Protection Services Recall Holdings Limited 31 December 2013 Trading Update February 19 th 2014 Presenters: CEO - Doug Pertz, CFO - Mark Wratten

More information

C(t) (1 + y) 4. t=1. For the 4 year bond considered above, assume that the price today is 900$. The yield to maturity will then be the y that solves

C(t) (1 + y) 4. t=1. For the 4 year bond considered above, assume that the price today is 900$. The yield to maturity will then be the y that solves Economics 7344, Spring 2013 Bent E. Sørensen INTEREST RATE THEORY We will cover fixed income securities. The major categories of long-term fixed income securities are federal government bonds, corporate

More information

Marketing Mix Modelling and Big Data P. M Cain

Marketing Mix Modelling and Big Data P. M Cain 1) Introduction Marketing Mix Modelling and Big Data P. M Cain Big data is generally defined in terms of the volume and variety of structured and unstructured information. Whereas structured data is stored

More information

Derivatives, Measurement and Hedge Accounting

Derivatives, Measurement and Hedge Accounting Derivatives, Measurement and Hedge Accounting IAS 39 11 June 2008 Contents Derivatives and embedded derivatives Definition Sample of products Accounting treatment Measurement Active market VS Inactive

More information

Scicos is a Scilab toolbox included in the Scilab package. The Scicos editor can be opened by the scicos command

Scicos is a Scilab toolbox included in the Scilab package. The Scicos editor can be opened by the scicos command 7 Getting Started 7.1 Construction of a Simple Diagram Scicos contains a graphical editor that can be used to construct block diagram models of dynamical systems. The blocks can come from various palettes

More information

Bond Price Arithmetic

Bond Price Arithmetic 1 Bond Price Arithmetic The purpose of this chapter is: To review the basics of the time value of money. This involves reviewing discounting guaranteed future cash flows at annual, semiannual and continuously

More information

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system 1. Systems of linear equations We are interested in the solutions to systems of linear equations. A linear equation is of the form 3x 5y + 2z + w = 3. The key thing is that we don t multiply the variables

More information

Option pricing. Vinod Kothari

Option pricing. Vinod Kothari Option pricing Vinod Kothari Notation we use this Chapter will be as follows: S o : Price of the share at time 0 S T : Price of the share at time T T : time to maturity of the option r : risk free rate

More information

EEV, MCEV, Solvency, IFRS a chance for actuarial mathematics to get to main-stream of insurance value chain

EEV, MCEV, Solvency, IFRS a chance for actuarial mathematics to get to main-stream of insurance value chain EEV, MCEV, Solvency, IFRS a chance for actuarial mathematics to get to main-stream of insurance value chain dr Krzysztof Stroiński, dr Renata Onisk, dr Konrad Szuster, mgr Marcin Szczuka 9 June 2008 Presentation

More information

Fair Valuation and Hedging of Participating Life-Insurance Policies under Management Discretion

Fair Valuation and Hedging of Participating Life-Insurance Policies under Management Discretion Fair Valuation and Hedging of Participating Life-Insurance Policies under Management Discretion Torsten Kleinow Department of Actuarial Mathematics and Statistics and the Maxwell Institute for Mathematical

More information

Introduction to Options. Derivatives

Introduction to Options. Derivatives Introduction to Options Econ 422: Investment, Capital & Finance University of Washington Summer 2010 August 18, 2010 Derivatives A derivative is a security whose payoff or value depends on (is derived

More information

S 1 S 2. Options and Other Derivatives

S 1 S 2. Options and Other Derivatives Options and Other Derivatives The One-Period Model The previous chapter introduced the following two methods: Replicate the option payoffs with known securities, and calculate the price of the replicating

More information

DERIVATIVES Presented by Sade Odunaiya Partner, Risk Management Alliance Consulting DERIVATIVES Introduction Forward Rate Agreements FRA Swaps Futures Options Summary INTRODUCTION Financial Market Participants

More information

The HIPERFIT Contract Prototype: A Fully Certified Financial Contract Engine

The HIPERFIT Contract Prototype: A Fully Certified Financial Contract Engine The HIPERFIT Contract Prototype: A Fully Certified Financial Contract Engine for Managing and Parallel Pricing of Over-the-Counter Portfolios HIPERFIT / CFIR / DIKU Business Club event June 25, 2015 Martin

More information

Options On Credit Default Index Swaps

Options On Credit Default Index Swaps Options On Credit Default Index Swaps Yunkang Liu and Peter Jäckel 20th May 2005 Abstract The value of an option on a credit default index swap consists of two parts. The first one is the protection value

More information

Chapter 20 Understanding Options

Chapter 20 Understanding Options Chapter 20 Understanding Options Multiple Choice Questions 1. Firms regularly use the following to reduce risk: (I) Currency options (II) Interest-rate options (III) Commodity options D) I, II, and III

More information

The Basics of Graphical Models

The Basics of Graphical Models The Basics of Graphical Models David M. Blei Columbia University October 3, 2015 Introduction These notes follow Chapter 2 of An Introduction to Probabilistic Graphical Models by Michael Jordan. Many figures

More information

One Period Binomial Model

One Period Binomial Model FIN-40008 FINANCIAL INSTRUMENTS SPRING 2008 One Period Binomial Model These notes consider the one period binomial model to exactly price an option. We will consider three different methods of pricing

More information

The countdown problem

The countdown problem JFP 12 (6): 609 616, November 2002. c 2002 Cambridge University Press DOI: 10.1017/S0956796801004300 Printed in the United Kingdom 609 F U N C T I O N A L P E A R L The countdown problem GRAHAM HUTTON

More information

Foreign Exchange markets and international monetary arrangements

Foreign Exchange markets and international monetary arrangements Foreign Exchange markets and international monetary arrangements Ruichang LU ( 卢 瑞 昌 ) Department of Finance Guanghua School of Management Peking University Some issues on the course arrangement Professor

More information

[Refer Slide Time: 05:10]

[Refer Slide Time: 05:10] Principles of Programming Languages Prof: S. Arun Kumar Department of Computer Science and Engineering Indian Institute of Technology Delhi Lecture no 7 Lecture Title: Syntactic Classes Welcome to lecture

More information

Nadex Multiply Your Trading Opportunities, Limit Your Risk

Nadex Multiply Your Trading Opportunities, Limit Your Risk Nadex Multiply Your Trading Opportunities, Limit Your Risk Discover a product set that: Allows you to trade in very small size (risking no more than a few dollars) Gives you the security of trading on

More information