entry_execution.type decides how the entry order is placed.
Market (default)
"entry_execution": {
"type": "market",
"apply_slippage": true
}Fills at the current close (or live price on tick mode). Guaranteed to fill; price not guaranteed.
Limit
"entry_execution": {
"type": "limit",
"offset_pct": 0.1,
"apply_slippage": false
}Places a limit order offset from the current close. For longs, the offset is below the close; for shorts, above. The entry fills only if the bar's range reaches the limit price - otherwise no trade.
When to pick which
- Market - when the signal is time-sensitive (breakout, fakeout reversal) and you can't afford to miss the entry.
- Limit - when you have a reference level you want to pay (a pullback price, a zone touch) and you'd rather skip the trade than chase.
Why scaled execution is gone
Older strategies referenced a scaled type that simulated weighted
fills across multiple price points. It was retired because it could
produce entry prices outside the bar's actual OHLC range -
impossible in real trading. type: "scaled" now behaves like
market.
