image thumbnail

updated 9 months ago

Get continuous live Option Prices from yahoo finance by Haidar Haidar

This code connect to Yahoo finance and download live continuous call and put option prices (download, options, download live option ...)

[C,T]=Tri_C(P_Mins,OPEN,L_MRKT)

image thumbnail

updated 2 years ago

KMV Credit Risk Model - Probability of Default - Default Risk by Haidar Haidar

Calculate probability of default based on Moody’s KMV. firms equity follows European call optition (risk, probability of defaul..., merton method)

KMV_MODEL.m

image thumbnail

updated 2 years ago

Output set of stock prices from yahoo finance as a matrix with header and dates into excel by Haidar Haidar

Output historical stock prices for a basket of stocks and given period as a matrix with header (financial mathematics, download stocks, yahoo finance)

[B,C,name2]=M_Tri_EXL(Start_Date,End_Date,ty)

image thumbnail

updated 2 years ago

Analytical Approximation of American Put option derived by G. BARONE-ADESI and R. E. WHALEY 1987. by Haidar Haidar

This computes an approximation of American Put option value and can plot it against asset's price (blackscholes, option valuation, derivatives)

[P,S,S_SS]=A_Put_Adesi_Whaley(S,E,r,sigma,T)

Contact us