Summary

In this chapter, we looked at option pricing in F# using the famous Black-Scholes formula together with the Monte Carlo method for European options. Once again, F# has proven itself powerful, and in numerical implementations, this is especially true. The code is almost identical to the mathematical functions, which makes it easy to implement without any extra ceremony needed. The lessons learned in this chapter will be used in the next chapter to dig deeper into options and volatility.

Get F# for Quantitative Finance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.