I am new to QuantConnect, and want to run the Lean engine locally. If I have open/close/high/low/volume that I can import, is there a way to do analysis on the close prices but do purchases on the open?

I want to start by analysing after market close, and open positions soon after market open (maybe after a check to make sure there wasn't a large gap since last close.).