image thumbnail

updated 1 day ago

Plotly | Online MATLAB Graphing by Chris

Chris (view profile)

Publish your MATLAB figures to the web with one line of code. (plot, data export, gui)

image thumbnail

updated 3 days ago

Normal Inverse Gaussian Distribution by Ilnaz

Ilnaz (view profile)

includes, nigpdf, nigcdf and nig inverse cdf (statistics, probability, finance)

InvNig(y,pars,dx,n,tol )

NIGcdf(x,alpha,beta,mu,delta,Phi0 )

invNIGinitial(y,Xmin,Xmax,tol,pars,dx,Phi0)

image thumbnail

updated 10 days ago

Functions for Predicting Business Bankruptcy by Tyler Coye

This submission contains three .m files with functions that calculate the different z scores. (z score, business, finance)

ZScoreGen(WC,TA,RE,EBIT,TL,NW)

ZScorePub(WC,TA,RE,EBIT,MktValEq,TL,S)

ZScorePvt(WC,TA,RE,EBIT,TL,NW,S)

image thumbnail

updated 14 days ago

Algorithmic Trading | Walk-Forward Analysis Toolbox - WFAToolbox by WFAToolbox

MATLAB® App for Advanced Algorithmic Trading Strategies Development in Minutes not Months. (algo, algorithmic trading, analysis)

image thumbnail

updated 18 days ago

Quandl API Access by Ray

Ray (view profile)

Access and download data from the Quandl database from inside the MATLAB console. (data import, finance, statistics)

image thumbnail

updated 19 days ago

Nonstationary Extreme Value Analysis (NEVA) Toolbox by HRL

HRL (view profile)

Nonstationary Extreme Value Analysis (NEVA) (statistics, climate, extreme value analysi...)

GEVQQcheck(DATA,nsite,Now)

GPQQcheck(DATA,nsite)

Mann_Kendall(V,alpha)

image thumbnail

updated 20 days ago

IB4m by Abel Brown

Create ScannerSubscriptions, access real-time MarketData, place orders, and more (finance, ib, java)

image thumbnail

updated 21 days 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 24 days ago

Fast Matrixwise Black-Scholes Implied Volatility by Mark Whirdy

Calculates Black-Scholes Implied Volatility for Full Surface at High Speed (blackscholes, impliedvolatility, impvol)

calcBSImpVol(cp,P,S,K,T,r,q)

image thumbnail

updated 1 month ago

Parallel Computing with MATLAB demo files (MATLABプログラムの並列・分散処理) by mizuki

mizuki (view profile)

files for the webinar, "Parallel Computing with MATLAB" in Japanese (simulation, optimization, demo)

lorentzModel.m

box_jenkins(Parameters, y, R, M)

nonLinConFunc(Parameters, y, R, M)

image thumbnail

updated 1 month ago

tradesman by Volkan Kirdar

Btc-e, Bitfinex, Cex.io, Huobi, Bitstamp exchange api for Matlab. (finance)

main_api_call_cexio.m

crypto(str, key, algorithm)

http_createHeader(name,value)

image thumbnail

updated 1 month ago

Get Yahoo Option Chain by petar radkov

petar radkov (view profile)

Scraping options chain prices from finance yahooo (option, option chain, option price)

GetYahooOptionChain( ticker, ExpDate, typeOutData )

image thumbnail

updated 1 month ago

Financier by Raza88

Raza88 (view profile)

Financial portfolio management (finance, portfolio, optimization)

FINANCIER.m

image thumbnail

updated 1 month ago

Stock Option Chain Downloader (via Google) by C Lau

C Lau (view profile)

Code to download option chain data from Google finance. (google, option chain, stock)

getGoogleOptionsData(symbolid)

image thumbnail

updated 2 months ago

Bond Pricer Applying Kalman Filter by mono

mono (view profile)

Compute the yield curve based on two SDE models applying Kalman Filter (yield curve, zero coupon bond, pricing)

CIR_CompoundRate_Kalman_fmincon(input_data)

CIR_SpotRate_LSM_fmincon(input_data)

CIR_pricing(input_data,flag,r0,tau)

image thumbnail

updated 3 months ago

Calculate Complex Hurst by steed huang

This Matlab example M-file is to calculate the Complex Hurst for Data like Stock Market. (mathematics, statistics, example)

complexHurstV1.m

image thumbnail

updated 3 months ago

CallDeltahedge( S,K,r,T,vol,n ) by Dimosthenis Karaflos

This functon calculates the final P&L from a delta hedging strategy of a short call option!! (finance, derivatives, simulation)

CallDeltahedge( S,K,r,T,vol,n )

image thumbnail

updated 3 months ago

VaR( stock, sigma) by Christina Kotioni

