Homeall Events

5008086: Programming in Finance

back to overview
Semester:WS 20/21
Scheduled in semester:1
Semester Hours per Week / Contact Hours:24.0 L / 18.0 h
Self-directed study time:42.0 h

Module coordination/Lecturers


Master's degree programme in Finance (01.09.2015)


This course is an introduction to programming with a focus on finance. Overall, programming is a language, which allows human beings to communicate with computers. All languages are set up by grammar and vocabulary. The grammar of programming is the design of the algorithm. The vocabulary is the syntax of the source code and the usage of implemented functions.

The first milestone of this course is the development of an algorithm. An algorithm is the roadmap between the input and output, which solves a certain problem. For example, an algorithm is able to find the shortest way between your staring point and your target. The second milestone is an introduction to R, such that the basic vocabulary is known. Then, the course will discuss some sorting algorithms. At the first stage, sorting algorithms seem not to be important for financial aspects. But the opposite is true. For example, the risk factors of Fama / French (High-Minus-Low, Small-Minus-Big, etc) are one of the central risk factors in finance. A computation of these factors without any sorting is simple not possible.

The last part of the course discusses linear regressions and portfolio management within R.

Learning Outcomes

  • Studentsunderstand the basic concepts and tools of the statistical software Rare able to do their own programming.


Lectures Method

Interactive lecture with exercises


  • Venables, W. N., & Smith, D. M. (2009). An introduction to R (2nd ed.). Surrey: Network Theory Limited.


  • Helpful sources for input:CRAN, CRAN Packages, http://cran.r-project.orgRmetrics, Rmetrics, http://www.rmetrics.org

Exam Modalities

30% Mid-term test
70% final test


24.11.202014:30 - 15:15Virtueller Raum
18.12.202009:00 - 09:45Virtueller Raum


  • PWW-MA_Programming in Finance (WS 20/21, bewertet)