MFE1109 — Programming for Quantitative Risk Management
Course description
This course introduces the fundamentals of two powerful programming languages: Python and R, specifically tailored for applications in quantitative finance and risk management. It provides a solid foundation in programming principles and the core libraries essential for financial data analysis, modeling, and simulation.
The primary goal is to equip students with the practical skills to implement quantitative models, automate risk analysis tasks, and apply these skills to financial modeling, risk assessment, and data-driven decision-making.
Key topics covered include:
Python (Weeks 1-11): Fundamental syntax, data structures (lists, dictionaries), control flow, modular programming with functions and classes, file handling, and scientific computing with NumPy.
R (Weeks 12-14): R ecosystem setup, data wrangling with tidyverse (dplyr), visualization with ggplot2, and reproducible reporting with Quarto/R Markdown.
Course requirements
Attendance: Students are required to attend at least 80% of all classroom hours to be eligible for the final examination. An attendance score of at least 5.0 is required.
Preparation: Students are expected to read all required materials before class and complete all homework assignments on time.
Participation: Active participation in class discussions, exercises, and group work is strongly encouraged.
Conduct: Maintain a professional and respectful learning environment. Do not disturb others. The use of mobile phones for non-class purposes is prohibited. Laptops are permitted for note-taking and in-class exercises only.
Lecturers
- Nguyễn Quang Huy
- Dr. Nguyen Tuan Long
- Luong Van Long M.Sc.
- Nguyễn Mạnh Thế
Teaching plan
Week 1
Week 2
Week 3
Week 4
Week 5
Week 6
Week 7
Week 8
Week 9
Week 10
Week 11
Week 12
Week 13
Week 14
Week 15
Learning resources
- 1. Course Books
- Eric Matthes, Python Crash Course, 2nd Edition, No Starch Press, 2019
- Hadley Wickham, Mine Çetinkaya-Rundel, and Garrett Grolemund, R for Data Science: Import, Tidy, Transform, Visualize, and Model Data, 2nd Edition, O’Reilly Media, 2023
- 2. References
- Jake VanderPlas, Python Data Science Handbook: Essential Tools for Working with Data, Second Edition, O’Reilly, 2023
- Al Sweigart, Automate the Boring Stuff with Python, No Starch Press, 2015
- Standard lecture notes/slides provided by the instructors