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.
-
Updated
Sep 15, 2017 - MATLAB