Enhancements for server-side Price to Yield - will need to add a root finder –High yield bonds are not usually spread-priced. –We still want to know what.

Slides:



Advertisements
Similar presentations
Bond Valuation Chapter 8.
Advertisements

Aladdin Overview *************************** NOTICE ************************* PROPRIETARY AND CONFIDENTIAL MATERIAL. DISTRIBUTION, USE, AND DISCLOSURE.
Chapter 13 Review Questions
Excel Financial Modeling Day 1 Nick Crain. Students in this class… Beginners – Want introduction of excel functionality – Really this is covered by the.
Chapter 2 Pricing of Bonds.
Interest Rate Markets Chapter 5. Chapter Outline 5.1 Types of Rates 5.2Zero Rates 5.3 Bond Pricing 5.4 Determining zero rates 5.5 Forward rates 5.6 Forward.
Treasury bond futures: pricing and applications for hedgers, speculators, and arbitrageurs Galen Burghardt Taifex/Taiwan 7 June 2004.
Bond Pricing Fundamentals. Valuation What determines the price of a bond? –Contract features: coupon, face value (FV), maturity –Risk-free interest rates.
Bond Price, Yield, Duration Pricing and Yield Yield Curve Duration Immunization.
6- 1 McGraw Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All rights reserved Fundamentals of Corporate Finance Sixth Edition Richard.
Quiz #3 7/11/13 Econ 173A Scenario What would you pay for a U.S. Treasury Bond with the following features? Matures 7/11/23 Coupon rate 6.75% paid annually.
Chapter 3 Measuring Yield.
I.N. Vestor is the top plastic surgeon in Tennessee. He has $10,000 to invest at this time. He is considering investing in Frizzle Inc. What factors will.
2-1 Copyright © 2006 McGraw Hill Ryerson Limited prepared by: Sujata Madan McGill University Fundamentals of Corporate Finance Third Canadian Edition.
Chapter 11 Bond Yields and Prices. Learning Objectives Calculate the price of a bond. Explain the bond valuation process. Calculate major bond yield measures,
FRM Zvi Wiener Following P. Jorion, Financial Risk Manager Handbook Financial Risk Management.
Upcoming deliverables for remainder of semester - to Dec 14 Nov 30th: Second quiz –To cover the remainder of MMM (chapter 13 to end). Dec 7th: Third and.
YTM - Pricing a Zero Coupon. Indirection, Polymorphism, Data Abstraction -How to handle a heterogeneous mix? -Coupon-bearing -Zero Coupon -What does data-driven.
Finance Computing Projects - Dec 7 Second and final Quiz on MMM Requirements questions answered Final instructor evaluation Class feedback: How could this.
Upcoming deliverables for remainder of semester - to Dec 14 Nov 18th (Wednesday): “book” data file will be uploaded to class site –A second file will contain.
Chapter 5 – Bonds and Bond Pricing  Learning Objectives  Apply the TVM Equations in bond pricing  Understand the difference between annual bonds and.
YTM - Frequency Parameterized. YTM - Pricing a Zero Coupon.
FRM Zvi Wiener Following P. Jorion, Financial Risk Manager Handbook Financial Risk Management.
Enhancements to server-side Pricing “Modes” spread, yield, price - when are they used? VaR of the book Expected vs Potential Confidence interval, “holding.
Now we build a server from our executable Server-side: –Executable –Heavyweight process that stays up –Library (e.g, excel add-in) –Add a message set (will.
Credit Risk - Market Risk Credit Risk is the risk of the other side not paying! How do we typically measure it? How do we manage it? –Pledged collateral,
Deliverables for Oct 5 -Download our “living spec” prototype spreadsheet (ytm_sheet.xls). -Commence working as teams -9 students divided into 4 teams of.
Review of the Major Risk Types Market Risk –Sensitivity to the parameters of our pricing functions Credit Risk –Probability that the other side fails to.
Yield To Maturity Formula
Bonds are typically priced “relative” Generally: Lower quality is priced relative to higher quality Lower liquidity is priced relative to higher liquidity.
Introduction to Credit Risk Credit Risk vs Market Risk Credit Risk is the risk of the other side not paying! This is a “default”… –Failure to pay an interest.
Our market “risk” Measure Position adjusted sensitivity using 1 basis point change Example of “bond risk”: Price (pv): (that’s a total amount.
Bonds Prices and Yields. Bonds  Corporations and government entities can raise capital by selling bonds  Long term liability (accounting)  Debt capital.
Fabozzi: Investment Management Graphics by
Finance Software Projects New York University Adjunct Instructor Scott Burton.
Chapter 23 Credit Risk Options, Futures, and Other Derivatives, 8th Edition, Copyright © John C. Hull 2012.
Copyright © 2003 McGraw Hill Ryerson Limited 4-1 prepared by: Carol Edwards BA, MBA, CFA Instructor, Finance British Columbia Institute of Technology Fundamentals.
How is VaR applied/validated? Used in Limits, Industry standard component to regulatory capital calc Multipliers - stress testing or just multiply VaR.
Value at Risk.
The Application of the Present Value Concept
The Oxford Guide to Financial Modeling by Ho & Lee Chapter 8. Investment Grade Corporate Bonds: Option Adjusted Spreads The Oxford Guide to Financial Modeling.
Chapter 2 Pricing of Bonds. Time Value of Money (TVM) The price of any security equals the PV of the security’s expected cash flows. So, to price a bond.
Chapter 5 Fundamentals of Corporate Finance Fourth Edition Valuing Bonds Slides by Matthew Will McGraw Hill/Irwin Copyright © 2004 by The McGraw-Hill Companies,
Chapter 3 Measuring Yield. Introduction  The yield on any investment is the rate that equates the PV of the investment’s cash flows to its price:  This.
Topics Covered Future Values Present Values Multiple Cash Flows Perpetuities and Annuities Inflation & Time Value.
TRADING STRATEGIES FOR DEBT MARKET T Ramji
Yield To Maturity Formula
Fundamentals of Corporate Finance Chapter 6 Valuing Bonds Topics Covered The Bond Market Interest Rates and Bond Prices Current Yield and Yield to Maturity.
The Bond Market The bond market is the market in which corporations and governments issue debt securities commonly called bonds to borrow long term funds.
1 Chapter 5 Bonds, Bond Valuation, and Interest Rates.
We will have to support a mix of instrument types to support aggregate measures E.g., risk on a book of bonds 3 general classes of fixed income security.
Economics 434 Financial Markets Professor Burton University of Virginia Fall 2015 Fall, 2015.
Introduction to Credit Risk Credit Risk vs. Market Risk Credit Risk is the risk of the other side not paying (all or part)! This is a “default”… –Failure.
Fundamentals of Corporate Finance Chapter 6 Valuing Bonds Topics Covered The Bond Market Interest Rates and Bond Prices Current Yield and Yield to Maturity.
Lecture 8.  Longer term bonds prices are more sensitive to interest rate changes  If a bond is more sensitive to interest rate changes, it is riskier.
Options, Futures, and Other Derivatives, 4th edition © 1999 by John C. Hull 14.1 Value at Risk Chapter 14.
Basic VaR Categories Historical Simulation –“Full re-val” or “Greeks based” –Simple, explainable, repeatable –Supplement with stress testing –Need lots.
Fixed Income terminology Present Value/Future Value Principal and Interest Periodic cash-flows (usually semi-annual) Compounding rate (usually semi-annual)
Quiz 1 – Mythical Man-Month Chapters 1-6. Topics for today Review our market risk measure Review units Negative position amounts – shorting Relative Pricing.
Chapter 5 Fundamentals of Corporate Finance Fifth Edition Slides by Matthew Will McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc.
Now we build a server from our executable Server-side: –Executable –Heavyweight process that stays up –Add a message set (will be driven by our GUI requirements)
Interest Rate Futures Chapter 6
Chapter 4 Bond Valuation.
Financial Risk Management of Insurance Enterprises
Chapter 6 Learning Objectives
Financial Risk Management of Insurance Enterprises
Bond Valuation Chapter 6.
Notes for Final Submission
Presentation transcript:

Enhancements for server-side Price to Yield - will need to add a root finder –High yield bonds are not usually spread-priced. –We still want to know what the sensitivities are though… Server-side: –Evolve our executable to be either: an actual server or a linked in library (if using excel for example) Why build a server? Heavy weight process vs. threads Extra Credit: –Expand calculator to handle partial periods –No longer assume all periods are even between settlement date and coupon dates –Before we assumed all our bonds were newly issued and settlement date fell on a coupon date –We will use actual/365 day count convention

Putting it all together Front vs “back end” - Pros/Cons of: –Server (separate process) –Executable –Library GUI –Our main() will now be our test driver –GUI environment choice is up to the teams - any language or lib suite –Link a lib or make a process hop Now that we can price and calculate risk on all or part of a book, it’s time to put a nice front end on… Use what we have to calculate historical data to be used in VaR

Measuring day-over-day change We can now calculate risk at a point in time for a given book –Credit : Expected loss –Market : Interest rate sensitivity However, the risk changes daily given trading activity and changing market environment… –What is the new market environment (yield curve, etc., )? –What is the new position? –What is the new risk? –Sensitivities change as well as position amounts and valuations We need an itemized bill: –“Risk Attribution” –“PnL Attribution” (How did I make/lose money?) If VaR changed materially where did it come from? Big position move or a risk move? –Was it due to Interest Rate movement of Spread movement?

Calculate Expected Loss for the book Calculate Expected Loss given a ratings downgrade scenario: –AA to A (for example) –BBB to BB (Investment grade crosses over to junk) Calculate change in position between two days (why will now need security ID) You should be able to: –Load a position file and price by either spread or yield or Price –Calculate scenarios by shifting the yield curve –Show how risk has changed between two days –Get your GUI wiggling (specific requirements to follow - “questions to answer”…) –Each team will have to use graphics to meet some aspect of the requirements Table object and Graphic of some sort Next quiz is in two weeks - Nov 22 –Will cover the remainder of MMM (chapter 13 to end) Grades for mid-term will be distributed next class Requirements for Final Submission

The “risk” calculation Position adjusted sensitivity using 1 basis point change Example of “bond risk”: Price (pv): (that’s a total amount of $ the bond is worth) DV01: (how much price moves with a 1/100 of 1% change in yield =.01) amount: (10,000 is 10MM “face amount”) Position risk: (that’s $9,251 change to position value given a 1bp move) static double bond_risk( const SBB_bond_calculator_interface* bond_calc_ptr, const SBB_instrument_fields* bond_record_ptr, double dv_bump_amount) { double pv = bond_calc_ptr->PV(bond_record_ptr->Yield() ); double dv = bond_calc_ptr->dv_bump(bond_record_ptr->Yield(), pv, dv_bump_amount); double position_risk = bond_record_ptr->Amount() * dv/100.0; return position_risk; }

Units consistency $10,000,000 of a bond 9% coupon, 20 years to maturity Current price: and yield is: 6% Market value is: $10,000,000 * = $13,467,220 Bump yield by up by 100 basis points (1%) and price is now: Our data file has amounts in 000’s so $10,000,000 would be entered as 10,000 (with no comma) Dollar Value of an “01” (DV01) - price diff between starting yield and 1/100th of a percent move of yield, or 1 basis point, (1/100th of above example). Additionally, it is the average of two shifts: the absolute value of the differences resulting from both an up and down move. “Risk” for us is defined as Amount * DV01/100 and thus stays in thousands since Amount is in thousands… double yield_delta_abs = fabs(bump_amount); // yield goes up, price goes down double down_price = PV(base_yield + yield_delta_abs); double price_delta_down = base_price - down_price; // yield goes down, price goes up double up_price = PV(base_yield - yield_delta_abs); double price_delta_up = up_price - base_price; dv01 = (price_delta_up + price_delta_down ) / 2.0;

Requirements for Front End Static reports: Day-over-day change (see spreadsheet story-board) Total Notional Amount, Risk and LGD by: “Quality” “Issuer” User input driven: Risk and Market Value by maturity band: Maturity buckets defined as: 0-2yr, 2-5yr, 5-10yr, 10-30yr inclusive Display Notional Amount of 2 year treasuries (T2 in file) to hedge each bucket bucket dv01 * bucket amount = dv01 * Amount User should be able to re-run maturity band report with shifted inputs: Yield curve parallel up and down by 50% (of starting yield curve yields) User entered spreads at each point (to support ad-hoc shifts) It is required is to display data in tabular form however: It is desirable to also display in graphical form where possible. e.g, pie, bar, clustered column chart… Solve for Amount:

Deliverables for Final Install pkg:.tar (as before) - including makefile, README, etc. Your main is now your test driver (to simulate calls from the client side) Include the client side code (or excel file) in the.tar I will not grade the user handling part of the client side code but may need to refer to it Presentation/demo

Requirements for Presentation Architecture: Description of: Server-side capabilities Client-side capabilities How is logic partitioned between server and client side? GUI technology choice rationale “Middleware” protocol Challenges faced during implementation How was the work partitioned within the team? Demonstrate the front end What questions does the app help the user answer? Clear description of how to install it, build it and use it Walk through test-driver of the server side (a requirement!) I will drive after the presentation is given and ask questions interactively

Schedule ahead from Nov 8 Third quiz on MMM remaining chapters in two weeks Each team must demonstrate a working GUI next week Show tabular display of prices, dv01s and Risk in a table Requirements clarification via or phone Office hours on request Feedback on mid-term submission Compile, Link, Run Stale.o’s and.a’s Compiler flags GNU on Linux (NYU build) or MacOS Darwin Team grades distributed next week on code submission Submitted mid-term grades will be based on the two tests