● Paper Trading · Real Markets · No Real Money

A paper-trading bot powered by quant models and machine learning.

AlphaGlyph trades live market prices with simulated capital — driven by classical quantitative strategies and a multi-modal ML transformer — then validates every result with the same statistical tests real quant funds use to separate genuine skill from luck.

Quant strategies · ML transformer · Statistical validation · Live paper trading

Strategy Validation Report
Statistically Significant
Monte Carlo — 92nd percentile of 1,000 resampled paths
Deflated Sharpe — 96.4% confidence across 5 strategies
Fama-French — +6.8%/yr alpha (|t| = 2.31, significant)
4
Strategies
1,000
Monte Carlo Paths
3
Validation Tests
99
Passing Tests
$0
Real Money at Risk

A complete quantitative toolkit.

Every indicator and statistical method is implemented from first principles — no black-box libraries.

Adaptive Regime Detection

ADX, Bollinger Band Width, and realized volatility classify the market into four regimes and automatically select the optimal strategy.

Trailing Stops & Kelly Sizing

A trailing stop locks in gains as price climbs; the Kelly Criterion sizes each position by your historical edge, not a fixed percentage.

Monte Carlo Validation

Bootstrap-resamples the return sequence 1,000 times and ranks the real result against the distribution of random paths.

Deflated Sharpe Ratio

Corrects the Sharpe ratio for multiple-testing bias and fat tails (Lopez de Prado, 2014) — tells you if the result is real or just luck.

Fama-French Attribution

Regresses returns against market, size, and value factors to separate genuine alpha from passive factor exposure any ETF could replicate.

Markowitz Optimizer

Computes the efficient frontier via quadratic programming and returns the max-Sharpe and minimum-variance portfolios with a correlation heatmap.

Most backtests stop at a Sharpe ratio. This one asks if it's real.

Any strategy can look good on historical data by chance. AlphaGlyph runs three independent statistical tests and synthesizes them into a single verdict.

  • 01

    Resample reality

    1,000 bootstrap paths build a distribution — your result either stands out or it doesn't.

  • 02

    Correct for luck

    The Deflated Sharpe Ratio penalizes testing many strategies, the way good science corrects for multiple comparisons.

  • 03

    Isolate true skill

    Factor decomposition strips out market, size, and value exposure to reveal whether any genuine alpha remains.

stats.py — deflated_sharpe_ratio()
# Probability the Sharpe is real after
# testing N strategies on noisy data
def deflated_sharpe_ratio(returns, n_strategies):
    sr   = annualized_sharpe(returns)
    skew = scipy.stats.skew(returns)
    kurt = scipy.stats.kurtosis(returns)

    # expected max Sharpe from pure luck
    sr_star = expected_max_sharpe(n_strategies)

    return psr(sr, sr_star, skew, kurt)
    # → 0.964  ✓ significant

See it trade.

Backtest a strategy across any date range and watch it paper-trade in seconds, check the statistical verdict, then see the bot running live — no account required.