Is it possible to enter/exit a spread as a single trade (backtest or live)?

Author