Refine by Content Type

Refine by Time Frame

image thumbnail

updated almost 5 years ago

Valuation of stock option with discrete dividend by Biao

Compare different pricing models for stock option with discrete dividend. (option, dividend, black scholes)

DiscreteDividend(s,k,r,t,vol,d,dt)

image thumbnail

updated almost 5 years ago

Frontier Demo by Xia Zhang

Retrieve stock data from Yahoo and draw the rolling frontier 3D graph (demo, financial toolbox, frontier)

matproj.m

image thumbnail

updated almost 5 years ago

generate_date_from_uicalendar by Peter Lindberg

A simple code example, for generating date output as char from UICalendar. (uicalendar, gui)

generate_date_from_uicalendar

image thumbnail

updated 5 years ago

Using MATLAB to Develop Macroeconomic Models by Bob Taylor

Analyze a stylized version of the Smets-Wouters model for the United States economy. (econometrics, macroeconomics, time series analysis)

image thumbnail

updated 5 years ago

Heston Option Pricer by Rodolphe Sitter

Compute European call option price using the Heston model and a conditional Monte-Carlo method (finance, stochastic, volatility)

Heston(S0, r, V0, eta, theta, kappa, strike, T, M, N)

image thumbnail

updated 5 years ago

Algorithmic Trading with MATLAB - 2009 update by Ameya Deoras

M-file scripts and Simulink models from webinar on 28 May 2009 (algorithmic trading, high frequency, market making)

callnnpiter

ema(x,N)

emstd(X,N)

image thumbnail

updated 5 years ago

MATLAB no Desenvolvimento de Modelos para Financas by Elia Matsumoto

Slides and demo files using Brazilian market data. (webinar, matlab, financial modeling)

GP(varargin)

GP_Aversao( )

GP_Inic( )

image thumbnail

updated 5 years ago

Constant Volume Bars by Nakul

Constant Volume Bars (finance)

CVB.m

image thumbnail

updated almost 6 years ago

CDS pricer by Rogier Swierstra

This short routine calculates the mark-to-market price of a credit default swap. (finance, analysis, bloomberg)

image thumbnail

updated almost 6 years ago

eomdateAN by Tal Shir

Allow for negative and bigger than 12 month number with eomdate.m function (calander, date, end of month)

eomdateAN(y,m)

image thumbnail

updated almost 6 years ago

Developing a Financial Market Index Tracker using MATLAB OOP and Genetic Algorithms by Mark Hoyle

Files used in the webinar of the same name (finance, modeling, analysis)

CreateIndex(NumDays,NumStocks,TotalNumStocks,L,K,s,t)

GetGAData(Wts,Stocks,Dates,StartDate)

InitialiseSession

image thumbnail

updated 6 years ago

Chinese Matlab Digest: Matlab Technical Bulletin by Hong Zhang

Chinese Matlab Digest is the first matlab digest published in Chinese by www.iLoveMatlab.cn (digest, matlab digest, chinese digest)

image thumbnail

updated 6 years ago

ECB Statistical Data Warehouse by Wu

Download econometric time series from the ECB Statistical Data Warehouse. (data fetch, data acquisition, econometric)

image thumbnail

updated 6 years ago

Simple option pricing GUI by Ameya Deoras

A GUI that presents the results of a Black-Scholes and a Monte Carlo European option pricer (finance, modeling, analysis)

