Entry Rules

Control when and under what conditions your strategy enters a trade.

Direction

Direction controls which side to trade — puts or calls — and whether that decision is fixed or determined dynamically from market conditions each day.

Fixed side (no filter)

Set the instrument’s side to put or call to always trade that side. This is the simplest approach — no market signal is evaluated.

Dynamic side (signal-based)

Set the side to auto and choose a direction method. Each day the engine evaluates the signal and picks the side: bullish → sell puts (credit) or buy calls (debit); bearish → sell calls (credit) or buy puts (debit).

Available methods:

  • Trend — compare entry spot to a reference price. Above = bullish, below = bearish. Two references are supported: daily open (default — today’s opening price) and prior close (the previous trading day’s closing price). Prior close always means the close of the actual previous trading day on the market calendar — even if your day-of-week or excluded-dates filters keep that day from entering trades — and it works on its own, without any gap filter configured. On the rare day where the previous close is unavailable (for example the first day of available history), the reference falls back to that day’s opening price.
  • SMA / EMA — compare entry spot to a moving average. Above MA = bullish, below = bearish. You choose the lookback period. For 0DTE strategies the average is computed from intraday bars, and the lookback always spans consecutive trading days of actual market history — days excluded from entries by day-of-week or excluded-dates filters still contribute their bars. For multi-day strategies it is computed from daily closing prices within the backtest range.
  • VIX regime — use VIX as the signal. Below the threshold = bullish (sell puts); above = bearish (sell calls). The threshold defaults to 25 and is configurable in the strategy editor (Direction → VIX threshold). If VIX data is unavailable at your entry time, the day is skipped with a vix_no_data skip row — the engine never guesses a regime when it can’t see VIX. Each trade records which side of the threshold the day fell on, the threshold it was compared against, and which volatility series that reading came from — a threshold does not carry the same meaning across older and more recent dates, so see Which VIX Your Filters Read before reusing one across a long backtest. If no usable volatility reading is available for your date range — the history does not reach that far back, it does not cover that window, or the readings we hold for those dates cannot be identified as belonging to either series — then every day is skipped that way, each carrying the skip reason vix_no_data — note that this is the opposite of what a VIX range filter does with the same missing reading, which silently lets the day through.
  • ORB breakout — use the Opening Range Breakout. If entry spot is above the opening range high = bullish; below the range low = bearish; inside the range = skip the day entirely.

VIX regime and ORB breakout require intraday data and are available for 0DTE strategies only. Multi-day strategies support trend, SMA, EMA, and fixed sides. Written out as config values, that is none, trend, sma, ema, always_put, always_call on both engines, plus vix_regime and orb_breakout on 0DTE only. Switching a strategy from 0DTE to multi-day in the editor automatically clears a VIX-regime or ORB-breakout direction method (falling back to no directional filter) so the config stays valid.

Unrecognized methods are rejected, not guessed

The strategy editor only offers the supported methods for the mode you’re in. If a config still requests a method outside that list — a typo, or a method borrowed from somewhere else — the backtest stops with a configuration error before it runs, on both engines. It is never quietly reinterpreted as something else. That is worth stating plainly because of what used to happen on 0DTE instead: an unrecognized method fell through to the trend comparison, and the backtest completed with normal-looking statistics for a strategy you had not written. Leaving the method blank, or omitting it entirely, is still not an error — but the two are not quite the same thing, and the difference is worth knowing.

Blank is not the same as absent

  • No method at all — you never set one, or you cleared the whole Direction section — means no direction logic. Every day trades the side your instrument specifies, and no day is ever skipped for a directional reason. This is identical to choosing none.
  • A method box left blank (an empty value, rather than an absent one) still runs the trend comparison. That is the historical behaviour and is unchanged. If what you want is “no direction logic”, say none explicitly, or clear the section — don’t rely on a blank box.

Clearing the Direction section turns direction off

Removing the Direction settings entirely — clearing the whole section in the editor rather than picking a method — means run this strategy without any direction logic. It is exactly the same as setting the method to none:

  • The side comes from the instrument (a put spread stays a put spread), or from the instrument’s own convention when the side is auto.
  • No day is skipped with a direction_filter reason, and none of the *_no_data direction reasons can occur.
  • Reference, rule, period, interval and the ORB window are all irrelevant, since nothing consults them.

An emptied Direction section is a valid strategy, not a broken one. Earlier it could end a run with an unexplained error partway through; it now simply runs with direction turned off.

The same rule holds for every section

Direction was the first place this came up, but the rule is general. Clearing any whole section of a strategy means “no settings here”, and the engine’s defaults for that section apply. That covers Exit, Instrument, Sizing, Account, Adjustments and Fills, on both 0DTE and multi-day, and it covers a whole rule removed from inside a section (the entire Profit Target block taken out of Exit, say) as well as the top-level section itself. Previously an emptied section could end a run with an error that named nothing — sometimes after the backtest had already been running for a while.

This is about removing a whole section or rule, not about leaving an individual value blank inside a rule you have kept. Those are different, and the blank-value case is covered in Blank Fields and Engine Defaults below. The short version: a blank filter field means that filter is off, the same on both 0DTE and multi-day; a blank field anywhere else generally means “use the default”, and a few of those defaults differ between the two modes.

Entry is the one section you cannot clear. A strategy still has to say which strikes it trades, so emptying Entry (or just Entry → Strikes) stops the backtest with an error that names the cleared section and then explains which strike fields are now missing. That is intended: the engine will not invent strike selection, because doing so once produced inverted iron condors that looked like real results.

