Trading research guide

How I read a trading log to find out why a strategy lost money

A real options backtest lost 76.5%. Its event log found two bugs, then showed the fills cost $6,045 over mid. Plus the live Public Portfolio Challenge log.

As of 2026-11-16

Backtest as written
-76.5%SPY +7.2%
Paid over mid to open
$6,04548 spreads, after the bug fixes
Live account, Mar to Nov 2026
-4.3%$25,000 to $23,918.57
Explore more topics

TL;DR

A trading log is the record of what the strategy did and why: every signal with the values it compared, every order, every fill and the quote it filled against. It is not a journal of how a trade felt. Read it before you optimize a backtest, and read it again once the strategy trades live.

A four-stock bull call spread system for my Public Portfolio Challenge lost 76.5% in a May to October 2026 backtest. The log showed the spreads were built upside down and one rule closed them every day. Fixed, it still lost 73.0%. The log then showed why: it paid $6,045 more than the quoted mid price to open its spreads. No parameter setting fixes that.

Three backtests, two fixes, one real problem

Value (%)

As writtenBugs fixedBugs fixed, no stop-lossSPYHistorical simulation
-60%
-40%
-20%
0%
Growth of $25,000, May 4 to October 2, 2026 (%)
As written 2026-10-02
-76.55%
Bugs fixed 2026-10-02
-73.01%
Bugs fixed, no stop-loss 2026-10-02
-49.48%
SPY 2026-10-02
7.16%
2026-05-042026-10-02

Each line is the same system with one change I could prove from the log. None of the changes is a tuned setting. Each one corrects what the rules actually did.

Read the fills: the spreads were built upside down

Backtest event log, first version
[2026-05-04 19:58:00] Order  AVGO260605C00415000  Buy   Filled  $26.73
[2026-05-04 19:58:00] Order  AVGO260605C00410000  Sell  Filled  $27.85

[2026-06-10 13:31:00] CloseOptionSignal
  condition: always
  true [0]: 1 equal 1

A bull call spread buys the lower strike and sells the higher one. The log shows this system buying the AVGO $415 call and selling the $410, which is a bear spread: it collected premium and lost when the stock rose. The equity history agrees: the book's option value was below zero on all 276 ticks it held a position, the signature of being short premium.

The cause was in the rule text: buy the call $0.5 out of the money and sell the call $0.2 out of the money. The bought leg sat further out than the sold leg. The second line is a close rule whose condition was "always", so GOOG spreads were closed every day they were open.

NexusTrade now names every vertical by what its strikes do. This rule reads as a bear call spread that collects a net credit, so the mismatch shows up before the first backtest.

Over 184 closed trades the first version won 6.5% of the time and paid $326 in fees.

Fix only what the log proves, then read it again

Backtest event log, bugs fixed, May 4, 2026
[2026-05-04 13:31:00] OpenOptionSignal  GOOG  decision record
  GOOG260605C00380000  bid 13.95  ask 16.35  mid 15.15
  GOOG260605C00385000  bid 11.00  ask 13.85  mid 12.425
[2026-05-04 13:31:00] Order  GOOG260605C00380000  Buy   Filled  $16.86
[2026-05-04 13:31:00] Order  GOOG260605C00385000  Sell  Filled  $12.19

[2026-05-04 19:58:00] CloseOptionSignal
  CLOSE_SPREAD_EMITTED_CLOSE_ORDERS
  Spread passed filters; emitting 2 close orders

Swapping the two strike distances and removing the always-true close rule moved the loss from -76.5% to -73.0%. The log explained why the fix barely helped.

On the first day the book bought the GOOG 380/385 spread for $4.67. At that moment the two legs' mid prices put the spread at $2.725, and the quotes were wide: $13.95 to $16.35 on one leg, $11.00 to $13.85 on the other. Paying the ask and selling the bid at the open left the position about 40% under its own mid before the stock moved. The 30% stop-loss saw that loss and closed the spread the same afternoon. The account ended day one at $23,654.20.

