Fee Modeling

How broker commissions and exchange fees are applied to backtest results.

How It Works

Real-world SPX option trading involves two types of cost beyond the bid-ask spread: broker commissions and CBOE exchange fees. These costs vary based on the option’s premium at the time of each transaction, and they add up significantly over hundreds of trades.

Rather than modeling broker commissions and exchange fees as separate line items, the platform uses a premium-based tier system where you configure the combined all-in cost per tier. This single structure can accurately represent any broker’s fee schedule.

Fee tiers apply to both same-day (0DTE) and multi-day backtests, with the same per-contract, per-leg, per-transaction semantics in each.

Note: fee tiers previously applied only to same-day (0DTE) backtests — multi-day backtests recorded no fees at all, even with tiers configured. Multi-day trades now record fees too, so re-running a saved multi-day backtest with fees configured will show a fee total where there was none before.

Premium-Based Tiers

You configure one or more tiers, each with a premium threshold and a fee amount. When a leg is opened or closed, the engine looks up its premium and applies the matching tier’s fee.

The fee is charged per contract, per leg, per transaction. Opening and closing are separate transactions, so each leg is charged twice over the life of a trade. A 2-leg credit spread = 4 fee lookups per contract (2 legs × 2 transactions).

Tiers are checked in ascending order of the premium threshold. The first tier whose threshold is ≥ the leg’s premium is used. The last tier (with no threshold) is the catch-all for higher premiums.

Example Schwab configuration:

Premium thresholdFee per transactionBreakdown
= $0.00$0.00Expires worthless — no transaction, no fee
≤ $0.05$0.36Schwab waives commission; CBOE exchange fee only
≤ $1.00$1.01$0.65 commission + $0.36 CBOE exchange fee
Any (catch-all)$1.10$0.65 commission + $0.45 CBOE exchange fee

How Premiums Are Determined

The premium used for fee lookup depends on when and how the leg is transacted:

EventShort leg premiumLong leg premium
OpeningBid at entry (what you sold for)Ask at entry (what you paid)
Closing (active exit)Ask at exit (cost to buy back)Bid at exit (proceeds from selling)
Expiry (OTM)$0 (worthless)$0 (worthless)
Expiry (ITM)Intrinsic valueIntrinsic value

This means a credit spread that expires worthless (max profit) has $0 premium on both legs at expiry, matching the $0 worthless tier — truly $0 in fees for that side of the round trip.

When a position is closed before expiry, the premium for the fee lookup is taken from the nearest available quote within a couple of minutes of the exit. Quote timestamps don’t always align exactly with the minute a stop or target triggers, and this tolerance ensures the leg’s real premium — and therefore the correct fee tier — is used.

Note: closing premiums were previously looked up only at the exact exit timestamp. When no quote existed at that precise second, the leg was treated as $0 premium and charged the lowest tier, understating commissions on most active exits. Older backtests with fees configured may show slightly higher (correct) commission totals when re-run.

Multi-day positions work the same way, with one practical difference: because the position may close days or weeks after entry, the opening premiums for the fee lookup are recorded at the moment of entry. Closing premiums come from quotes near the exit time on the day the position closes, or from intrinsic value when the position settles at expiration.

For iron condors managed per side, closing fees for both sides are looked up when the position finishes closing. A side that closed on an earlier day may not have a usable quote at that point and falls into the lowest fee tier — fees on those trades can be slightly understated, never overstated.

Broker Presets

The Profile Settings page includes preset fee configurations for common brokerages. These are approximate all-in costs (broker commission + exchange fee) and should be verified against your broker’s current schedule.

Broker$0 (worthless)≤ $0.05< $1.00≥ $1.00
Schwab$0.00$0.36$1.01$1.10
TastyTrade$0.50$1.15 flat ($0.65 exchange + $0.50 commission avg)
Fidelity$0.00$0.65 flat
Robinhood$0.00$0.50 flat (Gold: $0.35)

Schwab waives their $0.65 commission for options with premium ≤ $0.05, leaving only the CBOE exchange fee of $0.36.

