A simple example of how margin call calculation for large amounts of deals can be done with a little help of distributed processing and cloud computing.
Can we obtain probability of default for a portfolio with very few credit events? Here is a statistical approach, accompanied by a Scala programming example.
Gimle Digital has elaborated suggested solutions based on Scala programs for the exercises in the book “Value-at-Risk: Theory and Practice” by Glyn A. Holton
Yield to maturity is a basic measure for investment in bonds. One way to calculate it is by using object oriented and functional programming with Scala.