Computational finance

Price options, compute the Greeks, build portfolios and measure risk with blsprice, blsimpv, randn, cov, prctile and the other finance functions you already know.

  • Existing MATLAB finance scripts run as written
  • Option pricing, risk and trading calendars, with no toolbox to buy
  • Monte Carlo simulations run on the GPU, with no GPU code
  • Free to try, with nothing to install
Download RunMat

Explore the RunMat runtime

A Black-Scholes call price across spot and time to expiry, drawn by RunMat as a 3-D surface from the saved analysis study
A Black-Scholes call price across spot and time to expiry, drawn by RunMat from one blsprice call on a grid.

Why use RunMat for finance

No toolbox to buy for blsprice

Pricing options with blsprice and blsimpv usually means paying for a finance toolbox and the toolboxes it depends on. blsprice, blsimpv, macd and the business-day calendar are part of the RunMat runtime, next to randn, cov and prctile.

Runtime

Price with far more Monte Carlo paths

Path counts are usually set by how long a run can take. randn, cumsum, exp and mean run on the GPU when the arrays are large, so the same few lines of array code push far more paths through and print a smaller standard error.

GPU

Catch a pricing bug with the closed form

A Monte Carlo pricer with a bug can still return a plausible number. Price by simulation and with blsprice in one script, and compare the two with the standard error the script prints.

Monte Carlo in statistics

Rerun a risk number exactly

A value-at-risk figure that moves on every run is hard to defend in review. rng(seed) repeats a simulation exactly in RunMat, and each run keeps its script, seed and printed results.

Desktop app

Examples

A Monte Carlo price settling inside its two-standard-error band around the Black-Scholes price, rendered by RunMat

Black-Scholes and Monte Carlo

A European call by simulation, inside its standard error of blsprice.

Call delta and gamma against spot for three expiries, rendered by RunMat

Delta and gamma

The option Greeks from the formulas, checked against blsprice.

The minimum-variance frontier with four assets plotted by volatility and expected return, rendered by RunMat

Efficient frontier

The minimum-variance frontier for four assets from their covariance.

A histogram of one-day P&L with the 99% value at risk marked, rendered by RunMat

Value at risk

99% VaR and expected shortfall for three correlated assets.

Implied volatility against strike, forming a smile, rendered by RunMat

Implied volatility smile

Volatility recovered from prices across 13 strikes with blsimpv.

A price series above its 21-day annualized volatility, rendered by RunMat

Drawdown and Sharpe ratio

Maximum drawdown, rolling volatility and Sharpe ratio of a price series.

Try it on your own data

Download RunMat
Read the docs