// RESEARCH & STRATEGY

Research & Strategy

Factor research, signal generation, and strategy design-from hypothesis to deployable alpha.

Quantitative Trading

Aluminum Smelting Cointegration Strategy In joinyoung

A step-by-step implementation of a Bollinger Band z-score mean-reversion strategy in joinyoung based on a hypothesized cointegrating relationship between aluminum producer ARNC and natural gas ETF UNG, demonstrating that the CADF test fails to reject the null of no cointegration while still serving as a flexible framework for multi-asset cointegration backtesting.

Time Series Analysis

Arima Garch Trading Strategy On The Sp500 Stock Market Index Using R

A step-by-step R tutorial that combines ARIMA and GARCH models into a rolling-window directional trading strategy on the S&P500, using the rugarch package to fit ARMA+GARCH(1,1) models with an sged error distribution over a 500-day window, forecasting next-day return direction, correcting for look-ahead bias with a Python script, and backtesting the resulting long/short signals against a Buy-and-Hold benchmark from 1952 to 2015.

Derivatives Pricing

Asian Option Pricing With C++ Via Monte Carlo Methods

A step-by-step guide to pricing discrete arithmetic and geometric Asian options in C++ using Monte Carlo simulation—covering the object-oriented PayOff and AsianOption class hierarchies, Box-Muller Gaussian random number generation, geometric Brownian motion path construction, and a main program that discounts the averaged payoff to obtain the option price.

Trading Strategies

Backtesting An Intraday Mean Reversion Pairs Strategy Between SPY And IWM

A step-by-step Python implementation of an intraday mean reversion pairs trading strategy between SPY and IWM—covering 1-minute bar alignment, rolling OLS hedge ratio estimation, spread z-score construction, long/short signal generation, portfolio equity curve calculation, and lookback-period sensitivity analysis.

Strategy Backtesting

Backtesting A Forecasting Strategy For The S&P500 In Python With Pandas

Combine machine learning, time series forecasting and object-oriented backtesting in Python to build and test an intraday S&P 500 trading strategy on the SPY ETF, using Pandas and scikit-learn to predict daily market direction and simulate daily long/short positions.

Strategy Backtesting

Backtesting A Moving Average Crossover In Python With Pandas

A step-by-step implementation of a long-only moving average crossover backtester using Pandas and Python, covering signal generation, portfolio construction, equity curve plotting, and validation against the classic Zipline example on AAPL historical price data.

Quantitative Trading

Cointegrated Time Series Analysis For Mean Reversion Trading With R

A comprehensive guide to cointegrated time series analysis for mean reversion trading, covering core theory of stationarity, three key unit root tests, and step-by-step R simulation to identify valid cointegrated asset pairs for statistical arbitrage strategies.

Quant Strategy

Dynamic Hedge Ratio Between ETF Pairs Using The Kalman Filter

A practical guide to using the Kalman Filter for dynamically estimating time-varying hedge ratios between cointegrated ETF pairs, replacing fixed or rolling regression parameters with Bayesian online linear regression to improve pairs trading strategy adaptability and profitability.

Quant Strategy

Hidden Markov Models For Regime Detection Using R

A practical guide to implementing Hidden Markov Models in R with the depmixS4 package for market regime detection, covering simulated two-regime return data, fitting HMM on real US equities data, and comparing results between 2-state and 3-state models for quant strategy risk management.

Strategy Development

How To Identify Algorithmic Trading Strategies

A complete practical guide to identifying, sourcing, evaluating and selecting profitable algorithmic trading strategies, covering personal trading preference alignment, public strategy idea pipelines, core performance metrics assessment, and the full workflow leading to backtesting and implementation

Unsupervised Learning

K Means Clustering Of Daily Ohlc Bar Data

A practical guide to applying K-Means unsupervised clustering on daily OHLC candlestick data, covering algorithm principles, simulated data validation, open-normalized price processing, 3D cluster visualization, and construction of follow-on transition matrices for potential trading signal development.

Quantitative Trading

Market Regime Detection Using Hidden Markov Models In Qstrader

This article implements a Hidden Markov Model as a risk-managing market regime filter inside the QSTrader framework, pairing it with a simple moving average crossover trend-following strategy to block trades during high-volatility regimes, improve Sharpe ratio, and eliminate unprofitable trend trades in turbulent market periods.