Hi QC team. 

i'm recently writing a algo cosume Daily bars. 

self.universe_settings.Resolution = Resolution.DAILY

the EqualWeightingPortfolioConstructionModel only triggers on 16:00:00 NY time. and the 

market_order is transformed to be MOO by Lean framework. and then declined by Alpaca by their rule(shared the link below).

 

i don't know how could get around with this invalid order issue. 

is it possible to make a regular OrderType.Market after market close? i just want the order to be executed the next trading day.

 https://docs.alpaca.markets/docs/orders-at-alpaca#time-in-force

oliver_20_1731197419.jpgInvalidopg orders must be submitted after 7:00pm and before 9:28am