Method names are case-sensitive on 0DTE

Write method names in lowercase — sma, not SMA; orb_breakout, not ORB_Breakout. A 0DTE config with the wrong casing is rejected, and the error names the lowercase spelling so the fix is a one-character edit. Multi-day accepts any casing. Picking the method from the editor’s dropdown always gives you the correct spelling.

Inverting the signal (Rule)

For the trend, SMA, and EMA methods, a Rule setting controls how “spot above the reference” maps to a side. The default is above → bullish; switching to above → bearish fades the signal — trade against the move instead of with it. The rule is set in the strategy editor’s Direction controls and only appears for these three methods. A configuration with an unrecognized rule value stops with a clear configuration error before running, rather than silently trading the default direction.

Fixed side + direction as a filter

You can also combine a fixed side (put or call) with a direction method. In this mode, the direction signal acts as a filter: the engine only trades on days where the signal matches the fixed side, and skips the rest. For example, a fixed put side with trend direction trades puts only on bullish days and skips bearish days entirely.

Warm-up period (multi-day SMA / EMA / prior close)

Multi-day direction methods and the daily moving-average filter look at past daily closes. Those closes are taken from before your backtest start date when our price history has them, so the first day of your results already has a full lookback:

  • SMA / EMA need period prior daily closes. A 200-day SMA on a backtest starting in 2024 uses the 200 sessions before the start.
  • Trend with prior close only needs one prior close — the session before your start date.
  • Trend with daily open has no warm-up — it can signal from day one.

A warm-up skip only remains when the price history itself starts too late (for example, a start date near the first day we have data for). The skip row then says how many closes were needed, how many exist, and the date the price history starts.

Days with missing data

All of these lookbacks — the SMA / EMA direction methods, the moving-average entry filter, and the gap filter’s prior close — count daily closing prices, one per trading day. If a day’s market data can’t be fully loaded (so no trades can be taken that day), the engine still recovers that day’s closing price wherever possible, so a 20-close average genuinely covers the last 20 trading days. On the rare day where no price is recoverable at all, that day contributes nothing and the average simply reaches one day further back in time to gather its closes — the math stays correct, the window just spans a slightly longer stretch of the calendar.

Lookback period validation

The lookback period must be a positive whole number. For the direction methods, leaving it blank (or 0) uses the default — 20 daily closes for multi-day strategies. A negative or non-numeric period is rejected with a clear configuration error before the backtest runs; previously such a value could silently produce a backtest that never trades. The moving-average entry filter follows the same rule, with one difference: blank or 0 there means the filter is off.

Skipped days appear in the trade log

When a direction filter skips a day, the trade log records a skip row with reason direction_filter. The detail tells you why: warm-up skips say how many prior closes are needed vs. available (“insufficient history”), and signal skips show which side the signal wanted versus your fixed instrument side, along with the spot and moving-average / reference values that produced the decision. Skip rows are informational only — they are excluded from win rate, P&L, and all other statistics.

Expiry Selection (Multi-Day)

For multi-day strategies (any Target DTE greater than 0), the engine has to pick a real listed expiry that matches your target. Two controls in the Multi-Day section of the strategy editor steer that pick.

Expiry Type

Restricts which expiration cycles are candidates:

  • Any — every available expiry is fair game (default; works for SPY and QQQ, where dailies, weeklies and monthlies coexist).
  • Weekly (Fridays) — only Friday weeklies qualify. Use when you specifically want to avoid mid-week dailies. Note that the standard monthly expiration also counts as a weekly here — the 3rd Friday is still a Friday expiry, so a weekly strategy will trade through monthly-expiration weeks normally.
  • Monthly (3rd Friday) — only standard monthly expirations (the 3rd Friday). Use for highest liquidity / widest strike listing.

The type filter is applied first, before any DTE comparison: the engine builds the set of expiries of your requested type and then picks the best DTE match from within that set. With Monthly and a target of 30 DTE, for example, the engine selects the monthly expiration closest to 30 days out — even if a weekly or daily expiry sits much nearer your target, it is never considered.

DTE Match

Once the candidate set is filtered by Expiry Type, this controls how the engine picks one expiry to enter on:

  • Nearest — pick the expiry whose DTE is closest to your target by absolute distance (default). If your target is 45 DTE and the two closest expiries are 39 DTE and 53 DTE, the 39-DTE one wins.
  • After (≥ target) — pick the first expiry with DTE greater than or equal to your target. Same example: 53 DTE wins. This is the safer choice when far-out expiries occasionally have incomplete strike listings — a not-yet-fully-listed near expiry can’t support wide-wing or far-OTM strikes, and the engine will skip the day. Using After sidesteps that by always rounding up to the next cleanly listed expiry.
  • Exact — only enter when an expiry sits exactly on your target DTE. If no expiry matches, the day is skipped. Useful for strict regimes (e.g. exactly 45 DTE every Monday).

When no match exists

If no expiry of the requested type can satisfy your DTE Match rule on a given day — for example, Monthly + Exact on a day where no 3rd-Friday expiration sits exactly on your target — the day is skipped and recorded in the trade log with a “no expiry” skip reason, so you can see exactly which days didn’t qualify and why.

Listing calendars per underlying

Different underlyings list expirations on different schedules, and the engine respects each one’s real calendar when building the candidate set. QQQ, for example, lists its weeklies and monthlies on longer windows than SPY does. The candidates considered for your Target DTE are the expiries that were actually tradable on that underlying on that day — no more, no less.

