# Why Fill Assumptions Need Market Conditions Slug: why-fill-assumptions-need-market-conditions. Canonical: https://tradingtune.com/blog/why-fill-assumptions-need-market-conditions ## Summary Explains why fill rules should be documented with spread, depth, volume, and session context. ## Key facts - A fill rule only becomes trustworthy once it is tied to the spread, depth, volume, and session of the bar it applies to. - Spread and depth can move the real fill away from the price the backtest logs, especially against a thin order book. - A fill rule tuned on regular-session data can misfire in a thin session, because session context changes both spread and depth. - Logging the spread, filter, session, and walk-forward window beside each result lets you trace a failure back to its conditions. ## Outline - Why Fill Rules Need Market Context Before You Trust a Backtest (#why-fill-rules-need-market-context-before-you-trust-a-backtest) - Setting Up a Fill Assumption Sweep Across Spread, Depth, Volume, and Session (#setting-up-a-fill-assumption-sweep-across-spread-depth-volume-and-session) - How Fill Behavior Shifts as Spread, Depth, and Session Move (#how-fill-behavior-shifts-as-spread-depth-and-session-move) - Illustrative Fill Sensitivity Across Session and Volume Conditions (#illustrative-fill-sensitivity-across-session-and-volume-conditions) - When a Fixed Fill Assumption Breaks Down in a Thin Session (#when-a-fixed-fill-assumption-breaks-down-in-a-thin-session) - Documenting Fill Assumptions for Your Own Sweep (#documenting-fill-assumptions-for-your-own-sweep) - Fill Assumptions Are a Market-Conditions Problem, Not a Constant (#fill-assumptions-are-a-market-conditions-problem-not-a-constant) - Sources (#sources) ## Code snippets - Anchor: #pine-snippet-1