MFIN 6002 A & B: Spreadsheet Modeling in Finance (2011-2012, Module 3)
Master of Finance Program, The University of Hong Kong

Instructor: Michael Chau (mchau |at| business |dot| hku |dot| hk)
URL: http://www.business.hku.hk/~mchau/
Office: Room 729D Meng Wah Complex, The University of Hong Kong
Teaching assistant: Section A: Jolly Cheng (mycheng |at| cs |dot| hku |dot| hk) | Section B: George Tang (thgtang |at| gmail |dot| com)
Class venue: Section A: Cyberport 4 | Section B: HKU Town Centre, Admiralty


Course Description and Objectives:
This course studies the design and implementation of computer programs for financial modeling and solving business problems using spreadsheets and structured programming techniques.

Course objectives:

The structure of this course will include a combination of lectures, demos, hands-on exercises, assignments, and exams.

The detailed course outline can be downloaded here.

Learning Outcomes:
After taking this course, students should be able to:

Lecture Schedule:

You can download all course materials here as a zip file.

Week 1
(11/28 - 6002A: LTA, Cyberport / 6002B: B2, Town Center) Introduction to Spreadsheet Modeling and Excel | Powerpoint | Demo worksheet | Anwser |
(11/30 - 6002A: LTA, Cyberport / 6002B: B2, Town Center) VBA I: User-defined Functions | Demo worksheet | Anwser |

No class for the week 12/5 - 12/10 for this course

Week 2
(12/12 - 6002A: LTA, Cyberport / 6002B: B2, Town Center) VBA II: Variable Declaration, Conditional Statements, Iteration, and Result Presentation | Powerpoint | Demo worksheet | Answer |
(12/14 - 6002A: LTA, Cyberport / 6002B: B2, Town Center) VBA III: User Interface Controls | Demo worksheet |

Assignment 1 (10% of final grade; due date: December 28 (Wed) 11:59pm)

Week 3
(12/19 - 6002A: LTA, Cyberport / 6002B: B2, Town Center) Portfolio Optimization I: Matrix Multiplication and Solver | Powerpoint | Demo worksheet | Anwser | Solver Demo | Answer |
Reference: VBA and Solver References
(12/21 - 6002A: LTA, Cyberport / 6002B: B2, Town Center) Portfolio Optimization II: Matrix Multiplication and Solver

Week 4
(12/28 - 6002A: LTA, Cyberport / 6002B: B2, Town Center) Binomial Tree I: Numerical Iteration | Powerpoint | Demo worksheet | Anwser |

Assignment 2 (15% of final grade; due date: January 10 (Tue) 11:59pm)

Week 5
(1/4 - 6002A: LTA, Cyberport / 6002B: B2, Town Center) Binomial Tree II: Numerical Iteration
(1/6 - 6002A: LTA, Cyberport / 6002B: B2, Town Center) Monte Carlo Pricing I: Generating Random Variables | Powerpoint | Demo worksheet | Anwser |

Week 6
(1/9 - 6002A: LTA, Cyberport / 6002B: B2, Town Center) Monte Carlo Pricing II: Generating Random Variables
(1/11 - 6002A: LTA, Cyberport / 6002B: B2, Town Center) Risk Management I: Statistics Application | Powerpoint | Demo worksheet | Anwser |

Assignment 3 (15% of final grade; due date: January 19 (Thu) 11:59pm)

Week 7
(1/16 - 6002A: LTA, Cyberport / 6002B: B2, Town Center) Risk Management II: Statistics Application
(1/21 - Pokfulam Main Campus) Final Exam: 4:00pm to 6:00pm

Supplementary:
Personal Finance | Demo worksheet | Anwser |
Interest Rate Derivatives (IRS, Swaps, Callable Deposit) | Demo worksheet |
Extending Excel Functionalities with C | Mark Davis website | ans: main.c | ans: testdll.xls |
Getting Financial Data into Excel | Demo worksheet | Anwser

Assessment:
In-class participation (10%)
Participation in class discussion, group discussion, presentation and playing a proactive role in other in-class activities.
Based on the rule of the MFin program, students with an attendance rate below 70% will automatically fail the course.

Individual assignments (40%)
The assignments include short questions and programming exercises
Please hand in the assignment by email and the filename of your assignment should be
assignment3_2005123456.xls if this is assignment No. 3 for student ID 2005123456.
The subject of the email should be Your Name (2005123456): Assignment3 . Please send it to
mfin6002a |or| mfin6002b |at| gmail |dot| com and cc to: mchau |at| business |dot| hku |dot| hk

Examination (50%)
The examination will test your knowledge about the concepts covered in class.
The examination will consist of multiple choices, short questions, and programming tasks.
You must receive permission to take the exam at a different time at least one week prior to the scheduled date and have a documented reason.

Useful Links:

FE: IAFE | Numa Web | Derivative Zine | Derivatives Strategy
Options Exchanges: CBOE | CME | HKEx
Black-Scholes Picture , Option Pricing Theory
online option calculators at Hoadley.net

Popular authors in FE:
John Hull's textbook website
Wilmott wilmott.com
Mark Davis website

Excel Addin for FE:
fincad | MBRM | Monis | Solver.com

Spreadsheets:
VBA Tutorials
Sunsite Excel Links
An OR paper about Spreadsheet AddIns
A general link to a lot of good FE websites, especially MC
A dedicated FE / Excel sites by Metin Kilic
Tutorials in VBA
Good books about Excel / VBA

References:
Advanced Modeling in Finance using Excel and VBA
By Mary Jackson and Mike Staunton
John Wiley & Sons, Ltd
ISBN 047149226

Excel 2003 Power Programming with VBA
John Walkenbach
John Wiley & Sons, Ltd
ISBN 0764540726

Financial Modeling
By Simon Benninga
The MIT Press
ISBN 0262026287

Options, Futures, and Other Derivatives, Sixth Edition
By John Hull
Prentice Hall
ISBN 0131499084

Visual Basic for Applications
By Diane Zak
Thomson Learning
ISBN 0619000201

Acknowledgement:
The course materials have been largely adopted from those developed by Dr. Yan Cheng