In practice this means multi-day QQQ backtests see fewer skipped days and expiry picks closer to your target than before, especially at longer DTEs (for example QQQ strategies in the 1–13 month range). SPY behavior is unchanged. If you re-run an older QQQ backtest and it now enters on days it previously skipped — or picks a better-matching expiry — that’s the more accurate calendar at work, not a regression.

Tip: if a backtest is skipping days with a “could not find both put and call spreads” reason on multi-day entries, try switching DTE Match to After first — it often resolves cases where the closer-by-DTE expiry hasn’t had all its strikes listed yet.

Entry Frequency (Multi-Day)

How often a multi-day strategy opens a new position. This is a multi-day setting only: a 0DTE strategy trades at most once a day already, and a 0DTE strategy that carries a frequency is refused with a message saying so. To pick days on 0DTE, use Trading Days.

  • Daily (“Repeated” in Review) — every trading day, or only the days you pick in Trading Days.
  • Weekly — the first trading day of each week. When Monday is a holiday, that week’s entry is on Tuesday. (“Every Monday” is different: it is Daily with Trading Days = Monday, and skips holiday weeks.)
  • Monthly — the first trading day of each month.
  • Once — a single position for the whole backtest.

A scheduled entry still needs room under Max Positions and Max Open: when either cap is full, that day is skipped and the trade log says why.

Positions at a Time (Multi-Day)

A multi-day strategy can hold several positions at once — a new one can open while an older one is still running. Three settings in the Review panel limit that. They count different things:

  • Max Positions — the most positions open at the same time, however many contracts each one has. Blank means no position limit.
  • Max Open — the most contracts open at the same time, added up across all open positions.
  • Max New / Day — the most contracts opened on a single trading day.

Use Max Positions when you think in trades rather than contracts. “One trade at a time” or “only enter when nothing is open” is Max Positions = 1. “Stack up to 3” is Max Positions = 3.

Example: one iron condor at a time

You open a 21-day iron condor every day it is allowed, size each one so its max loss is 2.5% of the account, and want only one condor open at once. Set Max Positions to 1. The first condor opens. While it is open, every new day is passed over. As soon as it closes — profit target, stop or expiry — the next day can open a new one.

Without Max Positions, the contract caps could not say this. Risk-based sizing gives each condor a different number of contracts, so no single contract number means “one condor”. A test on SPY (Feb–Jun 2024) shows the difference: with no position limit the run opened 47 condors with up to 9 open together and lost about $30,900; with Max Positions = 1 it opened 7, never more than one at a time, and lost about $2,800.

How positions are counted

  • Every open position counts as one, whatever its size. An iron condor is one position. If its two sides exit separately, it still counts as one until both sides have closed.
  • Timing within the day matters. A position that closes later the same day still counts at an earlier entry time. If it closed before your entry time, that same day can open a new one. With several entry times in a day, a later time is still tried after an earlier one was blocked, so a 14:00 close frees the 15:30 entry.
  • All the caps apply together; a new entry needs room under every one. Max Positions is checked first.

Contract caps when Max Positions is set

If you set Max Positions and leave Max Open and Max New / Day blank, those two do not limit contracts. That way risk-based sizing gives each trade its full size instead of having it trimmed by a contract cap you never asked for. The size of each trade is still limited by Max Contracts in Position Sizing (50 if blank). If you do type a Max Open or Max New / Day, it still applies as well.

On days that are scheduled (Weekly, Monthly, or picked in Trading Days) but blocked because the position limit is full, the trade log shows a max_open_positions skip, for example “1 position already open (max_open_positions 1); no new entry on this scheduled day”. With Daily frequency, blocked days are not listed — that would be nearly every day.

Max Positions is a multi-day setting only. A 0DTE strategy that carries it is refused with a message saying so: 0DTE can open overlapping positions from several entry times on one day, and that engine does not apply this limit.

0DTE vs Multi-Day Settings

A strategy runs in 0DTE mode when Target DTE is 0, and in multi-day mode when Target DTE is greater than 0. Most settings work identically in both modes, but a few are mode-specific:

Setting0DTEMulti-Day
Adjustments (Flip / Double Down)YesNo — intraday-only mechanics
Direction: Trend / SMA / EMA / fixed sideYesYes
Direction: VIX regime / ORB breakoutYesNo — require intraday data
Sizing: Fixed Max Loss / % of Account / Fixed ContractsYesYes
Sizing: Fixed WidthYesNo — use Fixed Max Loss instead
UnderlyingsSPX, SPY and QQQSPY and QQQ (not SPX)

The strategy editor enforces this automatically: mode-specific options are only offered in the mode that supports them, and switching a strategy between 0DTE and multi-day converts or removes incompatible settings so the config stays valid. Adjustments and unsupported direction methods are removed when you switch to multi-day, and the Fixed Width sizing mode is converted to Fixed Max Loss (which uses the same risk-dollars input and works in both modes).

If a configuration still reaches the engine with a mode-incompatible setting — for example one written by hand — the backtest stops with a clear validation error instead of silently ignoring the setting. In particular, SPX runs only with a Target DTE of 0, because SPX is 0DTE only.

Blank Fields and Engine Defaults

When you leave a field blank, the backtest engine fills in a default — and a few of those defaults differ between 0DTE and multi-day mode. The grey placeholder text in the strategy editor always shows the value that will actually be used for the mode you are in, so what you see is what runs. The most important per-mode differences:

Setting (when blank)0DTEMulti-Day
Entry time10:3009:30
SMA / EMA direction period13 bars20 daily closes
Contracts (Fixed Contracts sizing)11
Initial capital$100,000$100,000
Time exit16:00 (settlement)Hold to expiry
Max Open / Max New Per Day— (single daily position)Auto (see below)
Max Positions— (not available)No limit

