Back to Doccr
Desktop App
100% Free ForeverRuns on Your ComputerZero Subscription Fees

Doccr Backtester

Free Strategy Backtesting & Live Bar Replay Engine.

Practice trading market movements bar-by-bar, simulate automated strategies, and measure your quantitative edge—completely free, unlimited, and running securely on your own machine.

Already Running? Open Studio(:38477)

Everything You Need to Backtest Like a Pro

No restricted timeframes, no paywalls, and no subscription limits.

Live Bar Replay Engine
Rewind time on any chart. Step forward candle-by-candle, adjust replay speed, practice simulated paper trades, and hone your execution without risking real capital.
Pro Candlestick Charts
Clean, high-speed charting powered by TradingView Lightweight Charts, Vela Lux Algo, and OpenAlgo. Includes trendlines, support zones, Fibonacci, and technical indicators.
Pre-Built Strategies
Test classic and modern algorithms in 1 click: SMA Crossover, EMA Ribbon Trend, RSI Mean Reversion, Bollinger Bands Breakout, and MACD Momentum.
Custom Data Drag & Drop
Easily upload historical CSV or JSON candle data exported from TradingView, Binance, MetaTrader, or Yahoo Finance. Instant parsing with zero configuration.
Deep Alpha Analytics
Review your win rate %, net profit, maximum drawdown %, profit factor, and compare your equity curve against buy-and-hold benchmarks.
100% Private & Offline
Your trading strategies, uploaded datasets, and performance history stay strictly on your personal computer. Zero cloud latency and complete privacy.
Beginner Friendly

How to Run on Your Computer

Doccr Backtester runs inside Docker. Think of Docker as an app player that lets you run the backtester and its database securely with a single click—no technical setup required.

1
Download & Install Docker Desktop
If you already have Docker installed, you can skip to Step 2.

Docker Desktop is a free application that allows your computer to run containerized software safely and effortlessly.

After installing, open Docker Desktop and wait until the whale status indicator at the bottom turns green or shows "Engine running".
2
Launch the Backtesting Studio
Copy and paste the command into your computer's terminal.
Where to paste this command:

Press ⊞ Windows Key, type PowerShell or Command Prompt, press Enter, and paste the command below:

1-Minute Quickstart Command
curl -O https://media.doccr.in/docker-compose.prod.yml && docker compose -f docker-compose.prod.yml up -d

What happens when you run this?

  • Docker automatically downloads the official public images (ajmalshahabudeen/doccr-backtesting-web and doccr-backtesting-worker).
  • The database and charting server automatically configure themselves in the background with zero prompts.
  • Usually takes less than 45 seconds on average broadband.
Prefer creating the docker-compose.yml file manually?▼

1. Create a new folder on your computer named doccr-backtest.
2. Inside that folder, create a text file named docker-compose.yml and paste this text:

# Doccr Backtesting Studio - Standalone Docker Setup
# Save this file as: docker-compose.yml
# Then in terminal run: docker compose up -d

services:
  postgres:
    image: postgres:16-alpine
    container_name: doccr-backtesting-postgres
    restart: unless-stopped
    environment:
      POSTGRES_USER: doccr
      POSTGRES_PASSWORD: doccr_secure_pass
      POSTGRES_DB: doccr_backtesting
    ports:
      - "38432:5432"
    volumes:
      - doccr_backtest_pgdata:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U doccr -d doccr_backtesting"]
      interval: 5s
      timeout: 5s
      retries: 5

  redis:
    image: redis:7-alpine
    container_name: doccr-backtesting-redis
    restart: unless-stopped
    command: redis-server --appendonly yes
    ports:
      - "38476:6379"
    volumes:
      - doccr_backtest_redisdata:/data
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 5s
      timeout: 5s
      retries: 5

  worker:
    image: ajmalshahabudeen/doccr-backtesting-worker:latest
    container_name: doccr-backtesting-worker
    restart: unless-stopped
    environment:
      REDIS_URL: redis://redis:6379/0
      DATABASE_URL: postgresql://doccr:doccr_secure_pass@postgres:5432/doccr_backtesting
      PORT: 8000
    ports:
      - "8000:8000"
    depends_on:
      postgres:
        condition: service_healthy
      redis:
        condition: service_healthy

  web:
    image: ajmalshahabudeen/doccr-backtesting-web:latest
    container_name: doccr-backtesting-web
    restart: unless-stopped
    environment:
      DATABASE_URL: postgresql://doccr:doccr_secure_pass@postgres:5432/doccr_backtesting
      PYTHON_WORKER_URL: http://worker:8000
      REDIS_URL: redis://redis:6379/0
      PORT: 38477
      STUDIO_PORT: 38455
      NODE_ENV: production
    ports:
      - "38477:38477"
      - "38455:38455"
    depends_on:
      postgres:
        condition: service_healthy
      worker:
        condition: service_healthy

volumes:
  doccr_backtest_pgdata:
  doccr_backtest_redisdata:

3. Open terminal in that folder and run: docker compose up -d

3
Open in Your Web Browser
Your local Backtesting Studio is now live!
Studio Web Address
http://localhost:38477
Open Backtester Now ↗

Bookmark this link in your browser. You can access your charts, datasets, and simulations anytime your Docker container is running.

Helpful Everyday Commands
Manage the application easily whenever you need to start or stop it.
Stop for the day
docker compose stop
Frees up RAM while keeping all your data saved.
Start it back up
docker compose start
Instantly boots the app in under 2 seconds.
View live status & logs
docker compose logs -f
Checks background calculations in real time.

Frequently Asked Questions

Clear answers to common questions about Doccr Backtester.

Is Doccr Backtester really 100% free?
Yes! There are no hidden fees, paid tiers, or monthly subscriptions. You run the full software directly on your own computer.
Do I need to know programming or coding to use it?
Not at all. Once started, Doccr Backtester is a clean web application in your browser. You interact with candlestick charts, dropdown menus, buttons, and sliders just like TradingView.
Can I upload my own custom historical data?
Yes! You can drag and drop any CSV or JSON file containing historical candles (timestamp, open, high, low, close, volume) from brokers, MetaTrader, or crypto exchanges.
What markets are supported out of the box?
Crypto (BTC, ETH, SOL), Stocks (AAPL, NVDA, TSLA, MSFT), Futures (E-mini S&P, Nasdaq, Crude Oil, Gold), Forex (EUR/USD, GBP/USD), and Indices (SPX, NDX, DJI, VIX).
What is Bar Replay mode?
Bar Replay allows you to pick any past date on the chart, hide all future price action, and replay candles one-by-one. You can place simulated paper orders with take-profit and stop-loss targets to practice your trading strategy.
Where is my data stored?
All your backtest results, custom uploaded datasets, notes, and preferences are stored locally in Docker volumes on your machine. Nothing is ever sent to external cloud servers.

Ready to test your trading edge?

Get started in under a minute with Docker and master your strategies with risk-free simulations and bar replay.

Explore Doccr Journal