This is a simple function that calculates the VaR using the Geometric Brownian Motion (statistics, simulation, finance)

VaR( stock, sigma)

image thumbnail

updated 4 months ago

Rotman Trader Toolbox by Stuart Kozola

Stuart Kozola (view profile)

Rotman Trader Toolbox provides functionality for connecting MATLAB(R) to Rotman Interactive Trader (trading, rotman, finance)

MATLAB File Help: RTDConnector

MATLAB File Help: rotmanTrader

Rotman Trader Toolbox

image thumbnail

updated 4 months ago

FQuantToolBox V1.3[NoHistData] byLY_faruto by faruto

faruto (view profile)

FQuantToolBox: A Data and Backtesting Quant Tool Box based on MATLAB by faruto. (quant, stock, trade)

GetIndexList_Web.m

GetIndexTSDay_Web.m

GetStockList_Web.m

image thumbnail

updated 5 months ago

Date Vector/Number to ISO 8601 Date String by Stephen Cobeldick

Convert a Date Vector/Number to an ISO 8601 Date String. Tokens control the date/time notation. (date, timestamp, iso 8601)

datestr8601(DVN,varargin)

image thumbnail

updated 5 months ago

ISO 8601 Date String to Serial Date Number by Stephen Cobeldick

Convert an ISO 8601 Date String to Serial Date Numbers. Auto-detect or select the timestamp style. (calendar date, date, iso 8601)

datenum8601(Str,Tok)

image thumbnail

updated 6 months ago

Stock Class by Jeffrey Kantor

Jeffrey Kantor (view profile)

An easy to use class to download, display, and plot stock information from Yahoo finance. (quotes, stocks, finance)

stock

image thumbnail

updated 6 months ago

LogNormalBetaStochasticVolatility by ML Sepp

ML Sepp (view profile)

Compute option prices under log-normal beta stochastic volatility model and compare vs Monte Carlo (lognormal stochastic ..., option pricing, finance)

LogNormalBetaStochasticVolatility

image thumbnail

updated 6 months ago

International daily stock return data for System Identification by Mattia Zorzi

International daily stock return data for System Identification (data, finance, system identification)

image thumbnail

updated 6 months ago

WindTrader by Steven

Steven (view profile)

WindTrader 程序化交易终端是基于Wind资讯®发布的MATLAB数据及交易接口,用于量化投资活动中账户和策略的建立及管理、模拟和真实交易的监视及控制的程序化交易终端应用。 (gui, java, finance)

image thumbnail

updated 6 months ago

Historical Stock Data downloader by Josiah Renfree

Used to retrieve historical stock data for a user-specified date range (finance, analysis, quote prices)

hist_stock_data(start_date, end_date, varargin)

image thumbnail

updated 7 months ago

Monte Carlo simulation example using MATLAB (with comments) by Raza88

Raza88 (view profile)

A simple Monte Carlo simulation example with detailed comments (simulation, random, monte carlo)

MonteCarlo_CNTower.m

image thumbnail

updated 7 months ago

Option on zero-coupon bond via Levy HJM model by Mesias Alfeus

Levy Term structure, GH as a driver, Option on zero-bond values, Quadratic hedge ratio. (mathematics, finance, simulation)