Max Open and Max New Per Day are dynamic when blank: with Fixed Contracts sizing the cap defaults to your per-entry contract count (one position’s worth at a time); with dollar-based sizing it defaults to your Max Contracts setting, or 50 if that is also blank. The editor shows “auto” rather than a made-up number. Set an explicit cap if you want to stack overlapping positions. The exception: when Max Positions is set, blank Max Open and Max New Per Day mean no contract cap at all. Max Positions itself has no default — blank means no position limit.

Exit thresholds behave differently per mode. In 0DTE mode, enabling an exit but leaving its value blank falls back to a built-in default (profit target 75%, stop loss 200%, trailing stop 50% trigger / 25% trail, time stop 60 minutes). In multi-day mode there is no fallback — an enabled exit with a blank value is simply inactive, so the editor marks those fields as required. Either way, the reliable habit is the same: if a threshold matters to your strategy, type it in explicitly.

Placeholder text is a preview, not a saved value — a blank field stays blank in your strategy, and the engine applies its default at run time. If you later switch the strategy between 0DTE and multi-day, blank fields take on the new mode’s defaults automatically, while values you typed are kept as-is.

“Leave blank to disable” now means exactly that

Filter fields are the one group where a blank does not mean “use a default” — it means this filter is off. Clearing a filter box is now identical to never having set it: the gate is not applied, no day is skipped because of it, and the backtest runs. That is what the editor has always told you under each of these fields, and it is now true everywhere, in both 0DTE and multi-day strategies and for both entry filters and exit filters.

This covers the VIX band, the gap filter, the opening-range settings, the maximum bid/ask spread, the credit filters, and the moving-average filter. A field containing only spaces counts as blank too.

The rule is about the value, not about the box, so it still holds for a filter your saved strategy carries that has no control of its own in the editor: a blank IV rank or IV percentile bound is a cleared value — it gates nothing, and it does not stop the run. A bound that is actually set is a different matter, because IV rank and IV percentile are temporarily unavailable and a strategy carrying a live bound stops with an error naming it. See IV Rank & IV Percentile.

Previously a cleared filter box could do one of several unhelpful things instead, depending on which field it was: end the run partway through with an error that named nothing, refuse to start at all with a message about a feature you had switched off, skip every single day with no reason given, or — worst of the set — leave a filter you believed was armed quietly passing everything. All of those are gone.

Typing something invalid still tells you so. Blank means off; nonsense does not. If a numeric filter contains something that is not a number, the backtest stops before it runs with an error naming that exact field, rather than failing partway through on whichever day first consulted it. And a filter that expects a specific choice — the gap direction, for example — still treats an unrecognised word as a live setting that nothing matches, so a typo shows up as days being skipped rather than being silently forgiven. If you want a filter off, clear it; don’t half-set it.

One detail that is worth knowing if you use the moving-average filter: clearing its period switches the whole filter off, while clearing only its condition leaves the filter running with the standard above comparison. Clearing the period is the reliable way to turn it off.

Entry Timing

You choose what time of day to enter trades. You can enter as early as 9:30 AM ET — the opening bell — or as late as the close. The engine looks for your entry at exactly the time you specify and uses the option prices available at that moment.

All times are US Eastern (ET) — the market’s timezone, not your local one. The regular session is 09:30–16:00 ET (13:00 ET on early-close days) and anything outside it is rejected. On Pacific time, 9:00 AM where you are is 12:00 ET; typing 09:00 means half an hour before the opening bell. This applies to every time field: entry time, multiple entry times, an entry schedule’s start and end, and the time exit. Each of those is checked before the backtest starts, and a bad value is reported as an error naming that specific field — if several entry times are wrong, you get all of them at once rather than one per attempt.

Multiple Entries

Instead of entering once per day, you can schedule multiple entries throughout the day. There are two ways to do this:

  • Specific times — list the exact times you want to enter, like 9:35, 10:00, and 11:00
  • Repeating schedule — enter every N minutes starting from a time (e.g., every 30 minutes starting at 9:35)

Each entry is independent — it gets its own strike selection, its own exit monitoring, and its own P&L tracking.

How position sizing interacts with multiple entries

  • Fixed contracts — the number you set is traded at each entry time. With 10 contracts and 4 entry times, every entry trades 10 contracts — up to 40 contracts opened per day.
  • Capital- and risk-based sizing (fixed dollar risk, percent of account) — the day’s risk budget is divided across the entry times, so the total exposure per day stays roughly the same no matter how many entries you schedule.

Note: older 0DTE backtests divided the fixed contract count across entry times and dropped the remainder — 10 contracts with 4 entries traded only 2 per entry. Fixed contract sizing now means exactly what it says, per entry. Re-running a saved multi-entry backtest that uses fixed contracts will show larger positions (and proportionally larger P&L swings) than the original run. Capital- and risk-based sizing modes are unchanged.

In multi-day strategies, entries are also subject to the strategy’s open-position limit, and that limit is checked chronologically: a position counts against the limit from its entry time until its actual exit time — even if it opens and closes on the same day. A position opened at 9:35 that exits at 3:00 PM still occupies its slot at an 11:00 entry attempt, because at 11:00 it was genuinely open.

Note: older multi-day backtests with multiple entry times could take an extra same-day entry using a slot that was only freed later that day — a look-ahead a live trader wouldn’t have. This has been corrected; re-running a saved backtest may show slightly fewer same-day entries.

