It looks like a lot of strategies use the pipeline factors for daily calculations. But if close price is used, it will be delayed for one night. To say we schedule some order logic function every day right after market open and the close price is used. The price is delayed for one night.
schedule_function(ordering_logic,date_rule=date_rules.every_day(),
time_rule=time_rules.market_open(hours=0, minutes=5))
If I wanna to do a market_close(hours=0, minutes=5), but the pipeline close_price is not updated yet. To say how to get the price of VIX or Vxx 5 minutes before market close?
data.current(security, 'price', time_rule=time_rules.market_close(hours=0, minutes=5))
some code like that maybe?