optPriceVal(type, Price, Strike, Rate, Time, Vol, Yield, ...

optionpricegui2(varargin)

image thumbnail

updated 6 years ago

Pricing Basket Option by Abhishek Bharadwaj

Functions for pricing of a basket option (finance, modeling, analysis)

asianbasket(basketstruct,OptSpec,ExerciseDates,Settle,N,n...

basketset(SPrice, Sigma, Corr, Num)

basketsim(basketstruct,T,N,n,r)

image thumbnail

updated 6 years ago

Convert covariance matrix to correlation matrix by Denis

Converts covariance matrix to correlation matrix setting exactly 1-s on its main diagonal (statistics, probability, covariance matrix)

Cov2Corr(ExpCovariance)

image thumbnail

updated 6 years ago

Monte Carlo simulations using MATLAB by Vincent Leclercq

Demonstrations of Monte Carlo simulations in MATLAB (finance, modeling, analysis)

BlsHalton(S0,X,r,T,sigma,NPoints)

BlsMC(S0,X,r,T,sigma,NRepl)

BlsMCAV(S0,X,r,T,sigma,NRepl)

image thumbnail

updated 6 years ago

Asian Option - Pricing using Monte Carlo Control Variate Method by Sudhanshu Chadha

Price asian option using Monte carlo control Variate (finance, modeling, analysis)

AsianCall_mc_cv(S0,K,r,T,vol,Simu);

BS_European_Call(S, K, sigma, r, T);

mccv_gui(varargin)

image thumbnail

updated almost 7 years ago

Visualize dynamic hedging by Dimitri Shvorob

(via an interactive GUI) (finance, modeling, analysis)

blscallprice(S,K,r,t,sigma)

blsputprice(S,K,r,t,sigma)

hedgedemo

image thumbnail

updated almost 7 years ago

MathWorks Webinar: Using Genetic Algorithms in Financial Applications by Oren Rosen

Presentation and M-Files for MathWorks Webinar (finance, modeling, analysis)

ComputeBestPortfolio(expRet,expCov,portSize,targetRet)

ComputeHistoricalStats(prices)

FindTarget(target)

image thumbnail

updated 7 years ago

Mean-variance portfolio optimization using GA and PATTERNSEARCH by Dimitri Shvorob

(A not-too-serious experiment / code sample) (finance, modeling, analysis)

Mean-variance portfolio optimization using GA and PATTERN...

util(Wts)

image thumbnail

updated 7 years ago

Matlab-GUI equity derivative calculator by Biao

equity derivative calculator using matlab GUI (finance, modeling, analysis)

American(varargin)

AssetorNth(varargin)

CashorNth(varargin)

image thumbnail

updated 8 years ago

Using MATLAB to Develop Asset-Pricing Models by Bob Taylor

Scripts to build and test Fama & French three-factor model. (finance, modeling, analysis)

FFestimateCAPM.m

FFestimateFF.m

FFwebinar.m

image thumbnail

updated 8 years ago

Interactive Efficient Frontier Viewer by Paul Taylor

Efficient Frontier Viewer using nested functions (finance, modeling, analysis)

portfolio_eff_frontier(varargin)

image thumbnail

updated almost 9 years ago

Using MATLAB to Develop Portfolio Optimization Models by Bob Taylor

Scripts to create time-evolving efficient frontiers and to backtest results. (finance, modeling, analysis)

[DateHistory, RetHistory, PortHistory, X, Y, Z ] ...

ecmninit(Data, InitMethod)

ecmnmle(Data, InitMethod, MaxIter, Tolerance, Mean0, Cova...

image thumbnail

updated 9 years ago

ZigZag - Financial Indicator Wave by Olaf Marthiens

Read Yahoo Stock price and generate ZigZag Wave. (finance, modeling, analysis)

image thumbnail

updated almost 10 years ago

WSMA by Alexandros Leontitsis

The calculation of the WSMA. (finance, modeling, analysis)

image thumbnail

updated 11 years ago

TechTradeTool by Stephanos-George Papadamou-Stephanides

A toolbox for calculating and optimizing technical analysis trading systems. (finance, modeling, analysis)

[bestPerf, opt1, opt2, opt3, opt4]=optimizeSys2(menuIn, s...

[bestPerf, opt1, opt2]=optimizeSys(st, tsIn, lobIdays1, u...

[plRuin]=plotpruin(NT,MT,XWO,XPL,XRF,NR);

Contact us