This is my solution for the final exam in investments master course. I got an A, but be aware than the document still may contain some errors as i never saw the true solution to the exam.