Position sizing is chronological in the same way. Capital-based sizing (percent of account, dollar risk against account value) sizes each entry on the account value as of that entry’s time. A position that exits later the same day — whether for a gain or a loss — does not change the capital used to size an earlier entry, because at that moment the exit hadn’t happened yet.

Note: older multi-day backtests folded same-day exits into the account value before sizing earlier entries on that day — an afternoon win could inflate a morning entry’s size (and an afternoon loss shrink it). This has been corrected; re-running a saved backtest that uses capital-based sizing may show slightly different position sizes on days that had both an exit and a later entry. Days without same-day exits are unchanged.

Market Filters

Market filters let you skip trading on days when conditions aren’t favorable. Available filters include:

  • Moving average filter — only trade when price is above (or below) a moving average. You choose the type (SMA or EMA) and lookback period (e.g., 20-day, 50-day, 200-day). For 0DTE strategies you can also choose the intraday bar interval (minutes per bar, default 1); multi-day strategies always compute the average from daily closing prices, so no interval applies. This gate is separate from the Direction method — direction picks which side to trade, while this filter decides whether to trade at all; the two can be combined. When this filter is active, each trade exposes entry_ma_value, entry_ma_type, entry_ma_period, entry_ma_condition, and entry_ma_spot_above trade-log columns so you can see the moving-average value the trade entered against. While the average is still warming up — fewer bars of history available than your lookback period — the day is skipped, with a skip row explaining how many bars were needed versus available. This is by design in both 0DTE and multi-day strategies: a configured filter should never quietly trade un-gated just because it hasn’t seen enough history yet. In multi-day strategies the daily closes come from before your start date when our price history has them, so warm-up only happens when that history starts too late; the skip row then names the date it starts. Similarly, if the underlying’s price can’t be determined at one of your entry times, the filter can’t be evaluated there — that attempt is skipped with a no-spot skip row rather than quietly passing, and any later entry times that day are still attempted. (If history is also still warming up, the warm-up explanation is the one you’ll see.)
  • VIX range filter — only trade when VIX is within a specified range (e.g., between 15 and 30). Useful for avoiding extreme volatility environments. When this filter is active, each trade exposes an entry_vix trade-log column showing the VIX level the trade entered on, alongside an entry_vix_instrument column naming the volatility series that level came from. Which VIX is used: plain “VIX” means the 30-day VIX (VIX30, built from SPX options), and that is what you get when you ask for it. A 0DTE strategy can instead ask for VIX1D (a one-day volatility measure built from same-day SPX options); multi-day strategies always use the 30-day VIX. One run always uses one measure, and the strategy header names it. VIX1D usually sits a few points below the 30-day VIX, so pick your band with the right measure in mind (see how the volatility series are built). Skipped days name the series too. And if no usable volatility reading is available for the dates you asked for, the band cannot be checked: those days are let through as though your threshold had been met, so the filter restricts nothing. That happens when the history does not reach that far back, when it does not cover that window, or when we hold readings for those dates that cannot be identified as belonging to either series — unidentified readings are not guessed at, so they count as no reading, and that case is easy to miss because the range looks covered. There is no per-day marker for any of this, since a day let through looks exactly like a day that passed — the tell is a filtered run whose results match an unfiltered one over the same dates. VIX bounds can also be applied as an exit filter that force-closes open positions — see Exit Filters in Exit Rules. The entry-side VIX bounds no longer have their own controls in the strategy editor — just ask in chat (for example, “only enter when VIX is between 15 and 30”) and the filter is applied and backtested exactly as before. The exit-side bounds are set the same way — they no longer have editor controls either, and the engine still enforces them.
  • VIX term-structure filter (contango / backwardation) — not available yet. It needs VIX term-structure data that is not in the system yet. If you ask for one (“only enter in contango”), the chat says so, builds no strategy from it, and offers a VIX level band (“only enter when VIX is below 20”) instead.
  • IV rank / percentile filter (temporarily unavailable) — only trade when implied volatility sits where you want it relative to its own trailing history (each on a 0–100 scale, with a configurable lookback window defaulting to 252 trading days — about one year). This filter is switched off while we finish validating it. It has no editor controls, and a strategy that sets one of its bounds stops with an error instead of running — we would rather tell you than silently trade more days than you asked for. If a saved strategy of yours uses it, remove that setting to run it again. See IV Rank & IV Percentile for what it does and what to use meanwhile.
  • Gap filter — skip days when the market opens with a large gap up or down, based on a configurable gap size threshold. The gap is always today’s 9:30 AM ET opening price versus the close of the actual previous trading day — the same measurement in both 0DTE and multi-day strategies. Gap direction uses a small dead-band: an open within ±0.1% of the prior close counts as flat, matching neither “up” nor “down”, so a gap-up or gap-down filter skips essentially-flat opens. When a gap filter is active, every strategy type exposes entry_gap_pct, entry_gap_pts, and entry_gap_direction trade-log columns so you can see the gap that each trade entered on.
  • Opening range breakout (ORB) — use the first N minutes’ high/low as a directional signal before entering. The window must be 5, 15, 30, or 60 minutes, and if you enter at a scheduled time, that time must be at or after the moment the window closes (for example, an ORB-15 filter requires an entry at 9:45 or later) — an earlier entry would let the filter peek at price action that hadn’t happened yet at entry time, so the engine rejects it as a configuration error instead of running a misleading backtest. With multiple scheduled entry times, the rule applies to the times the strategy actually uses. (When the ORB breakout direction methodpicks your entry time instead of a schedule, this is decided per day rather than up front — see below.) The filter and its window can be set in the strategy editor under Entry → Filters → Opening Range Breakout (0DTE strategies only); switching a strategy to multi-day removes any ORB filter settings automatically, and a multi-day configuration that still carries them stops with a clear configuration error. An opening-range window that isn’t a whole number of minutes is rejected up front by name, whether or not the ORB filter or breakout method is switched on — previously a leftover value like that could fail the run with a generic error instead of pointing at the field. When this filter is active (0DTE strategies only), each trade exposes entry_orb_high, entry_orb_low, and entry_orb_breakout trade-log columns so you can see the opening range and which way the trade broke out.

    Using the ORB filter together with the ORB breakout direction method — these are two different things and they can be combined. The filter measures an opening range and decides whether the day qualifies to trade at all; the breakout direction method waits for price to break its own opening range and enters right at that moment, choosing the side for you. Combining them is how you say something like “enter on the 15-minute breakout, but only on days whose first hour was wide enough to be worth trading.”

    Because the breakout decides when you enter, the two windows do not have to match, and the filter window is allowed to be the longer of the two. On any day where the breakout fires before your filter’s opening range has finished forming — say a 60-minute filter window with a breakout at 9:45 — applying the filter would mean judging the day on price action that hadn’t happened yet at entry. Rather than fail the whole backtest, we decline that day and keep going; it appears in the trade log with the skip reason orb_filter_lookahead. Days whose breakout comes after the filter window has closed enter as normal and are filtered as normal. So a longer filter window costs you the early-breakout days, and nothing else.

    If you are seeing a lot of orb_filter_lookahead days and want them back, shorten the filter window (or lengthen the breakout window) so the filter range is finished by the time a typical breakout happens.

  • Opening-range size filter — trade only when the opening range was a certain width, measured as a percentage of spot. orb_range_min_pct sets a floor (“only trade when the open was lively enough”) and orb_range_max_pct sets a ceiling (“only trade quiet opens”). Use either on its own or both together as a band. Days outside the band are skipped with orb_range_filter, and the skip reason names which bound was crossed and what the range actually measured, so you can tell a too-tight floor from a too-tight ceiling. The window is orb_window (default 15 minutes), the same window the breakout filter uses. 0DTE only. If you set a minimum above your maximum, the config is rejected — no opening range could satisfy both, so every day would be skipped and the backtest would look empty rather than wrong.
  • Bid/ask spread filter — skip the entry when any leg’s bid/ask spread exceeds a dollar threshold (typically 0.10–0.50). Catches noisy quotes that would otherwise produce unrealistic fills. When this filter is active (credit/debit spread strategies only), each trade exposes entry_bid_ask_spread (the measured worst-leg spread at entry) and entry_bid_ask_spread_max (the threshold you set) trade-log columns so you can see how tight the quotes were.

