Option Pricing

Codes related to Option Pricing

m file Description
simdtree1.m Graphical representation of a binomial tree. Download
binomtree.m Returns the option price (European call or put), the option value matrix and the underling price matrix of a binomial tree. Download
binomcp.m A function that tests binomial tree model for call and put evaluation. Calls the BinomTree.m function. Download
binomcp2.m Estimates binomial tree model for a set of N. Checks accuracy of computation Also investigates how long it takes to evaluate tree. Download
binomcp3.m Calls to binomial tree procedure to perform a comparative static exercise (i.e. compare option prices as a function of parameters). Download
BrownianAnimate.m Various programs that a brilliant student sent to me. Displays bi-dimensional trajectories of Brownian motions Download
BrownianMotion.m Download
BSCall.m Returns the European call option price using Black-Scholes. Download
BSPut.m Returns the European put option price using Black-Scholes. Download
BSCallD.m Black-Scholes formula for a call written on a dividend paying asset. Download
BSPutD.m Black-Scholes formula for a put written on a dividend paying asset. Download
HestonCall.m Computes the option price using Heston's model. See 'Financial Modeling Under Non-Gaussian Distributions' Page 426. Download
Test_HestonCALL.m Tests the formula of Heston's call. Download
CF_SVj.m Implements the Characteristic Function of Heston's model (Stochastic Volatility). Uses Heston's notations. See 'Financial Modeling Under Non-Gaussian Distributions' Page 429. Download
Testbs1.m Tests the Black-Scholes call and put formulas with the put call parity. Download
BSCallHR.m Returns the hedging ratio (delta) of a European call option using B-S formula. Download
BS_delta_call.m Returns the delta for a European call option. Download
BS_delta_put.m Returns the delta for a European put option. Download
BS_gamma_call.m Returns the gamma for a European call option. Download
BS_gamma_put.m Returns the gamma for a European put option. Download
BS_rho_call.m Returns the rho for a European call option. Download
BS_rho_put.m Returns the rho for a European put option. Download
BS_theta_call.m Returns the theta for a European call option. Download
BS_theta_put.m Returns the theta for a European put option. Download
BS_vega_call.m Returns the vega for a European call option. Download
BS_vega_put.m Returns the vega for a European put option. Download
gphgreek.m Displays some of the Greeks as the underlying varies. Download
BSviaNumInt.m Uses a simple integration rule to compute numerically the price of a call option. Download
CallSim1.m Simulates trajectories of geometric Brownian motions in a risk neutral world and returns the European call option price. Download
CallSim2.m A function with antithetic variables. Download
TestCallSim.m The calling program for CallSim2.m. May be extended for timing purpose. Download
Simulation of geometric Brownian motion and implementation of dynamic hedging strategy.
HedgeEx.m Computes black-scholes option price then implements daily hedging strategy. Download
simhedg.m Simulates price trajectory at 5 minute level. Horizon over which option is simulated is NbDays. once trajectory is constructed extract data for time where one wants to hedge creates a module that constructs for a given price series a dynamic hedging strategy. Download
SimInsPort.m Hedge dynamically payoff of an insured portfolio cash + call. simulates price trajectory at 5 minute level. Horizon over which option is simulated is NbD days. once trajectory is constructed extract data for time where one wants to hedge creates a module that constructs for a given price series a dynamic hedging strategy. Download
SimInsPortsSV.m Hedge dynamically payoff of an insured portfolio cash + call in a stochastic volatility model. Simulates price trajectory at 5 minute level. Horizon over which option is simulated is NbD days. Once trajectory is constructed extract data for time where one wants to hedge creates a module that constructs for a given price series a dynamic hedging strategy. Download
Stkldx.m Some Stock index data for Getdata.m Download
GetData.m A program to read and display the stock index data. Download
Second_order_simHest.m Simulation of Heston's model (Implements a second order scheme). Download
TraceVolat.m Traces the continuosu time volatiliy processs. Download
Download all Files      Learning Matlab Zip Files

Université de Lausanne - HEC : Eric Jondeau & Michael Rockinger