v0.2.0 — Production Ready — 605/605 Tests Passing

Stop Trading onNoise.GetQuant-GradeSignalsin Terminal.

Walk-forward validation. Monte Carlo simulation. Professional backtesting.Without the $500/month platform fee.

diffusion-zones — bash — 80x24
100% Test Coverage
TypeScript Strict Mode
MIT License
scroll
capabilities

Everything you need.Nothing you don't.

Not another black box. Every calculation is transparent. Every strategy is documented.Run `dz --help` or check the source — it's all open.

6+ Trading Strategies

Conservative, Moderate, Aggressive, Multi-Timeframe, Adaptive, Regime-Switching. Each optimized for different market conditions.

momentummean-reversionregime-detect
🔬

Professional Backtesting

Walk-forward validation eliminates look-ahead bias. Monte Carlo simulation with 1000+ iterations. 95% confidence intervals on all metrics.

walk-forwardmonte-carlobootstrap
🛡️

Risk Management

Kelly Criterion position sizing. Expected Shortfall (ES) risk metrics. Portfolio heat tracking. Recovery Mode for drawdown protection.

kelly-criterionexpected-shortfallportfolio-heat
📊

Market Regime Detection

Automatic ADX-based trend/range classification. Volatility regime detection. Strategy adapts to market conditions — no manual tuning.

adx-trendvolatility-regimeadaptive
📈

Volume Analysis

True Range calculations. ATR percentile rankings. Volume-weighted signals. Volume filter improves win rate by 21.7%.

atrvwapvolume-surge
🗂️

21 Built-in Watchlists

Tech, AI, Crypto, Semis, Gold, Treasury + custom lists. Load with `dz --watchlist tech` or create your own in YAML.

pre-builtcustom-yamlmulti-asset
workflow

Three commands.Full stack.

01
bash
$ dz SPY NVDA TSLA

Generate Signals

Run the CLI with your symbols. Get buy/sell zones, trend direction, and confidence scores in seconds.

02
bash
$ dz backtest SPY --days 90 --monte-carlo

Backtest Strategies

Validate strategies with walk-forward analysis. Monte Carlo simulation gives you confidence intervals.

03
bash
$ dz optimize QQQ --strategy regime-switching

Optimize Parameters

Grid search finds the best parameters for each symbol. Walk-forward validation prevents overfitting.

// more commands

$ dz --watchlist tech

Load pre-built watchlist

$ dz multibacktest SPY QQQ --strategies conservative,aggressive

Compare strategies across symbols

$ dz backtest AAPL --volume-analysis --trend-detection

Enable advanced filters

$ dz --output json > signals.json

Export for automation

autonomous evolution

17 Claude Code Agents

The full version includes 17 specialized agents that continuously evolve the trading system—from research and development to live trading and risk monitoring.An autonomous software organization at your command.

17
Autonomous Agents
Ready to evolve your system

Orchestration

📋
Triage Manager
Consolidates QA & Quant reports, groups issues, maintains state
🎮
Engineering Director
Orchestrates all agents, minimizes context, tracks state

Development

🔧
Staff Engineer
TDD implementation in isolated worktrees with clean code patterns
🌐
Full Stack Engineer
Builds and maintains the Deno/Fresh marketing website
👷
Senior Engineer
Extracts issues, implements fixes in isolated worktree, merges to master

Quality

Quality Gate
Fast-fail checks (fmt → lint → types → tests) before merge
🧪
QA Tester
Functional testing, reports UX issues and edge cases
🧹
AI Slop Cleaner
Detects and fixes AI-generated code anti-patterns automatically

Trading

📊
Quant Review
Validates trading logic, proposes strategies, benchmarks performance
🛡️
Risk Sentinel
Monitors drawdown, enforces limits, triggers circuit breakers
📈
Performance Analyst
Regime detection, return attribution, timing analysis
📔
Trade Journal
Tracks manual trades, analyzes psychology, compares to system
💡
Trade Advisor
Runs Diffusion Zones to find high-conviction trades with Kelly sizing

Research

🔬
Alpha Researcher
Discovers new edges, tests hypotheses, proposes profitable strategies
🎯
Parameter Optimizer
Systematic grid search to find profitable strategy parameters

DevOps

🚀
Release Manager
Automates semantic versioning, binaries, changelogs, quality checks

Marketing

📢
Marketing Strategist
Generates content across Twitter, YouTube, Reddit, Blog

Get lifetime access to the complete agent ecosystem and evolve your trading system alongside professional quant engineers.

Get Full Access
pricing

Professional tools.Retail pricing.

One license. Everything included. No hidden fees.

MONTHLY
$19/month

Cancel anytime

  • All 6+ trading strategies
  • Unlimited backtesting
  • Parameter optimization
  • Walk-forward validation
  • Monte Carlo simulation
  • Email support
Subscribe — $19/mo
BEST VALUE
$499once

~21 months to break even

  • Everything in Monthly
  • Free updates for 1 year
  • Priority support
  • Custom strategy templates
  • Early access to new features
  • Private Discord community
  • 17 Claude Code Agents
Get Lifetime — $499

Powered by Polar.sh • Secure checkout • Instant access

faq

Questions?We have answers.

faq.txt

Alpaca Markets API (free tier available: 200 req/min). Sign up at alpaca.markets — takes 2 minutes. No API key? No problem — the CLI guides you through setup.

Ready to trade withstatistical confidence?

Join serious traders who use quant-grade tools without the enterprise price tag.Start your subscription or get lifetime access today.