Hi guys!

I am very new to this community and was testing out my strategies. One of them requires extended hours trading - by looking at the document, I should setup the ticker like this:

self.spy = self.add_equity("SPY", Resolution.DAILY, extended_market_hours=True) 
self.default_order_properties.time_in_force = TimeInForce.GOOD_TIL_CANCELED
self.default_order_properties.extended_regular_trading_hours = True
self.spy.set_fill_model(LatestPriceFillModel()) # IS THIS TRUE?

As expected, `onData` arrives after market closes during backtesting (actually, exactly at 4 pm).  I attempted to submit the order, with 0.5% potential slippage, during the event:

self.LimitOrder("SPY", 1, data["SPY"].close * 1.005)

However, it appears that the backtesting system will only attempt to fill my owner only when the next candle arrives - but I want to assume it will get filled after market (which is extremely likely).

I found out that fill is only invoked on the next candle arrival.

I guess one way to fix this would be using consolidator (then candles will arrive even after market) - however, this just adds up complexity - hence my questions:

1. Is there any way to make LEAN just fill with previous candle price during extended hour?
2. Despite the behaviour during backtesting, can I safely assume that the order will get submitted in the extended hour?