Measure what every entry cost

Median share of each opening debit paid above the mid (%)

By stock

  • 45.3%
    AVGO
  • 28.2%
    META
  • 25.3%
    GOOG
  • 4.5%
    NVDA

48 opening spreads in the third backtest, fill prices against the decision record's mid for the same legs. Spreads per name: AVGO 10, GOOG 5, META 15, NVDA 18.

With the stop-loss removed too, the book held its spreads and lost 49.5%. Adding up every entry in that run, it paid $6,045 above the mid to open 48 spreads, about half of its $12,371 loss before counting the cost of closing them.

NVDA's quotes were tight, so its median entry gave up 4.5% of the debit. AVGO's gave up 45.3%, META's 28.2% and GOOG's 25.3%. Two META entries paid the full $5.00 width of their spread, the most a $5 spread can ever be worth, so they could only lose.

Why I did not run an optimizer on it

An optimizer would have searched RSI thresholds, strike distances and holding periods. Every candidate would pay the same spread to enter, so the search would have spent compute ranking variations of a strategy whose problem is execution. The log pointed at the fix instead: limit orders near the mid, and names and times of day with tight quotes.

The same read-the-log-first step decides a stock experiment in how to create a custom quant experiment.

The live log: what the real account did, and why

Value (%)

Live accountLive observationsDates shown in New York time
0%
10%
20%
Public Portfolio Challenge live account, return on $25,000 (%)
Live account 2026-11-15, 20:39:41 EST
-4.33%
2026-03-092026-11-15
Live event log
[2026-04-15 14:29:50] NoSignal
  condition: Hours since midnight (US/Eastern market time) = Constant 15
         and Minutes since midnight (US/Eastern market time) = Constant 945
  false [0.0]: 10.497466120435556 equal 15
  false [0.1]: 629.8479672261334 equal 945

[2026-05-26 18:58:10] OrderRejected  broker: Public
  attempted: Limit Order @ $16.85   Buy 1 TMDX270115C00070000
  message: This contract can only be traded in increments of $0.10.
Read the explanation

The live account sat at exactly $25,000 from March 9 until May 5. The log shows why for one of its open rules: it required the clock to read 15 hours since midnight and 945 minutes since midnight at the same moment. Those are 3:00 PM and 3:45 PM, so the rule could never fire. NexusTrade now rejects an exact match on the clock when a rule is written and asks for a time window instead.

Once it traded, the broker rejected orders whose limit price was not a multiple of the contract's tick size: 257 rejections in May alone. Live option orders now round to the contract's tick size before they are sent. The log also shows how the account gave money back. 39 of its 79 positions were in profit at some point and closed at a loss, after peaking at $4,985 combined. Its XOM January 2028 call peaked at +$3,255 on October 30 and closed at +$2,050.

The account peaked at $32,356.54 on August 20 and finished at $23,918.57, down 4.3% while SPY rose. A journal would hold how those weeks felt. The log holds the conditions, rejections and exits that produced them.

How this was measured

Settings, ids and limits

Backtests: May 4 to October 2, 2026, daily bars, $25,000 start, SPY as the comparison, option fees $0.65 per contract and the platform's quote-based fills. Every fill priced off a recorded option quote; none was synthetic. The first run is the system as saved (four open rules, six close rules, two agent rules); each later run is a copy with only the fixes described above. This system is a candidate I built for the challenge in May, not the live account's exact rule set.

Entry cost compares each spread's filled net debit with the net mid of the same two legs in the engine's decision record at the moment it chose them. Fills happen on the next minute's quote, so a fill can land outside the decision quote when the price moves in that minute.

Live figures come from the account's order and event log and its recorded history. Realized P&L across the 79 closed positions is a loss of $1,213; the rest of the $1,081 account change is cash, fees and activity the order record does not show.

Continue exploring

Discussion

Sign in or create a free account to join the discussion.

No comments yet.