Simple python/streamlit web app for European option pricing using Black-Scholes model, Monte Carlo simulation and Binomial model. Spot prices for the underlying are fetched from Yahoo Finance API.
This research project applies an object oriented approach to compute the prices of American and European Call and Put options using different pricing methods such as Monte Carlo, the analytical Black-Scholes formula and the Binomial tree method.
This is an example of a program that creates a binomial tree to calculate the prices of a standard European put and an American put (assuming it can be exercised only in the last quarter of the option's life).
This is a binomial tree program that prices European single-barrier knock-in calls on a dividend-paying stock, and also determines the relative error based on the call price using the Black-Scholes model.