Strategies
BTC Inverse Perp 4H Donchian Breakout Long-Short (BINANCE_CM, 40-Bar Lookback, OHLCV-Only)
Outcome: Abandoned
BtcCmInverseFourHourDonchianBreakoutLS
BTC Inverse Perp 4H Donchian Breakout Long-Short (BINANCE_CM, 40-Bar Lookback, OHLCV-Only)
Hypothesis
verification_loop: Verification failed (Layer 1 — static analysis): - `self._bar_ts = ...` binds a value over framework method `@staticmethod _bar_ts(bar)` — every later call raises "'<type>' object is not callable" (or the framework loses the member). Use a different attribute name. (line 144) - `self._bar_ts = ...` binds a value over framework method `@staticmethod _bar_ts(bar)` — every later call raises "'<type>' object is not callable" (or the framework loses the member). Use a different attribute name. (line 110)
Implementation
Turtle-style Donchian channel breakout, long and short, on the BTC-margined inverse perpetual BTCUSD_PERP.BINANCE_CM using 4-hour bars. Entry: close above the prior 40-bar high goes long, close below the prior 40-bar low goes short - no regime gate, no volume filter, no narrative overlay. Exit: the opposite 20-bar Donchian channel (long exits on a close below the prior 20-bar low, short on a close above the prior 20-bar high) plus a 90-bar hard time stop. Sizing is volatility-targeted (1.5% of equity risked over a 3xATR reference stop, capped at 75% of equity notional) and floored to whole $100-face inverse contracts via contracts_for_notional, so PnL and fees settle in BTC.
Verification Results
Verification failed (Layer 1 — static analysis): - `self._bar_ts = ...` binds a value over framework method `@staticmethod _bar_ts(bar)` — every later call raises "'<type>' object is not callable" (or the framework loses the member). Use a different attribute name. (line 144) - `self._bar_ts = ...` binds a value over framework method `@staticmethod _bar_ts(bar)` — every later call raises "'<type>' object is not callable" (or the framework loses the member). Use a different attribute name. (line 110)
Iteration History
Abandon Reason
verification_loop: Verification failed (Layer 1 — static analysis): - `self._bar_ts = ...` binds a value over framework method `@staticmethod _bar_ts(bar)` — every later call raises "'<type>' object is not callable" (or the framework loses the member). Use a different attribute name. (line 144) - `self._bar_ts = ...` binds a value over framework method `@staticmethod _bar_ts(bar)` — every later call raises "'<type>' object is not callable" (or the framework loses the member). Use a different attribute name. (line 110)
Backtest and paper results are hypothetical. Trading involves risk of loss.