How “previous trading day” works

Gap and moving-average references are always computed from the full market calendar, not just the days your strategy is allowed to trade:

  • Day-of-week filters, excluded dates, and the backtest date range only control which days can enter trades. They never change the price history behind the gap and moving-average calculations. A Fridays-only strategy with a gap filter compares Friday’s open to Thursday’s close — not the previous Friday’s — and a 20-day moving average means 20 consecutive trading days, not 20 Fridays.
  • Over a market holiday or a weekend, the gap reference reaches back to the most recent trading day — a Monday open is compared to Friday’s close, and the Tuesday after a Monday holiday is compared to the prior Friday’s close.
  • If the previous trading day exists but its closing price is unavailable in the data, the gap for that day is treated as unknown rather than computed against an older, stale close. A gap direction filter skips such a day (the direction can’t be confirmed); gap size (min/max) filters let the day through.

Note: older backtests that combined a gap or moving-average filter with day-of-week filters or excluded dates measured these references against the previous traded day instead of the previous trading day. This has been corrected — re-running such a backtest may change which days the filters skip. Backtests trading every day are unaffected.

Every skipped day is explained

Whenever a filter (or a data problem) prevents an entry, the trade log records a skip row — in both 0DTE and multi-day backtests, and for every strategy type (credit spreads, iron condors, butterflies, long options) and every scheduled entry time. Skip rows are informational only and are excluded from win rate, P&L, and all other statistics. The reasons you may see:

  • vix_filter — VIX at entry was outside your configured range; the detail shows the VIX level, which volatility series that level was measured on, and which bound it broke.
  • vix_term_filter — the VIX term structure (contango/backwardation regime, ratio, or slope) didn’t match your filter. Term-structure filters are not available yet, so only older saved backtests show this reason.
  • iv_rank_filter — IV rank or IV percentile was outside your configured range, or couldn’t be computed yet for that date. You will only see this on older backtests: the IV rank/percentile filter is temporarily unavailable, so no new run can produce it.
  • gap_filter — the overnight gap went the wrong way, was too small/large, or couldn’t be measured when a gap direction was required.
  • ma_filter — price was on the wrong side of your moving average, or the average was still warming up (the detail shows “warm-up: need N, have M”).
  • direction_filter — the direction signal was evaluated and said “don’t trade today” (it didn’t match your fixed side, or the market stayed inside the opening range); the detail shows the values behind the decision. When the signal could not be evaluated at all because an input was missing, you get one of the *_no_data reasons below instead.
  • ref_no_data — the trend direction method had no reference price to compare today’s price against. The detail names the reference your config asked for and the point in the session it resolved to: 09:30 for daily_open, the literal time you gave for an explicit HH:MM, or “the prior session close” for prior_close. Almost always this means our price history for the underlying does not go back that early on that day.
  • ma_no_data — an sma/ema direction method could not be computed at your entry time: either there was no intraday price series for the day at all, or there were too few bars before entry to fill the average. The detail names the average and the bar size (e.g. SMA13 (5-min bars)).
  • orb_no_data — the orb_breakout direction method had no opening range to break out of: no opening-range data for the day, or no high/low recorded for the window you configured. This is not the same as orb_no_breakout, which is a real result — the range existed and price simply never left it.
  • orb_filter_lookahead — you are using an opening-range filter alongside the orb_breakout direction method, and on this day the breakout fired before your filter’s opening range had finished forming, so the filter could only have judged the day on prices from after your entry. We decline the day rather than report a trade the filter never really vetted. This is a timing outcome, not a data problem and not a verdict on the market: days whose breakout comes after the filter window closes trade normally. The detail names the entry time and the time your filter window closes. Shorten the filter window (or lengthen the breakout window) to recover these days.
  • credit_filter — the position’s entry credit fell outside your minimum/maximum credit bounds (whether the bound was set as an entry filter or as part of the strike-selection rules).
  • debit_filter — a debit position’s entry cost exceeded your maximum debit bound.
  • no_quotes — the legs the strategy needed couldn’t actually be traded at entry time: the option chain was empty, or the required strikes had no usable two-sided market (see Spread Construction → Fill Prices for how one-sided quotes are handled).
  • no_spread — the engine could not build a structurally valid pair. This is the generic reason: it is what you get when no more specific gate rejected the day. Usually it means no combination of strikes satisfied your selection rules (delta targets, wing width, target premium tolerance, etc.) — but it can also mean the strike or the side the engine needed was simply not in that day’s stored chain, in which case your rules were never the problem. Before spending long tuning parameters against one stubborn day, check what the chain actually held that day — see Data & Methodology → known data limitations, and report the date with your Backtest ID if the chain looks short.
  • ic_overlap — on an iron condor, the put side’s short strike came out at or above the call side’s short strike. The two sides overlap, so the position would not be a condor at all — it would be a butterfly-like structure with completely different risk and a credit that means something else entirely. We decline the day rather than trade you something you did not ask for. The skipped row names both strikes in the Strikes column, reading put short 5165 >= call short 5150 — spreads overlap, not an iron condor. To fix it, move the two shorts apart: the usual causes are per-side deltas of 0.50 or more (both shorts land at the money), a per-side target_credit high enough that both sides can only reach it at the money, or fixed strikes that simply cross. Lower the deltas or the target credit so each short sits further out of the money. wing_width does not help — it moves the long wings, not the shorts.
  • wing_outside_chain — the engine resolved the anchor leg (by delta or another strike descriptor), but the strike exactly one wing_width away from it was not present in that day’s stored chain. Rather than fill you at a different width — a different position, with different risk and margin — the day is skipped. On an iron condor this arrives per side, as put_side_wing_outside_chain / call_side_wing_outside_chain. On the skipped row the reason is written into the Strikes column (there are no strikes to show), reading No PUT credit spread — the wing 95pt from the anchor strike is not listed in that day’s chain; try a narrower wing_width with your own side and width filled in. Use a width that is a whole multiple of the underlying’s strike increment, and a less extreme one. Note this skip is about the wing only — the anchor leg itself is never skipped for a missing strike, it moves to the nearest one listed that day (measured as rounding-scale in practice, a median of 1.2 points); see Spread Construction.
  • vix_no_data — the VIX-regime direction method couldn’t see VIX at your entry time, so no side could be chosen.
  • sparse_data — the option chain at entry was too thin to build a reliable position.
  • no_spot — the underlying’s price couldn’t be determined at that entry time (multi-day strategies), so price-based checks — including an active moving-average filter — and entry pricing couldn’t run. Other entry times that day are still attempted.
  • no_data — the day had no usable quotes or no underlying price at entry.