[price, Hedge]=GH_Quadratic(PU,PT,U,T,K,sig,k,lambda,alph...

image thumbnail

updated 7 months ago

Monte Carlo example of a Multi Commodity Spot and Forward curves Simulator by Ahmos Sansom

Implementation of a commodity spot and Multi-Factor forward curve simulator for coupled markets (finance, mathematics, optimization)

CalibrateSpotModel.m

CalibrateFCModel(historicalForwardCurves, nFactors)

LnTestofSims(mySims, LastFC, volFN, Factors)

image thumbnail

updated 8 months ago

fred2read by Peter Gruber

Load macroeconomic data from the FRED2 server of the federal reserve bank of St. Louis. (data import, economics, finance)

[calDate series header]=fred2read(ticker,startDate,endDate)

image thumbnail

updated 9 months ago

Ornstein Uhlenbeck Simulations and Descretisation error by Ahmos Sansom

Ornstein Uhlenbeck simulations based on simple discretisation and compared to Gillespie solution (finance, simulation, mathematics)

OrnsteinUhlenbeck(nDays, nSims, Seed, mu, s0, vol, theta)

OrnsteinUhlenbeckGillespie(nDays, nSims, Seed, mu, s0, vo...

OrnsteinUhlenbeckReducedTimeStep(nDays, nSims, Seed, mu, ...

image thumbnail

updated 9 months ago

Portfolio Diversi…cation Based on Optimized Uncorrelated Factors by Attilio Meucci

Attilio Meucci (view profile)

Minimum Torsion Bets for Effective Number of Bets and Diversification Distribution (portfolio management, risk management, marginal risk contrib...)

EffectiveBets(b, Sigma, t)

torsion(Sigma, model, method, max_niter)

S_MainDiversification.m

image thumbnail

updated 11 months ago

Get stock option chains by ted p teng

ted p teng (view profile)

Get stock option chains. (finance, stock, option chain)

getOptionChainYQL(tickers)

getOptionChainYQLExample.m

image thumbnail

updated 12 months ago

FYP1.m by Imran Hayder

Matlab GUI based waveform generator- generates waveforms like sine, cos, pwm, etc with desired param (waveform, generator, signal processing)

FYP1(varargin)

image thumbnail

updated 1 year ago

cusip2isin.m by Guillaume Nolin

This function converts 9-digit CUSIPs into 12-digit ISIN codes (finance, security identifiers, isin)

cusip2isin(country,cusip)

image thumbnail

updated 1 year ago

Arbitrage-Free Smoothing of the Implied Volatility Surface by Philipp Rindler

Function to smooth call option prices and implied volatilities free of static arbitrage. (implied volatility, option pricing, finance)

Arbitrage-free Smoothing of the Implied Volatility Surface

...

evaluateSpline(u, tau, g, gamma, close, strike, ...

image thumbnail

updated 1 year ago

BTC-e trade api by wout

This BTC-e trade api can be used to automatically trade on btc-e using their api. (btce, sha512, data export)

ActiveOrders(varargin)

CancelOrder(varargin)

GetInfo()

image thumbnail

updated 1 year ago

Rolling Window FIGARCH Forecast by Sarunas Girdenas

This code uses rolling window FIGARCH model estimates to compute forecasts. (figarch, finance, econometricstimeserie...)

figarch_forecast(filename1,filename2)

image thumbnail

updated 1 year ago

Semideviation by Abdulaziz Alhouti

Estimates the downside and upside deviations (finance, investment, statistics)

[LowerSTD UpperSTD]=semistd(x)

image thumbnail

updated 1 year ago

Download Daily Data from Google and Yahoo! Finance by Michael Weidman

Provides functions for getting data from both data sources as well as helper utility functions (finance, google finance, stock prices)

calculateAdjustedClose(closeDates, closePrices, dividendD...

convertGoogleToYahooTickers( googleTickers )

convertGoogleToYahooTickers( googleTickers )

image thumbnail

updated 1 year 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 1 year ago

Predictive model calibration by Michael Weidman

A script exploring 3 useful concepts in predictive models (monte carlo, bootstrap, bootstrapping)

plotCalibrations(pctThresholds, calib1, calib5, calib10, ...

plotForecasts(simPrices, simStartDate, actualPrices)

CalibrationScript.m

image thumbnail

updated 1 year ago

ARMA MODEL by Wilson Amoretty Palmeiro

This type of model help us to predict the share price (finance)

ARMA.m

image thumbnail

updated 1 year ago

MATLAB for R Users in Computational Finance by Ameya Deoras

Ameya Deoras (view profile)

Learn how to use MATLAB and R together to tackle your computational needs (r, rstudio, time series)

Backtest Moving Average RSI Combo Strategy

Optimizing Market Risk using Copula Simulation

blsapp()

image thumbnail

updated 1 year ago

CVaR Portfolio Optimization by Seth DeLand

Seth DeLand (view profile)

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

Algorithmic Trading | Moving Average Crossover Strategy with WFAToolbox by WFAToolbox

The classical technical analysis strategy for an advanced algorithmic trading GUI - WFAToolbox (finance, gui, trading)

MAcross_strategy(x,price)

image thumbnail

updated 1 year ago

Adaptive Arrival Price by Julian Lorenz

Efficient frontier of single update arrival price model (finance, optimization, mathematics)

EV(k0, k, mu, t, I)

OptimizeSingleUpdate(I, kstatic, mu, t)

arrivalprice_singleupdate.m

image thumbnail

updated 1 year ago

Algorithmic Trading with Bloomberg EMSX and MATLAB by Nicole Wilson

Files used in the webinar which can be viewed at http://www.optinum.co.za/webinars/contact_main.php (finance, demo, webinar)

Algorithmic Trading with MATLAB and Bloomberg EMSX: Onlin...

Algorithmic Trading with MATLAB: Intraday trading

Bloomberg EMSX API: Simple Examples

image thumbnail

updated 1 year ago

South African Public Holidays by Nicole Wilson

Returns dates corresponding to non-trading days for the Johannesburg Stock Exchange in South Africa (finance, dates, function)

holidaysRSA(varargin)

Contact us