{
  "status": "completed retrospective GBPUSD combined-baseline research model",
  "period": "2016-01-01 through2025-12-31 UTC;2015 warmup",
  "source_rule": "https://www.quantconnect.com/forum/discussion/1597/london-breakout-strategy/",
  "clock_source": "https://www.quantconnect.com/forum/discussion/5365/daylight-savings-timezone-confusion/p1",
  "source_published": "2017, updated2020",
  "cases": "One combined long/short BB10 baseline plus a long buy-and-hold benchmark; no clock or parameter variants tested.",
  "config": {
    "initial_eur": 10000.0,
    "bb_period": 10,
    "bb_width": 2.2,
    "take_profit_price": 0.0008,
    "stop_loss_price": 0.0018,
    "max_held_events": 5,
    "slippage_usd_per_gbp": 1e-05,
    "commission_usd_per_lot_side": 3.5,
    "contract_gbp": 100000.0,
    "lot_step": 0.01,
    "min_lot": 0.01,
    "funding_annual": 0.05,
    "seconds_per_year": 31536000,
    "bar_seconds": 300,
    "max_entry_delay_seconds": 900,
    "max_entry_fx_age_seconds": 900
  },
  "data": {
    "GBPUSD": {
      "file": "GBPUSD_5m.csv.gz",
      "sha256": "be0fd49348ec7ea048a5deda2ee715129832e9c92dae2761c11e8caa3988291b",
      "manifest": "GBPUSD_5m.manifest.json",
      "source": "https://evtradelabs.com/data",
      "attribution": "EV Trading Labs, aggregated from Dukascopy ticks",
      "rows_with_warmup": 822428,
      "candles_by_year": {
        "2015": 74699,
        "2016": 74858,
        "2017": 74694,
        "2018": 74699,
        "2019": 74649,
        "2020": 74950,
        "2021": 74841,
        "2022": 74840,
        "2023": 74633,
        "2024": 74922,
        "2025": 74643
      },
      "first_utc": "2015-01-01 22:00:00+00:00",
      "last_utc": "2025-12-31 21:55:00+00:00",
      "imputed_bars": 0
    },
    "EURUSD": {
      "file": "EURUSD_5m.csv.gz",
      "sha256": "aae2133855f39143baecace64afc3e942bc4f9cb2c6026674b7d0e5c37c3a7e3",
      "manifest": "EURUSD_5m.manifest.json",
      "source": "https://evtradelabs.com/data",
      "attribution": "EV Trading Labs, aggregated from Dukascopy ticks",
      "rows_with_warmup": 822584,
      "candles_by_year": {
        "2015": 74698,
        "2016": 74856,
        "2017": 74693,
        "2018": 74711,
        "2019": 74663,
        "2020": 74984,
        "2021": 74863,
        "2022": 74872,
        "2023": 74640,
        "2024": 74949,
        "2025": 74655
      },
      "first_utc": "2015-01-01 22:00:00+00:00",
      "last_utc": "2025-12-31 21:55:00+00:00",
      "imputed_bars": 0
    },
    "alignment": {
      "fx_exact_timestamp_fraction": 0.9998467950993887,
      "fx_stale_max_seconds": 223500.0,
      "fx_stale_rows": 126,
      "rule": "Backward-only quote merge. Exact FX open at matched timestamp; otherwise previously observed FX close. Entry age<=15min, exits/valuations retain and flag stale FX."
    }
  },
  "signal_diagnostics": {
    "observed_hourly_events": 62331,
    "entry_window_events": 15570,
    "observed_reset_events": 2602,
    "clock": "Source FXCM BAR-START fixed EST UTC\u22125, no DST. Entry starts05..10EST =10..15UTC, decisions11..16UTC; observed start01EST reset =decision07UTC.",
    "indicator": "BB10 uses last10 CLOSED observed H1 BID closes including current, simple mean and POPULATION standard deviation \u00b12.2. Empty hours omitted;2015 warmup.",
    "ordering": "Observed reset first; entry before exit; entry event increments held count to1, timed exit when count>5 on sixth held observed event. No same-event reentry."
  },
  "results": {
    "strategy": {
      "initial_eur": 10000.0,
      "final_equity_eur": 8695.744442977088,
      "net_profit_eur": -1304.2555570229124,
      "total_return_pct": -13.042555570229124,
      "cagr_pct": -1.3876048006166486,
      "max_drawdown_eur": 1478.2563125549786,
      "max_drawdown_pct": 14.558517678913285,
      "profit_factor": 0.838609106874208,
      "sharpe": -0.7138688733205419,
      "recovery_factor": -0.8822932436991742,
      "closed_trades": 973,
      "win_rate_pct": 55.90955806783144,
      "best_daily_return_pct": 0.7359226393693463,
      "worst_daily_return_pct": -1.004205241441325,
      "label": "Combined GBPUSD BB10 breakout",
      "commission_eur": 458.4506393238018,
      "funding_eur": 108.84378607736919,
      "modeled_slippage_eur_indicative": 130.98589694965764,
      "quoted_spread_eur_indicative": 575.9375118374063,
      "embedded_cost_estimate_note": "Half quoted spread per side and slippage valued using contemporaneous FX bid; both embedded in price P&L, not additional cash debits. Net USD conversion makes indicative attribution non-additive.",
      "turnover_multiple_of_initial": 1699.006913936057,
      "exposure_time_pct": 2.4854001277488824,
      "held_fx_max_quote_age_seconds": 0.0,
      "held_bars_with_stale_fx": 0,
      "held_bars_with_fx_older_than_hour": 0,
      "entries_by_year": {
        "2016": 104,
        "2017": 85,
        "2018": 102,
        "2019": 97,
        "2020": 99,
        "2021": 94,
        "2022": 102,
        "2023": 99,
        "2024": 108,
        "2025": 83
      },
      "execution_diagnostics": {
        "observed_hourly_events": 62331,
        "observed_resets": 2602,
        "entry_window_events": 15570,
        "breakout_events_in_window": 1225,
        "entry_attempts_when_allowed": 973,
        "skipped_entry_delay": 0,
        "skipped_entry_fx_stale": 0,
        "skipped_minimum_lot": 0,
        "delayed_entry_count": 0,
        "max_entry_delay_seconds": 0.0,
        "delayed_exit_count": 2,
        "max_exit_delay_seconds": 172800.0,
        "forced_window_end_exits": 0,
        "unfilled_final_hourly_events": 1,
        "exit_reason_counts": {
          "loss_threshold": 358,
          "profit_threshold": 529,
          "timed_exit": 86
        },
        "filled_longs": 496,
        "filled_shorts": 477,
        "has_traded_policy": "Qualifying allowed breakout consumes reset-cycle allowance even if entry execution is skipped/rejected. Only an observed bar-start source-clock01 resets it."
      },
      "screen_2step": {
        "classification": "static-total-loss sampled breach under model",
        "approximate_daily_loss_flag": null,
        "total_loss_breach": {
          "utc": "2023-01-12T14:45:00+00:00",
          "equity_eur": 8986.770317838123,
          "floor_eur": 9000.0
        },
        "limits": "5% initial daily below Prague-midnight balance; static EUR9000 overall floor; targets10%/5%; four opening days per phase",
        "limitations": "Single continuous account, no target stops or phase restarts. First Prague-day quote approximates midnight. SampledM5 close equity not tick path or actual swap; no pass certification."
      },
      "screen_1step": {
        "classification": "approximate necessary-condition screening; pass NOT certified",
        "approximate_daily_loss_flag": null,
        "approximate_trailing_loss_flag": {
          "utc": "2022-07-22T16:10:00+00:00",
          "equity_eur": 9153.140827988256,
          "floor_eur": 9153.893034701614
        },
        "total_net_closed_profit_eur": -1304.2555570229124,
        "best_closed_profit_day_eur": 70.67150137523276,
        "best_day_share_of_net_profit_pct": null,
        "consistency_condition_at_end": false,
        "profit_target_eur": 1000.0,
        "ending_closed_profit_meets_target": false,
        "limits": "3% initial daily; highest prior Prague-midnight balance anchored at initial minus10% initial overall floor; target10%; best closed-profit day<=50% TOTAL NET CLOSED PROFIT including losing days, current orders>=12Oct2026.",
        "limitations": "Approximate first-quote midnight balance; net trade costs allocated to exit day. No complete sequential challenge replay, actual broker swap or tick-equity certification."
      },
      "sampled_max_drawdown_pct": 14.750963885918855,
      "sampled_max_drawdown_eur": 1498.4176952061189,
      "diagnostic_splits": {
        "2016-2020": {
          "initial_eur": 10000.0,
          "final_equity_eur": 9382.749759511698,
          "net_profit_eur": -617.2502404883016,
          "total_return_pct": -6.172502404883017,
          "cagr_pct": -1.2656438442157802,
          "max_drawdown_eur": 820.1084114361147,
          "max_drawdown_pct": 8.076787973177769,
          "profit_factor": 0.8547854252698373,
          "sharpe": -0.6487214851919076,
          "recovery_factor": -0.7526446892642127,
          "closed_trades": 487,
          "win_rate_pct": 54.00410677618069,
          "best_daily_return_pct": 0.7359226393693463,
          "worst_daily_return_pct": -0.5862243199817208,
          "trade_metric_scope": "Trades fully contained in split; cross-boundary trades excluded from split PF/win rate while equity remains continuous."
        },
        "2021-2025": {
          "initial_eur": 9382.749759511698,
          "final_equity_eur": 8695.744442977088,
          "net_profit_eur": -687.0053165346108,
          "total_return_pct": -7.322004040853416,
          "cagr_pct": -1.5094817731371668,
          "max_drawdown_eur": 752.9319694283968,
          "max_drawdown_pct": 7.985644418130877,
          "profit_factor": 0.8206597717037243,
          "sharpe": -0.7790752826503389,
          "recovery_factor": -0.9124400934338921,
          "closed_trades": 486,
          "win_rate_pct": 57.818930041152264,
          "best_daily_return_pct": 0.68500155870026,
          "worst_daily_return_pct": -1.004205241441325,
          "trade_metric_scope": "Trades fully contained in split; cross-boundary trades excluded from split PF/win rate while equity remains continuous."
        }
      },
      "annual_returns_pct": {
        "2016": 0.530867867928908,
        "2017": -0.5988113104564152,
        "2018": -0.9645406507110987,
        "2019": -2.4160907918000962,
        "2020": -2.8438734730840354,
        "2021": -0.18306858100857193,
        "2022": -3.194328554817716,
        "2023": -2.1745101714365056,
        "2024": -0.693478003378345,
        "2025": -1.271664550553342
      }
    },
    "buy_hold": {
      "initial_eur": 10000.0,
      "final_equity_eur": 4633.496344517418,
      "net_profit_eur": -5366.503655482582,
      "total_return_pct": -53.66503655482582,
      "cagr_pct": -7.403311531108825,
      "max_drawdown_eur": 5999.32220174191,
      "max_drawdown_pct": 59.9932220174191,
      "profit_factor": 0.0,
      "sharpe": -0.4929458723713934,
      "recovery_factor": -0.894518326407675,
      "closed_trades": 1,
      "win_rate_pct": 0.0,
      "best_daily_return_pct": 6.636094556352279,
      "worst_daily_return_pct": -7.5831072744569905,
      "label": "Buy and hold GBPUSD CFD",
      "commission_eur": 0.43391932013091206,
      "funding_eur": 4612.40237419481,
      "modeled_slippage_eur_indicative": 0.12397694860883204,
      "quoted_spread_eur_indicative": 1.8346379462912628,
      "embedded_cost_estimate_note": "Half quoted spread per side and slippage valued using contemporaneous FX bid; both embedded in price P&L, not additional cash debits. Net USD conversion makes indicative attribution non-additive.",
      "turnover_multiple_of_initial": 1.7514263204446816,
      "exposure_time_pct": 99.91787571858747,
      "held_fx_max_quote_age_seconds": 223500.0,
      "held_bars_with_stale_fx": 125,
      "held_bars_with_fx_older_than_hour": 29,
      "entries_by_year": {
        "2016": 1
      },
      "execution_diagnostics": {
        "observed_hourly_events": 62331,
        "observed_resets": 0,
        "entry_window_events": 0,
        "breakout_events_in_window": 0,
        "entry_attempts_when_allowed": 0,
        "skipped_entry_delay": 0,
        "skipped_entry_fx_stale": 0,
        "skipped_minimum_lot": 0,
        "delayed_entry_count": 0,
        "max_entry_delay_seconds": 0.0,
        "delayed_exit_count": 0,
        "max_exit_delay_seconds": 0.0,
        "forced_window_end_exits": 1,
        "unfilled_final_hourly_events": 0,
        "exit_reason_counts": {
          "forced_window_end": 1
        },
        "filled_longs": 1,
        "filled_shorts": 0,
        "has_traded_policy": "Qualifying allowed breakout consumes reset-cycle allowance even if entry execution is skipped/rejected. Only an observed bar-start source-clock01 resets it."
      },
      "screen_2step": {
        "classification": "static-total-loss sampled breach under model",
        "approximate_daily_loss_flag": {
          "utc": "2016-02-24T09:10:00+00:00",
          "equity_eur": 9431.847628115844,
          "floor_eur": 9434.107468468606
        },
        "total_loss_breach": {
          "utc": "2016-06-24T03:05:00+00:00",
          "equity_eur": 8996.003152887393,
          "floor_eur": 9000.0
        },
        "limits": "5% initial daily below Prague-midnight balance; static EUR9000 overall floor; targets10%/5%; four opening days per phase",
        "limitations": "Single continuous account, no target stops or phase restarts. First Prague-day quote approximates midnight. SampledM5 close equity not tick path or actual swap; no pass certification."
      },
      "screen_1step": {
        "classification": "approximate necessary-condition screening; pass NOT certified",
        "approximate_daily_loss_flag": {
          "utc": "2016-01-15T18:45:00+00:00",
          "equity_eur": 9684.165487630455,
          "floor_eur": 9685.404610468848
        },
        "approximate_trailing_loss_flag": {
          "utc": "2016-06-24T03:05:00+00:00",
          "equity_eur": 8996.003152887393,
          "floor_eur": 9000.0
        },
        "total_net_closed_profit_eur": -5366.503655482582,
        "best_closed_profit_day_eur": 0.0,
        "best_day_share_of_net_profit_pct": null,
        "consistency_condition_at_end": false,
        "profit_target_eur": 1000.0,
        "ending_closed_profit_meets_target": false,
        "limits": "3% initial daily; highest prior Prague-midnight balance anchored at initial minus10% initial overall floor; target10%; best closed-profit day<=50% TOTAL NET CLOSED PROFIT including losing days, current orders>=12Oct2026.",
        "limitations": "Approximate first-quote midnight balance; net trade costs allocated to exit day. No complete sequential challenge replay, actual broker swap or tick-equity certification."
      },
      "sampled_max_drawdown_pct": 62.549603686157894,
      "sampled_max_drawdown_eur": 6283.150014234065,
      "diagnostic_splits": {
        "2016-2020": {
          "initial_eur": 10000.0,
          "final_equity_eur": 7111.412560692077,
          "net_profit_eur": -2888.587439307923,
          "total_return_pct": -28.88587439307923,
          "cagr_pct": -6.587858270291425,
          "max_drawdown_eur": 4051.7558615807393,
          "max_drawdown_pct": 40.51755861580739,
          "profit_factor": null,
          "sharpe": -0.5513042771224399,
          "recovery_factor": -0.7129223817994252,
          "closed_trades": 0,
          "win_rate_pct": null,
          "best_daily_return_pct": 4.002228554137921,
          "worst_daily_return_pct": -6.190615299355762,
          "trade_metric_scope": "Trades fully contained in split; cross-boundary trades excluded from split PF/win rate while equity remains continuous."
        },
        "2021-2025": {
          "initial_eur": 7111.412560692077,
          "final_equity_eur": 4633.496344517418,
          "net_profit_eur": -2477.916216174659,
          "total_return_pct": -34.844219696536776,
          "cagr_pct": -8.212086929807372,
          "max_drawdown_eur": 3322.3084037363915,
          "max_drawdown_pct": 45.36821881258673,
          "profit_factor": null,
          "sharpe": -0.46341682344645607,
          "recovery_factor": -0.745841720590389,
          "closed_trades": 0,
          "win_rate_pct": null,
          "best_daily_return_pct": 6.636094556352279,
          "worst_daily_return_pct": -7.5831072744569905,
          "trade_metric_scope": "Trades fully contained in split; cross-boundary trades excluded from split PF/win rate while equity remains continuous."
        }
      },
      "annual_returns_pct": {
        "2016": -20.58346147335336,
        "2017": 5.218737187511979,
        "2018": -11.084541087096245,
        "2019": -2.3448475064600127,
        "2020": -1.9879667693974201,
        "2021": -8.038013122825937,
        "2022": -22.439969952633966,
        "2023": -0.3963818205559577,
        "2024": -14.106556090003552,
        "2025": 6.775473203492366
      }
    }
  },
  "limitations": [
    "One frozen combined long/short baseline, not separate directional cases. Source title is not evidence of a London08:00 entry: actual C# uses bar.Time.Hour; primary QC clarification identifies FXCM bar clock as fixed UTC\u22125.",
    "Dukascopy BID candles and first subsequent M5 bid/ask executions are a transparent adaptation of historical LEAN/FXCM feed and execution, not exact reproduction of original backtest.",
    "H1 bars are [t\u22121h,t), last observed M5 BID close known at t. BB includes current close. Missing hours emit no event and do not advance hold counter; missing source01 reset does not reset allowance automatically.",
    "Entry before exit, once per observed01 reset cycle. A qualifying attempted order consumes allowance even if skipped for delay, stale FX or lot minimum. Entry firstM5 opening quote>=decision, delay<=15min and FXage<=15min.",
    "Signal exit strict8pip profit or18pip loss from entry SIGNAL BID, not fill price. Only observed H1 close checks, not intrabar stop/limit orders. Hold counter includes entry event and exits when>5. Delayed exits retained until first subsequent quote; no same-event reentry.",
    "EUR CFD cash account; GBP exposure initially<=1x via contemporaneous EURUSD conversion with fee reserve and0.01lot floor. PositiveUSDpnl/FXask, losses/fees/funding/FXbid. Fixed initial units buyhold is a CFD benchmark, not physical currency deposit return.",
    "Historical bid/ask plus0.1pip adverse slippage per side, USD3.50/lot/side. Both directions charged ASSUMED5% annually on absolute entryUSD notional for actual elapsed calendar time; not historical swap/carry. Cash interest0.",
    "Dukascopy data via EV Trading Labs, not independently reconciled direct bank ticks or FTMO broker quotes. Missing FX uses prior observed close, entryage bounded15min, exit/valuation staleness disclosed.",
    "Frozen2016\u20132020 /2021\u20132025 retrospective diagnostics, not pristine prospective OOS; source2017 overlaps firstperiod. No parameter optimization or alternative clocks selected by outcomes.",
    "PF/win rate net closed trades including all costs. Equity/drawdown calendar daily closes plus sampledM5, not tick path. AnnualizedSharpe sqrt365/riskfree0. Allremainingpositionsforcedclosedatlastavailable2025barclose with costs.",
    "FTMO continuous necessary-condition screen only: approximate Prague-midnight balance using first daily quote, no full phase/target/restart replay, no actual broker swap or tick-equity certification."
  ]
}