“No data” reasons are about us, not about your strategy

ref_no_data, ma_no_data, orb_no_data and vix_no_data all mean the same thing: your direction rule never got to make a decision, because an input it needs was missing from our historical data for that day. Your strategy did not reject the day — we could not ask it the question. They are deliberately separate from direction_filter, which means the rule was evaluated and answered “no”. If you are counting how often your signal turns days away, count direction_filter only — a *_no_data day is a hole in the sample, not a signal.

What you can do about one:

  • Move the reference later. Our intraday price history is thinnest right at the open, so daily_open (which resolves to 09:30, the opening bell) is the reference most likely to come up empty. Try prior_close, or an explicit later time such as "10:00", and see whether the day comes back.
  • Ask for less history. For ma_no_data, a shorter period or a smaller interval needs fewer bars before entry, as does a later entry time. For orb_no_data, check that your opening-range window sits inside the part of the session we have prices for.
  • Tell us the date. A handful of scattered days is normal; the same day failing on every configuration you try, or a long run of them, is a data gap worth reporting. Send us the date and the backtest ID from Contact — the skip detail already names the exact reference we looked for, which is what we need to go find it.

If a backtest produces fewer trades than you expect, sort or filter the trade log by these skip rows — every non-trading day will tell you exactly which gate stopped it and with what values.

Note: re-running an older backtest may produce different results if it used these filters. Multi-day backtests previously skipped filtered days silently (no skip rows) and ignored minimum/maximum credit bounds entirely; multi-day gap filters previously measured the gap slightly after the open and treated tiny gaps as directional; 0DTE backtests with a moving-average filter previously traded warm-up days un-gated, and 0DTE VIX-regime strategies traded missing-VIX days as if VIX were low. All of these now behave as documented above — consistently in both engines.

