Bob's Bots

Bob's Bot Workshop. Free to Make and Test Profitable, Just Pay for Hosting or Download. Results not guaranteed. Backtests are hypothetical; trading risks loss of capital.

The "Turtles": ~5%/mo, but for only ~4½ yrs. Ours: ~5.2%/mo backtested, drawdowns to −40%.

Trading Fees, Slippage and Funding: The Hidden Costs of Trading Bots

Costs are the main reason trading bots that look profitable lose money live. A bot that trades often pays them on every trade.

Fees

Exchanges charge a taker fee when you take liquidity (market orders, stops) and a lower maker fee when your resting limit order fills. A typical perp taker fee is around 0.035% to 0.06% per side. A round trip (entry and exit) costs double.

Slippage

Your fill is usually a little worse than the last traded price. The gap grows with order size and with thinner, more volatile coins. We model slippage per side and add extra impact for small, illiquid markets.

Funding

Perpetual futures have no expiry, so longs and shorts pay each other a funding rate, usually every 1 to 8 hours. When the market leans long, longs pay shorts. Held for days, funding can cost more than fees. Our backtester charges or credits the actual historical funding rates where the exchange publishes them.

A worked example

Take a bot that makes 200 round trips a month with 0.045% taker fees and 0.05% slippage per side. Each round trip costs about 0.19% of the position. Across 200 trades that is roughly 38% of one position's size every month in costs, before the strategy has made anything. That's why we always show results after costs.

More guides

What Is a Backtest? A Plain-English Guide for Trading Bots · In-Sample vs Out-of-Sample Testing, Explained · How to Read Bob's Bots Backtest Verdicts

Build a bot freeSee tested templates

Results not guaranteed. Backtests are hypothetical; trading risks loss of capital.