# Freqtrade dry run: paper trade with a simulated wallet

> Run Freqtrade in dry-run mode: Docker install, dry_run and dry_run_wallet settings, empty exchange keys, then live prices with no real orders sent.

Canonical: https://tradingagentstack.com/guides/freqtrade-dry-run/

1. [Home](https://tradingagentstack.com/)

2. [Guides](https://tradingagentstack.com/guides/)

# Run Freqtrade in dry-run mode (paper trading with a simulated wallet)

By [Ahsen Rajab (@Satovinci)](https://tradingagentstack.com/about/)

✓ Written from official docs · checked 2026-11-30

Install Freqtrade with Docker, keep dry_run on, set a simulated wallet and run a strategy against live prices without sending orders. Steps from the official Freqtrade docs.

## Key facts

Updated Nov 30, 2026 · every fact links its source · [how we check](https://tradingagentstack.com/methodology/)

- **Live vs paper:** dry-run (paper) and live, self-hosted ([freqtrade.io](https://www.freqtrade.io/en/stable/) · Nov 25, 2026)

- **Orders and safety:** open-source (GPL-3.0) Python bot; runs on your machine with your exchange keys; control via Telegram, freqUI or REST API… ([freqtrade.io](https://www.freqtrade.io/en/stable/) · Nov 25, 2026)

- **Pricing:** free, open source ([freqtrade.io](https://www.freqtrade.io/en/stable/) · Nov 25, 2026)

- **Safety score 60%**: Can trade unattended. ([how it's scored](https://tradingagentstack.com/safety-score/) · Nov 25, 2026)

- **Rate limits:** exchange rate limits ([freqtrade.io](https://www.freqtrade.io/en/stable/) · Nov 25, 2026)

**Tools in this guide**
- [Freqtrade](https://tradingagentstack.com/tool/freqtrade/) [Safety 60%](https://tradingagentstack.com/safety-score/)

Safety scores are calculated from our listing facts. They aren't a ranking, and affiliate links never affect them. [How it works](https://tradingagentstack.com/safety-score/)

## 1. Install with Docker

```
mkdir ft_userdata && cd ft_userdata
curl https://raw.githubusercontent.com/freqtrade/freqtrade/stable/docker-compose.yml -o docker-compose.yml
docker compose pull
docker compose run --rm freqtrade create-userdir --userdir user_data
```

## 2. Create a config and answer yes to dry-run

```
docker compose run --rm freqtrade new-config --config user_data/config.json
```

The interactive questions include whether to enable dry-run. Answer yes. The config is saved as `user_data/config.json`.

## 3. Check the dry-run settings

```
"dry_run": true,
"dry_run_wallet": 1000,
"db_url": "sqlite:///tradesv3.dryrun.sqlite"
```

`dry_run` defaults to `true`. `dry_run_wallet` is the simulated starting balance in your stake currency (default 1000), or a per-currency dictionary like `{"USDT": 1000}`. If you use `"stake_amount": "unlimited"`, set the wallet to a realistic amount so simulated orders match what you'd really trade.

## 4. Leave exchange keys empty

Dry-run doesn't need API keys: the docs show running it with empty key and secret values, and `--dry-run` on the command line strips exchange secrets and simulates trades. Prices still come from the exchange's public data.

## 5. Start the bot

```
docker compose up -d
```

Freqtrade's docs say to start trading with `docker compose up -d`, not `docker compose run`. It starts with the bundled `SampleStrategy`, which exists only to give you ideas. Backtest your own strategy before you trust it.

## 6. Watch results, then decide

Follow trades in the logs, Telegram or FreqUI (enable the API server in the config for the UI). Going live means setting `dry_run` to `false`, using a different `db_url` and adding an exchange key with **trading only, no withdrawal permission**, as Freqtrade's exchange notes advise.

Further reading from TradeBotBench, both sourced to the Freqtrade docs: [give each dry-run its own SQLite file with --db-url](https://tradebotbench.com/blog/freqtrade-dry-run-separate-sqlite-database/), so paper and live trades never share a database, and [why dry-run fills differ from a backtest](https://tradebotbench.com/blog/freqtrade-dry-run-vs-backtest-fills/).

**Which strategy to dry-run?** See how Freqtrade's official strategies do on live prices, with fees: [Strategy Lab](https://tradingagentstack.com/algo-strategies/).

## FAQ

### Does dry-run place real orders?

No. Freqtrade simulates orders and balances against live market data and sends nothing to the exchange.

### Is a dry-run result what I'd get live?

Not exactly. Fills are simulated, so slippage, partial fills and exchange outages show up only in live trading.

## Sources

- [Freqtrade: Quickstart with Docker](https://www.freqtrade.io/en/stable/docker_quickstart/)

- [Freqtrade: Configuration (dry_run, dry_run_wallet)](https://docs.freqtrade.io/en/stable/configuration/)

- [Freqtrade: Start the bot (--dry-run)](https://docs.freqtrade.io/en/stable/bot-usage/)

- [Freqtrade: Exchange notes](https://docs.freqtrade.io/en/stable/exchanges/)

Not financial advice. Trading involves risk; test on paper first.

## Related guides

- [How to connect Claude to Alpaca via MCP](https://tradingagentstack.com/guides/connect-claude-to-alpaca-mcp/)

- [How to connect Claude (or any MCP client) to Interactive Brokers](https://tradingagentstack.com/guides/connect-claude-to-ibkr-mcp/)

- [How to connect Claude to the tastytrade MCP server](https://tradingagentstack.com/guides/connect-claude-to-tastytrade-mcp/)

- [How to connect Claude (and other AI agents) to the Robinhood Trading MCP](https://tradingagentstack.com/guides/connect-claude-to-robinhood-mcp/)

- [How to connect Claude to TradeStation MCP](https://tradingagentstack.com/guides/connect-claude-to-tradestation-mcp/)

- [How to connect Claude (and other AI apps) to the Public hosted MCP server](https://tradingagentstack.com/guides/connect-claude-to-public-mcp/)

- [Connect ChatGPT, Cursor or Claude Code to Interactive Brokers (IBKR MCP)](https://tradingagentstack.com/guides/ibkr-mcp-chatgpt-cursor-claude-code/)

- [How to connect Claude, ChatGPT or Cursor to the Tradier MCP server (paper first)](https://tradingagentstack.com/guides/connect-claude-to-tradier-mcp/)

- [How to connect Claude or Cursor to the moomoo MCP server (OAuth scopes explained)](https://tradingagentstack.com/guides/connect-claude-to-moomoo-mcp/)

- [Set up a 3Commas or Bitsgap bot with a safe exchange API key (no withdrawals, IP whitelist)](https://tradingagentstack.com/guides/safe-exchange-api-key-3commas-bitsgap/)

- [Give an AI agent IBKR paper trading access (TWS API or Web API)](https://tradingagentstack.com/guides/ibkr-paper-trading-api-for-ai-agents/)

[Need a custom AI trading agent built? Broker or exchange integration, MCP setup, Polymarket/Kalshi bots, safety guardrails, VPS deployment. →](https://tradingagentstack.com/go/build?from=/guides/freqtrade-dry-run/&cta=generic-guide)

Building an agent on this? When it trades a public account on Hyperliquid or Polymarket, [get its track record verified](https://tradingagentstack.com/get-your-ai-agent-verified/): we check it from public data on the spot, then list it with a signed record. See [which AI trading bots actually make money](https://tradingagentstack.com/ai-trading-leaderboard/), and how the agents already out there are doing in the [AI trading bot statistics](https://tradingagentstack.com/ai-trading-bot-statistics/).

## For agents

- [When to use this site, and the page index](https://tradingagentstack.com/llms.txt)
- [Sitemap](https://tradingagentstack.com/sitemap.xml)
- [Contact](https://tradingagentstack.com/contact/)
- [MCP server](https://tradingagentstack.com/mcp/)
- [MCP discovery](https://tradingagentstack.com/.well-known/mcp)
