image thumbnail

updated 13 days ago

Yahoo Finance Time Series Analysis Tool by Christian Pass

Performs various time series analysis operations (data export, finance, gui)

Yahoo Finance Time Series Analysis Tool

image thumbnail

updated 14 days ago

Monte Carlo example of the Multi-Factor coupled Commodity Forward curves Simulator by Ahmos Sansom

Implementation of the Multi-Factor multi commodity forward curve simulator (finance, mathematics, optimization)

GetCov(x, y)

LnTestofSims(mySims, LastFC, volFN, Factors)

MultiFactorForwardCurveSimulator(nSims, Seed, historicalFor...

image thumbnail

updated 1 month ago

Building and Extending Portfolio Optimization Models with MATLAB by sri

Object-oriented implementations of the Portfo and the Black-Litterman approach (portfolio optimizatio..., finance, object oriented progr...)

View(varargin)

compareWeights( ExcessHistoricalReturns, ExcessImpliedRetur...

PortfolioBL

image thumbnail

updated 5 months ago

Black and Shcoles calculator by Hanan Kavitz

Graphical Black and Shcoles calculator for visualizing different sensetives (black and shcoles, finance, gui)

blscalculator(varargin)

image thumbnail

updated 6 months ago

Mining Economics with MATLAB by David Willingham

Simulates a distribution of Net Present Values of a mine via a forecasting model for Iron Ore Prices (commodities, mining, economics)

FitNPV(NPV)

cashflow(data,NTrials,SYear)

discounting(data,capex,NTrials,sales,discFactorY,salesb)

image thumbnail

updated 7 months ago

Analyzing Investment Strategies with CVaR Portfolio Optimization by Bob Taylor

Scripts and data to demonstrate the new PortfolioCVaR object in Financial Toolbox. (finance, portfolio, optimization)

covered_engine(X, T, mu, sigma, ...

gbm_calibration(t0, X, t)

gbm_call_price(X0, K, r0, T, sigma)

image thumbnail

updated 8 months ago

Matrix Decomposition by Aleksander

Positive definite correlation matrix based on spectral decomposition. Now both for .m, C and Mex (spectral decompositio..., cholesky decompositio..., correlation matrix)

SpectralDP(Correlation)

image thumbnail

updated 9 months ago

CVaR Portfolio Optimization by Seth DeLand

Conditional Value at Risk (CVaR) portfolio optimization with the PortfolioCVaR object (portfolio optimizatio..., cvar, conditional value at ...)

CVaRPortfolioOptimizationExample.m

image thumbnail

updated 1 year ago

Measures of Analysis of Time Series toolkit (MATS) by Dimitris Kugiumtzis

MATS computes many measures of scalar time series analysis on many time series in one go. (nonlinear dynamics, time series analysis, finance)

AAFTsur(xV,nsur)

AMRBootstrap(xV,arm,nsur)

ARMAfitite(xV,mV,pV,TV)

image thumbnail

updated 1 year ago

Fit all valid parametric probability distributions to data by Mike Sheppard

ALLFITDIST Fit all valid parametric probability distributions to data. (simulation, statistics, finance)

allfitdist(data,sortby,varargin)

image thumbnail

updated 1 year ago

Forecasting the FTSE 100 with high-frequency data: A comparison of realized measures by Oleg Komarov

My dissertation for the MSc in Finance & Economics from Warwick Business School (dissertation, fex, finance)

bp(h,numout,varargin)

fltmedian(data,volume)

fltout(dates,price,k,mult)

image thumbnail

updated 1 year ago

Approaches to implementing Monte Carlo methods in MATLAB by sri

Code for the article in the September 2011 article http://www.wilmott.com/magazine.cfm (monte carlo, parallel computing, wilmott)

PriceArithmeticAsianOption(S0,X,r,T,sigma,NSteps,NPaths)

PriceArithmeticAsianOptionFin(S0,X,r,T,sigma,NSteps,NPaths)

PriceArithmeticAsianOptionPCT(S0,X,r,T,sigma,NSteps,NPaths)

image thumbnail

updated 2 years ago

Estimation of Structured t-Copulas by Attilio Meucci

Recursive routine to estimate structured correlation matrix and degrees of freedom (finance, modeling, analysis)

LogLik(x,Nu,Sigma)

MleRecursionForT(x,Nu,K,Tolerance)

[Nu,C]=StrucTMLE(X,K,Tolerance)

image thumbnail

updated 2 years ago

Simulations with Exact Means and Covariances by Attilio Meucci

Exact multivariate normal simulation (finance, statistics, portfolio management)

X=MvnRnd(M,S,J)

S_Test.m

image thumbnail

updated 2 years ago

Using MATLAB to Optimize Portfolios with Financial Toolbox by Bob Taylor

Scripts and data to demonstrate the new Portfolio object in Financial Toolbox. (backtesting, analysis, finance)

part1_plot(varargin)

PortfolioDemo

part1_intro.m

image thumbnail

updated 2 years ago

Portfolio Optimizer Tool by Patric Schenk

Portfolio Optimizer Tool (data import, gui, finance)

portfoliotool(varargin)

ExcelReport

Portfolio

image thumbnail

updated 2 years ago

Efficient Frontier GUI by Ameya Deoras

Efficient frontier from Yahoo or database data. (finance, analysis, modeling)

dfdb_port_opt(varargin)

cleanMe.m

image thumbnail

updated 2 years ago

Financial Seminar Demos by Ameya Deoras

Demos commonly used at The MathWorks financial modeling seminars. (finance, modeling, portfolio var risk ma...)

PortVaRmc(nsim)

blsimpv(so,x,r,t,call,maxiter,q,tol)

blsvis(varargin)

image thumbnail

updated 2 years ago

Black-Scholes Option Value Web Application - Java/Tomcat by Sachin Nikumbh

This example code demonstrates how to access Java components generated by MATLAB Builder for Java fr (finance, modeling, analysis)

optionvalue(SpotPrice, StrikePrice, RiskFreeRate,TimeExpiry...

webvizroutine(SpotPrice, StrikePrice, RiskFreeRate,TimeExpi...

mcc_command.m

image thumbnail

updated 2 years ago

Pricing Derivatives Securities using MATLAB by Mayeda Reyes-Kattar

Examples of pricing derivatives securities using MATLAB (webinar, derivatives securitie..., finance)

optionvanilla(S,E,r,T,sigma,divYield,nSims,nSteps,type, sho...

portbrowser(varargin)

treedemonew(Command, Trees,Port,RS)

image thumbnail

updated almost 3 years ago

laplace.m by Peter Cotton

Smooth compact 1,2 or 3 dimensional atomic probability distribution (del2, density, laplacian)

laplace(xs,A,b,AEq,bEq,varargin)

image thumbnail

updated 3 years ago

FinMetrics by Vitaly Kuznetsov

Open source/open architecture quantitative portfolio management environment. (trading, portfolio management, risk)

fm(varargin)

Asset

AssetUniverse

image thumbnail

updated 3 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, forecasting, econometrics toolbox)

image thumbnail

updated almost 4 years ago

Expectation-Maximization algorithm for bi-variate Normal Inverse Gaussian distribution by Karol Binkowski

Expectation-Maximization (EM) algorithm for bi-variate Normal Inverse Gaussian (biNIG) distribution (finance, statistics, simulation)

EMBIVNIG(x1, x2, iter, tolcrit, alphas, betas1, betas2, del...

binigm1(mu1, mu2, alpha, beta1, beta2, dlt, Sigma)

binigm2(mu1, mu2, alpha, beta1, beta2, dlt, Sigma)

image thumbnail

updated 4 years ago

Risk and Asset Allocation by Attilio Meucci

Software for quantitative portfolio and risk management (value at risk, modeling, analysis)

...

Addition(x,y);

Adendotd(dense, d, sparAd, Ablk, blkstart)

image thumbnail

updated 4 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 4 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 (blackscholes, pricing, analysis)

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

optionpricegui2(varargin)

image thumbnail

updated 5 years ago

Monte Carlo simulations using MATLAB by Vincent Leclercq

Demonstrations of Monte Carlo simulations in MATLAB (monte carlo simulatio..., finance, 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 5 years ago

Short Term Hedge Position Optimizer by Kwame Awuah-Offei

This program optimizes the hedge ratio for a resource company (stochastic linear pro..., hedging, analysis)

futures_price(s_price,c_yield,t,Economic,Yield,Price)

hpo3

hpo_gui(varargin)

image thumbnail

updated 5 years ago

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

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

ComputeBestPortfolio(expRet,expCov,portSize,targetRet)

ComputeHistoricalStats(prices)

FindTarget(target)

image thumbnail

updated 5 years ago

Simulate a Cox-Ingersoll-Ross process by Dimitri Shvorob

(Exact algorithm) (cox ingersoll ross ci..., analysis, modeling)

CIRPATHDEMO

cirpath(t,a,b,s,r0)

image thumbnail

updated 6 years ago

Using MATLAB to Develop Asset-Pricing Models by Bob Taylor

Scripts to build and test Fama & French three-factor model. (fama french, capm, finance)

FFestimateCAPM.m

FFestimateFF.m

FFwebinar.m

image thumbnail

updated almost 7 years ago

Black-Scholes Option Value (Web - ASP.NET) by Barry Simon

This example code demonstrates how to access .NET and COM components generated by MATLAB Builder for (finance, modeling, analysis)

optionvalue(SpotPrice, StrikePrice, RiskFreeRate,TimeExpiry...

webvizroutine(SpotPrice, StrikePrice, RiskFreeRate,TimeExpi...

image thumbnail

updated 7 years ago

Esitmation of Multivariate Generalized Hyperbolic Distributions (MGHD) by Saket Sathe

This program uses a multi-cycle Expectation-Conditional Maximization algorithm to estimate parametes (generalized hyperboli..., finance, analysis)

[mu, lambda, gamma, Sigma, chi, psi]=multiGH_mcecm_clam_fit...

debugmsg(string,variable,lines)

f=multiGH_randvar(n,mu,lambda,gamma,Sigma,chi,psi)

image thumbnail

updated 7 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

Reinsurance Demo by Kas Sharma

Demo: GUI that prices a reinsurance contract based on "Excess of Loss" terms. (finance, modeling, analysis)

las(x, B, Q, P, S, T)

model_loss_process(premium, losspick, B, Q, P, S, T)

overimpose_the_structure(premium, XOL, loss, lossPick, comm...

image thumbnail

updated 9 years ago

Option Pricing Demo by Kas Sharma

Demo of an option pricing tool (blackscholes, option pricing, analysis)

blsapp2()

blsapp2()

blsbtyval(SpotPrice, ...

image thumbnail

updated 9 years ago

Pricing Derivatives by Kas Sharma

Ilustrates how to price an instrument portfolio. (finance, modeling, analysis)

ProcessInst.m

ProcessInstBDT.m

Contact us