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.

Slides:



Advertisements
Similar presentations
Fin351: lecture 3 Bond valuation The application of the present value concept.
Advertisements

Passing Arguments Suppose you’re seated in class, which doesn’t begin for another 20 minutes… …and your friend, who missed the last two classes due to.
My Math Lab A New Way to Learn Mathematics George Patton “Accept challenges, so that you may feel the exhilaration of victory.”
Introduction to C Programming
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.
Slide 1 CS3 Fall 2005 Lecture week 13: Introduction to the Big Project.
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.
YTM - Frequency Parameterized. YTM - Pricing a Zero Coupon.
 2007 Pearson Education, Inc. All rights reserved Introduction to C Programming.
 2002 Prentice Hall. All rights reserved. 1 Intro: Java/Python Differences JavaPython Compiled: javac MyClass.java java MyClass Interpreted: python MyProgram.py.
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.
Guide To UNIX Using Linux Third Edition
Introduction to C Programming
Yield To Maturity Formula
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.
Finance Software Projects New York University Adjunct Instructor Scott Burton.
® IBM Software Group © 2006 IBM Corporation How to read/write XML using EGL This Learning Module shows how to utilize an EGL Library to read/write an XML.
CS1101: Programming Methodology Aaron Tan.
How is VaR applied/validated? Used in Limits, Industry standard component to regulatory capital calc Multipliers - stress testing or just multiply VaR.
Expressions and Interactivity Chapter 3. 2 The cin Object Standard input object Like cout, requires iostream file Used to read input from keyboard Often.
Page 1 Course Description CPS510 Database Systems Fall 2004 School of Computer Science Ryerson University.
Classes and Objects. Topics The Class Definition Declaring Instance Member Variables Writing Instance Member Methods Creating Objects Sending Messages.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Introduction to Java Thanks to Dan Lunney (SHS). Java Basics File names The “main” method Output to screen Escape Sequence – Special Characters format()
Introduction to Programming David Goldschmidt, Ph.D. Computer Science The College of Saint Rose Java Fundamentals (Comments, Variables, etc.)
1 Project 4: Vehicle Inventory. 2 Write a program to read a text file containing information about vehicles and output the information First in the order.
Functions Introduction to Programming By Engr. Bilal Ahmad 1ITP by Engr. Bilal Ahmad.
Your Page Name – Internet Web Browser Your Tab Name Giggle Search Search Your search text here Search Engine Template.
1 Chapter 2 C++ Syntax and Semantics, and the Program Development Process Dale/Weems/Headington.
Definition CSS “Short for Cascading Style Sheets, a new feature being added to HTML that gives both Web site developers and users more control over how.
ITIS 3110 LAB 7 Scripts. Final Projects Due today! Team captains need to wait for feedback Will review immediately after lecture done.
Fixed Income Analysis Week 4 Measuring Price Risk
CS161 Topic #16 1 Today in CS161 Lecture #16 Prepare for the Final Reviewing all Topics this term Variables If Statements Loops (do while, while, for)
Yield To Maturity Formula
1 Chapter 2 C++ Syntax and Semantics, and the Program Development Process.
Fundamentals of Corporate Finance Chapter 6 Valuing Bonds Topics Covered The Bond Market Interest Rates and Bond Prices Current Yield and Yield to Maturity.
CIS 234: Project 1 Issues Dr. Ralph D. Westfall April, 2010.
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.
Loops.  (No Quiz)  Hand in Assignment #1  Last chance for Q+A on the midterm  Loops 2.
HKOI Programming HKOI Training Team (Intermediate) Alan, Tam Siu Lung Unu, Tse Chi Yung.
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.
1 Title Line on a Divider Slide Format >Level one bullet text for a divider slide.
Looking for Trouble …in the Bb Grade Center Michael G. Prais, Ph.D. University of Illinois at Chicago.
Fixed Income terminology Present Value/Future Value Principal and Interest Periodic cash-flows (usually semi-annual) Compounding rate (usually semi-annual)
Lecturer: Nguyen Thi Hien Software Engineering Department Home page: hienngong.wordpress.com Chapter 2: Language C++
1 Project 2: Sorting Cats. Write a C++ console application to read a text file containing information about cats and output the information to the screen.
Quiz 1 – Mythical Man-Month Chapters 1-6. Topics for today Review our market risk measure Review units Negative position amounts – shorting Relative Pricing.
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)
Katherine Kampf / kkampf
Development Environment Basics
CS1010 Discussion Group 11 Week 6 – One dimensional arrays.
C++ fundamentals Lecture 1, Chapter 2 – pp /22/2018 Y K Choi.
Learning Outcomes –Lesson 4
Financial Market Theory
Notes for Final Submission
Stomp Subtitle Goes Here by Your Name.
Linen Subtitle Goes Here by Your Name.
Linen Subtitle Goes Here by Your Name.
Stomp Subtitle Goes Here by Your Name.
Click to add title Options Your text
Bonds and Their Valuation Supplement
CSCE 206 Lab Structured Programming in C
Content Creation Jiaqi Xue 12/10/2012.
Click to add title Options Your text
Presentation transcript:

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 a sample of expected results Nov 23rd: submit library and test driver which will use above data file –See last slide for feedback! Nov 30th: Second quiz –Will cover the remainder of MMM (chapter 13 to end). Dec 7th: Third and final quiz (first 15 minutes of class) –3 total for the semester, average of 3 will account for 20% of grade –Third quiz will cover contents of lectures (see slides on the website) Dec 14th: Final presentations –Each team will present for 15 minutes –Each team will force rank the other teams presentations!

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;

Mid-term feedback I shouldn’t have to re-compile to run against another file in a different location Units should be in thousands throughout Provide a README file Use meaningful, descriptive variable names - as opposed to “a”, “b”, “c” Free memory Identify class member data consistently like: “_price” Use mf TCM() for indentifying bond (not ID - this will be used internally) Always use curly braces Don’t copy objects - pass by const ref or use pointers Comment the main and include the string “main” in the name Price and dv01 is a percentage so need to divide by 100 before calculating market value, etc. Use the run.sh shell script Timer routines were provided so they would be included Use indents and comments in source code Format output using tabs and newlines Parameterize by filename but need to check if not passed Amounts can be negative (short positions) Debug io kills performance - #ifdef out before submitting Interface classes should not contain state, add another level in hierarchy Use interface classes as pointers not the derived types Text titles cut/pasted - archaic comments are evil Unnecessary copying from provided objects (could use pointers) Only build what you have to - don’t “program to impress your friends” Don’t use makefiles for anything other than building code - use shell instead