REPLYOPSAI RESEARCH NOTE
FAILURE ANALYSIS

Trading Bot Fees: How Costs Destroy Small Edges

A high-turnover bot can be directionally right and still lose after costs. Small edges are especially sensitive to fees and execution.

Four cost layers

Explicit exchange fees are only one layer. Bid-ask spread, slippage and adverse execution can add costs that are harder to see in a simple backtest.

Turnover amplifies costs

The more frequently a system enters and exits, the more often it pays the execution tax. Compare expected edge per trade with realistic round-trip cost.

Gross PnL is not enough

Record net PnL using a consistent cost model. If a strategy works only when costs are ignored, the simulated edge is not operationally useful.

The break-even equation

Net edge per trade ≈ gross edge − fees − spread − slippage − financing

If the remaining edge is small relative to uncertainty in execution costs, the strategy is fragile even when the backtest remains positive.

COSTHOW TO TEST IT
Exchange feeUse the applicable maker/taker schedule rather than zero-cost fills.
SpreadCharge the strategy for crossing the bid/ask when its order type requires it.
SlippageStress results with worse fills, especially during volatile entries and exits.
FinancingInclude funding or borrowing where the instrument requires it.
TurnoverMeasure total cost per day and per closed trade, not only percentage fee.

Stress the assumption

Evaluate whether the conclusion survives less favorable fees or slippage. This is a robustness check, not a forecast of exact live execution.

Then test forward

Forward PAPER data can expose turnover and behavior missed during development.

PAPER testing guide →