Fee Optimization

🔵 Intermedio · 2025-03-28

Fee Optimization

Every grid trade incurs fees twice: once when buying and once when selling. Sir grid spacing is too tight, fees consume all tu ganancia or even make each trade a net loss. Understanding fee structures and calculating your minimum profitable spacing is essential for a profitable grid bot.

Maker vs Taker Fees

Exchanges charge different fees depending on si tu orden adds liquidity (maker) or removes it (taker).

  • Maker orders are orden limites that sit on the libro de ordenes waiting to be filled. They add liquidity and receive lower fees, typically 0.01-0.05%.
  • Taker orders are orders that execute immediately against existing orders. They remove liquidity and pay higher fees, typically 0.05-0.10%.

Grid bots primarily use orden limites for ambos entries and take-profits. Esto significa most of tu ordens should qualify for maker fees. Sin embargo, during fast market moves or when using orden de mercados for bootstrap, you may pay taker fees.

The Round-Trip Fee

Every completed grid trade involves two transactions: a buy and a sell. The total cost is the sum of ambos fees, called the round-trip fee.

Round-trip fee = Entry fee + Exit fee

Sir maker fee is 0.02% for ambos entry and TP:

  • Round-trip fee = 0.02% + 0.02% = 0.04%

If entry is a maker order (0.02%) but your TP fills as taker (0.05%):

  • Round-trip fee = 0.02% + 0.05% = 0.07%

Minimum Profitable Spacing Formula

Your grid spacing (the percentage distance between adjacent nivel de grids) must exceed the round-trip fee for each trade to be profitable.

Minimum spacing = Round-trip fee + Slippage buffer

The slippage buffer accounts for price impact and rounding. A safe value is 0.02-0.05%.

For a typical setup with 0.02% maker fees:

  • Minimum spacing = 0.04% + 0.03% = 0.07%

For a setup with mixed maker/taker:

  • Minimum spacing = 0.07% + 0.03% = 0.10%

Any grid spacing below this number means estas paying el exchange to trade, not earning profit.

Calculating Your Grid Spacing

Grid spacing as a percentage is:

Spacing % = (Grid high - Grid low) / Grid levels / Mid price x 100

Ejemplo: Grid low = $90, Grid high = $110, Levels = 40, Mid price = $100

  • Spacing = ($110 - $90) / 40 / $100 x 100 = 0.50%

This 0.50% spacing is well above the 0.07% minimum, leaving 0.43% net profit per trade.

The Fee-Spacing Sweet Spot

Having spacing far above the minimum is not always better. Wider spacing means fewer trades. El objetivo is to find the sweet spot where:

  1. Each trade is comfortably profitable (spacing > 2x minimum).
  2. Trades occur frequently enough to generate meaningful total returns.
  3. Capital is deployed efficiently across el grid.

A practical target is spacing of 3-5x the round-trip fee. This provides a healthy margin on each trade while keeping frequency reasonable.

Round-trip FeeMinimum SpacingRecommended Spacing
0.04%0.07%0.15-0.25%
0.07%0.10%0.25-0.40%
0.10%0.13%0.35-0.50%
0.15%0.18%0.50-0.75%

Reducing Fee Impact

Several strategies can reduce fee impact on your grid bot:

Use orden limites exclusively. El bot places limit orden de compras below market and limit sell (TP) orders above market. Both should fill as maker orders in normal conditions.

Avoid unnecessary bootstrap orden de mercados. Market orders for missed nivel de grids during startup pay taker fees. Sir grid is not time-sensitive, consider placing orden limites and waiting for fills instead.

Check fee tiers. Many exchanges offer volume-based fee discounts. Altaer 30-day trading volume can reduce your fees significantly, which directly improves grid profitability.

Account for tasa de financiacions. On futuros perpetuos, you also pay or receive funding every 8 hours. Sustained negative funding can erode grid profits. Factor this into your cost calculations for positions held longer than a few hours.

Resumen

  • Every grid trade pays fees twice (compra y venta), so your spacing must exceed the round-trip fee plus a slippage buffer.
  • Calculate your actual spacing percentage and verify es at least 2-3x your round-trip fee for comfortable profitability.
  • Use maker (limit) orders for ambos entries and exits para minimizar fee costs.

Siguiente Paso

Learn how leverage affects your grid profitability and risk in the Leverage Selection Guide.

✨ Te fue util este articulo?

Haz tus preguntas en Discord →