Note: some entry rejections used to be silent or mislabeled. Butterfly and long-option strategies, and credit spreads with multiple entry times, previously left no skip row at all when an entry couldn’t be built — the day simply went missing from the log. And entries rejected by a minimum-credit rule attached to strike selection were labeled no_spread instead of credit_filter. Both are fixed: every rejected entry now writes a skip row with the accurate reason. Re-running an older backtest may surface skip rows you didn’t see before — the trades themselves are unaffected by this change.

Filters can be combined. If multiple filters are active, all conditions must be met for the engine to enter a trade that day.

Setting filters in the strategy editor

Most of these market filters can be set directly in the strategy editor under Entry → Filters — the moving-average gate, gap, and bid/ask spread filters each have their own controls. Four things to know:

  • Entry-side VIX gates are chat-only. They have no editor controls — ask for them in chat (“only enter when VIX is between 15 and 25”) and they work as documented above. If a strategy you load already sets one, the editor shows a short read-only note naming the active gate so a running filter is never invisible. Term-structure gates (contango / backwardation) are not available yet, on entry or exit.
  • IV rank / percentile is temporarily unavailable — and unlike the VIX gates above, asking in chat will not bring it back. Its editor controls are gone and a strategy that sets iv_rank_min, iv_rank_max, iv_percentile_min or iv_percentile_max stops with an error naming the setting, rather than running without it. That is deliberate: silently dropping the filter would trade more days than you asked for and return results that look valid. The lookback window on its own (iv_rank_window) is not a filter and is still fine to carry. See IV Rank & IV Percentile.
  • Blank means off. Leaving a filter field empty removes that condition from the strategy entirely — it is never treated as “zero.” Clearing a previously set field turns the filter off.
  • The MA gate needs a period. When you switch the moving-average gate on (SMA or EMA), a lookback period is required — the editor seeds a 20-bar default you can change. The period must be a positive whole number; negative or non-numeric values are rejected with a configuration error before the run. The bar-interval control only appears for 0DTE strategies; multi-day strategies always use daily closes.

Tip: the moving-average, VIX, ORB, gap, credit, and bid/ask spread filters now record the value that passed on every trade they let through. Add the entry_ma_*, entry_vix, entry_vix_instrument, entry_orb_*, entry_gap_*, entry_credit_*, or entry_bid_ask_spread* fields as trade-log columns to verify exactly why each trade was opened.

Day-of-Week Filters

You can restrict trading to specific days of the week — for example, only trade Monday through Wednesday, or skip Fridays.

How: name the days in the chat (“trade only Mondays and Fridays”, “skip Fridays”). This works on 0DTE and multi-day. Review shows the days under Trading Days (in the Entry section on 0DTE, in Multi-Day on multi-day), and you can change them there. Days you leave out get no new entry; positions already open are still monitored and closed on every trading day.

This is useful for testing how day-of-week affects your strategy’s performance.

Credit Filters

For strategies that collect premium (like credit spreads), you can set a minimum credit requirement. If the market doesn’t offer enough premium at your chosen strikes, the engine skips that day. This ensures you’re only entering trades with adequate risk/reward.

For debit strategies (like long options or debit butterflies), you can set a maximum debit to cap how much you’re willing to pay.

These filters are direction-aware: the minimum credit requirement only applies to strategies that actually collect a credit at entry. Debit strategies (such as a long iron butterfly) are never skipped by the minimum credit filter — use the maximum debit filter to bound their entry cost instead.

When you configure a minimum or maximum credit bound, each trade exposes the entry_credit_min and entry_credit_max trade-log columns showing the bounds that were in effect, so you can confirm each trade’s entry credit fell inside your configured range.

Minimum and maximum credit bounds apply to both 0DTE and multi-day strategies. When an entry is rejected because its credit fell outside your bounds, the trade log records a credit_filter skip row showing the offered credit and the bound it broke.

Note: older multi-day backtests did not enforce these bounds — the settings were accepted but had no effect. Re-running a saved multi-day backtest that configured a minimum or maximum credit may now skip entries it previously took.

Setting credit bounds in the strategy editor

There are two places to bound entry premium, and both are now editable directly in the strategy editor:

  • Entry → Filters → Min / Max credit — the general credit band described above. It applies to any strategy that collects a credit at entry, in both 0DTE and multi-day mode. Because it only ever gates credit entries, the fields are hidden for debit strategies (where they would have no effect).
  • Strike-selection premium bounds — butterfly and long-option strategies have a premium bound next to their strike controls. It is direction-aware: a credit (short) butterfly shows Min Credit, while a debit (long) butterfly or a long option shows Max Debit. The editor follows the strategy’s effective direction — including a centered butterfly restricted to one side, which trades as a long butterfly — so you are only offered the bound that actually applies.

In both places, blank means off — clearing a field removes the bound from the strategy entirely.

Strike Delta Caps (0DTE)

For 0DTE spread strategies, you can cap how close to the money the selected strikes are allowed to land using Max Short Δ and Max Long Δ in the strike controls. If a candidate spread’s short or long leg has a delta above the cap, the spread is rejected and the engine keeps looking (or skips the day if nothing qualifies).

This is most useful with premium- or offset-anchored strike selection, where the chosen strikes can drift toward the money on volatile days — a delta cap keeps the position from quietly becoming much riskier than intended. Values use the familiar 0–100 delta scale (e.g. 25 means a 0.25 delta). Blank means no cap. These caps apply to 0DTE strategies only and are hidden for multi-day configs.