TastyTrade charges $1.00/contract commission to open and $0.00 to close, plus a flat $0.65/contract exchange fee on every transaction. The preset uses per-transaction averages: ($1.00 + $0.00) / 2 = $0.50 commission + $0.65 exchange = $1.15/transaction. Even worthless legs incur $0.50 (the opening commission average).

Fidelity charges a flat $0.65/contract and does not pass through CBOE proprietary index exchange fees to retail customers.

Robinhood charges a flat $0.50/contract ($0.35 for Gold members). Adjust the preset value if you have a Gold membership.

SPX vs SPY/QQQ: Which Fees Apply

The CBOE exchange fee in the presets above is an index option fee: it is charged on SPX (including SPXW), not on ETF options such as SPY and QQQ. So the fee settings in your Profile are used as set for SPX backtests, and SPY/QQQ backtests automatically use the broker commission only:

PresetSPX (per contract)SPY / QQQ (per contract)
Schwab$0.36 – $1.10$0.65 ($0 at ≤ $0.05)
TastyTrade$1.15$0.50
Fidelity$0.65$0.65
Robinhood$0.50$0.00

If you entered your own tiers, the SPY/QQQ schedule is each tier minus the CBOE SPX fee ($0.36 for premiums under $1.00, $0.45 at $1.00 and above), never below $0. A fee you set on the strategy itself (e.g. “$0.65 per contract”) applies to every symbol as typed. The fee line under your results says which schedule was used. The small regulatory fees on ETF options (a few cents per contract) are not included.

Why Premium-Based Tiers?

SPX option fees consist of multiple components: broker commission, CBOE exchange fee, and regulatory fees. Rather than modeling each component separately, the platform uses a unified premium-based tier system.

This design was chosen because the CBOE exchange fee itself is tiered by premium: $0.36/contract for options with premium < $1.00, and $0.45/contract for premiums ≥ $1.00. Since the exchange fee is the dominant variable component, tying the total fee to premium captures the real-world cost structure accurately.

By combining broker + exchange into a single per-tier amount, users can configure any brokerage’s fee structure with just 2–4 tiers:

  • Tier 1: expires worthless (premium = $0) — truly $0, no transaction
  • Tier 2: near-worthless (premium ≤ $0.05) — some brokers waive commission
  • Tier 3: low-premium (< $1.00) — CBOE charges $0.36 exchange fee
  • Tier 4: standard premium (≥ $1.00) — CBOE charges $0.45 exchange fee

Fee Disclaimer

The fee presets are approximate and intended for backtesting purposes only. Actual fees may vary based on your specific account, trading volume, and current broker/exchange fee schedules.

Miscellaneous fees not modeled: The Options Clearing Corporation (OCC) collects an Options Regulatory Fee (ORF) that U.S. options exchanges assess their members in connection with options transactions. This fee is typically small ($0.02–$0.05/contract) and is not included in the tier calculations. Other minor regulatory and clearing fees may also apply depending on your broker.

Always verify your broker’s current fee schedule and adjust the tiers accordingly.

Impact on Results

Fees are computed after monitoring completes and are reported alongside your results rather than deducted from them. They never affect exit timing — the engine triggers profit targets and stop losses based on the position’s actual P&L.

The computed amount appears as a commission field in each trade record, and the sum across all trades is shown as a Total Fees stat in the results summary. Trade P&L, the equity curve, and the aggregate stats are all reported before fees — subtract Total Fees from the net P&L to see your after-fee result.

The same goes for the Best Day and Worst Day stats. Each one shows a day’s total P&L, with the date underneath: all completed trades added up by the day they were entered. Days with no trade and positions still open at the end are left out. For runs whose account is valued at market prices each day, a day’s figure is instead the change in account value from the day before. When fees were charged, these labels read (pre-fee) so you know fees are not yet taken out.

This keeps fee modeling non-destructive: changing your fee tiers changes the reported fee total, but never silently shifts win rates, drawdowns, or exit behavior.

Fee Schedule References

For current fee schedules, refer to your broker’s documentation: