Phasefold
Model library

Explore the models

53 models in 11 categories. Choose a category to see its models, or browse them all. Opening and downloading models is part of the membership.

Library guide

How the models are organised

Each category answers a different kind of question. Every model opens on simulated data and has a Tutorial button at the top that points at each part of the screen, and a Trading use cases button with worked examples, on fictional securities, of how a trader might read the model.

  1. 01

    Basics

    Visual, intuitive models for the fundamentals: how much an asset moves (volatility), how assets move together (correlation), how far they fall (drawdowns), how returns are distributed and how mixing assets changes risk.

    Questions it helps with
    • How volatile has this asset been?
    • Which of my assets move together?
    • How deep and how long were past declines?

    Good first model: Correlation constellation

  2. 02

    Volatility & Risk

    Different ways to measure volatility, test risk models against what actually happened, and see how risk behaves in rising versus falling markets.

    Questions it helps with
    • Is my volatility estimate reliable?
    • How often did losses exceed a risk limit?
    • Does this asset fall harder with the market than it rises?

    Good first model: Range-based volatility

  3. 03

    Statistical Tests

    Formal tests from academic research: random-walk tests, confidence in Sharpe ratios, regime detection and long-memory tests. They tell you how much evidence the data really contains.

    Questions it helps with
    • Do returns behave like a random walk?
    • How sure can I be about a Sharpe ratio?
    • Has the market switched between calm and turbulent regimes?

    Good first model: Sharpe ratio confidence

  4. 04

    Cross-Asset & Systemic

    Models that look at many assets at once: how unusual market days were, how connected markets are, how volatility spreads from one asset to another, and how pairs of related assets track each other.

    Questions it helps with
    • Is the market behaving unusually right now?
    • Which assets transmit volatility to the others?
    • Which pairs have tracked each other most closely?

    Good first model: Turbulence & absorption

  5. 05

    Portfolio Construction

    Research methods for splitting money across assets using risk, correlations and better statistical estimates. They show the weights each method produces and how those portfolios behaved, for learning and comparison only.

    Questions it helps with
    • How do risk-parity methods differ from equal weights?
    • Does a better covariance estimate give steadier portfolios?
    • Why does textbook optimisation give extreme weights?

    Good first model: Risk-based allocation

  6. 06

    Factors & Exposure

    Models that break returns into exposures: to the market (beta), to investment styles, to hidden statistical factors, and to the overnight versus trading-day periods.

    Questions it helps with
    • How sensitive is this asset to the market?
    • What styles has this fund resembled?
    • Did returns come overnight or during the day?

    Good first model: Shrunk beta estimator

  7. 07

    Trend & Momentum

    Descriptive views of trends (where prices sit versus their past) and hypothetical replays of well-known research rules on your own data. They describe the past and never give buy or sell signals.

    Questions it helps with
    • Which assets have had positive trailing returns?
    • How close is each price to its 52-week high?
    • How did a published trend rule behave historically?

    Good first model: Momentum turning points

  8. 08

    Relative Value

    Models that measure how far related assets have drifted apart: cointegrated pairs and factor-adjusted residuals, with the spreads, half-lives and z-scores used in published relative-value research.

    Questions it helps with
    • Which pairs have a stable long-run relationship?
    • How stretched is a spread compared with its history?
    • Which stocks have drifted furthest from their factor-predicted level?

    Good first model: Cointegrated pairs

  9. 09

    Calendar & Timing

    Research on timing patterns: same-month seasonality, the turn of the month and the split between overnight and trading-day returns, measured on your own assets with significance tests.

    Questions it helps with
    • Have returns clustered around month-end?
    • Does an asset tend to do well in the same month each year?
    • Is the return earned overnight or during the day?

    Good first model: Turn-of-the-month flows

  10. 10

    Strategy & Execution

    Tools for testing trading ideas honestly: trading costs estimated from prices, the probability that a backtest is overfitted, and what stop-loss rules really did to return and risk.

    Questions it helps with
    • How much do trading costs take from this idea?
    • Is my best backtest just luck?
    • Did a stop-loss rule help or hurt on this asset?

    Good first model: Backtest overfitting lab

  11. 11

    Machine Learning & Forecasting

    Experiments that reproduce recent machine-learning findings on your data: how complexity and regularisation affect out-of-sample results, and how linear models compare with boosted trees for ranking returns.

    Questions it helps with
    • Can more complex models predict better out of sample?
    • Do trees rank returns better than linear models?
    • Which price signals does a model rely on?

    Good first model: Virtue of complexity

All models are informational tools. They do not give personal recommendations or tell you what to buy or sell.

← All categories

Basics

Start here: the core ideas every other model builds on.

6 models

Volatility & Risk

Measure, forecast and stress-test risk.

7 models
Volatility & RiskMembers

Range-based volatility

Compares five ways of measuring volatility, including ones that use each day's high, low and opening price.

Use it to check whether your volatility estimate is robust and how much risk arrives overnight.

Open model →
Volatility & RiskMembers

GARCH vs EWMA VaR backtest

Forecasts tomorrow's volatility with two classic models and checks how often real losses broke through their risk limit.

Use it to test whether a risk model would have underestimated losses on your asset.

Open model →
Volatility & RiskMembers

Volatility-scaled exposure

Shows what happens when exposure is reduced after volatile months and increased after calm ones (hypothetical).

