The focus in this book is on the study of market risk from a quantitative point of view. The emphasis is on presenting commonly used state-of-the-art quantitative techniques used in finance for the management of market risk and demonstrate their use employing the principal two mathematical programming languages, R and Matlab. All the code in the book can be downloaded from the book’s website at