If you want to backtest it, why not use pending trades instead?