Use it to see how much steadier risk could have been and when the scaling mattered most.

Open model →
Volatility & RiskMembers

Downside and upside beta

Measures how much an asset moved with the market in falling periods versus rising periods.

Use it to spot assets that fell harder with the market than they rose with it.

Open model →
Volatility & RiskMembers

Rough and persistent volatility

Measures how jagged volatility is day to day and how long its swings last.

Use it to compare the short-term roughness and long-term memory of volatility across assets.

Open model →
Volatility & RiskMembers

Volatility forecasting: HAR vs ML

Forecasts volatility one day, one week and one month ahead with a classic model and a machine-learning model.

Use it to size positions and set risk limits from a forecast, and see which model has been more accurate.

Open model →
Volatility & RiskMembers

Downside-volatility scaling

Scales exposure by downside volatility only and compares it with total-volatility scaling.

Use it to reduce exposure after the kind of volatility that hurts and compare the effect on risk and return.

Open model →

Statistical Tests

Check whether a pattern is real or just chance.

6 models
Statistical TestsMembers

Variance-ratio test

Tests whether an asset's returns behaved like a random walk or showed trends or reversals.

Use it to check whether apparent patterns in returns are statistically meaningful at different horizons.

Open model →
Statistical TestsMembers

Sharpe ratio confidence

Shows how uncertain a historical Sharpe ratio is, after adjusting for fat tails and for how many alternatives were tried.

Use it to judge how much evidence a track record really contains before trusting it.

Open model →
Statistical TestsMembers

Two-regime Markov switching

Splits history into a calm and a high-volatility regime and estimates the probability of each on every date.

Use it to see when the market switched between regimes and how long each regime typically lasted.

Open model →
Statistical TestsMembers

Long-memory test (modified R/S)

Tests whether returns or volatility have long memory, where distant days still influence each other.

Use it to check whether volatility clusters persist for months, not just days.

Open model →
Statistical TestsMembers

Is time-series momentum there?

Tests whether past returns really predicted future returns for your assets, with a bootstrap that accounts for chance.

Use it to separate genuine predictability from patterns explained by average returns or luck.

Open model →
Statistical TestsMembers

Statistical jump model regimes

Labels bull and bear regimes with a model that penalises switching, using only past data at each date.

Use it to adjust exposure by regime with fewer whipsaws and compare switching speed with stability.

Open model →

Cross-Asset & Systemic

See how a whole group of assets behaves together.

5 models

Portfolio Construction

Compare published methods for combining assets.

4 models

Factors & Exposure

Understand what drives an asset's returns.

4 models

Trend & Momentum

Describe trends and study published trend rules.

11 models
Trend & MomentumMembers

Time-series momentum

Shows each asset's trailing-return trend and replays a well-known research trend rule on your data (hypothetical).

Use it to see how persistent trends have been across your assets.

Open model →
Trend & MomentumMembers

52-week high proximity

Shows where each price sits relative to its highest price of the last 52 weeks.

Use it to compare how close assets are to their highs and how unusual that is for each one.

Open model →
Trend & MomentumMembers

10-month moving-average study

Compares each asset's monthly price with its 10-month average and replays a famous study on your data (hypothetical).

Use it to see how often assets traded above their long-term average and how drawdowns compared.

Open model →
Trend & MomentumMembers

Momentum turning points

Labels each month as Bull, Correction, Bear or Rebound using a slow and a fast trend signal.

Use it to understand market cycles and why trend signals struggle at turning points.

Open model →
Trend & MomentumMembers

Cross-asset momentum signals

Compares an asset's own trend with the signal from another asset class, such as bonds for equities.

Use it to confirm or question a trend view with a second, independent signal.

Open model →
Trend & MomentumMembers

Factor momentum

Shows whether investment styles such as value or quality did better after strong years than after weak ones.

Use it to decide how to tilt between styles and avoid averaging into a lagging one.

Open model →
Trend & MomentumMembers

Short-term momentum and volume

Splits last month's winners and losers by trading volume to separate continuation from reversal.

Use it to read whether a recent move came with the volume that historically signalled follow-through.

Open model →
Trend & MomentumMembers

Trend factor and moving-average distance

Combines moving averages from days to years into one trend score per stock and ranks your universe.

Use it to rank a watchlist by trend strength and check each name's moving averages.

Open model →
Trend & MomentumMembers

Trend rules compared

Shows that momentum, moving-average and crossover rules are weighted sums of past returns and compares them side by side.

Use it to pick a trend rule by its behaviour, signals and trading frequency rather than its name.

Open model →
Trend & MomentumMembers

Residual momentum

Ranks stocks on the part of their past return that the market does not explain.

Use it to separate stock-specific strength from market moves and compare crash risk with ordinary momentum.

Open model →
Trend & MomentumMembers

Crypto time-series momentum

Tests whether a crypto-asset's weekly return helped predict the following weeks and replays a weekly trend rule.

Use it to frame crypto entries and exits with a horizon the data supports and see the drawdowns involved.

Open model →

Relative Value

Compare assets with each other instead of with cash.

2 models

Calendar & Timing

When in the month, the year or the day returns arrive.

3 models

Strategy & Execution

Check whether a strategy survives costs, overfitting and stops.

3 models

Machine Learning & Forecasting

Modern machine-learning research, explained visually.

2 models