#1039·rqalpha

Open-auction bar copies the full day's volume and total_turnover

Author: yehonatan-rabinovichCreated Sep 8, 2026Updated Sep 8, 2026

get_open_auction_bar builds the auction bar from the full day bar:

OPEN_AUCTION_BAR_FIELDS = ["datetime", "open", "limit_up", "limit_down", "volume", "total_turnover"]
day_bar = self.get_bar(instrument, dt, "1d")

rqalpha/data/base_data_source/data_source.py:246-256 @ a5fb4e4387

close is correctly excluded. But volume and total_turnover come from the whole session, so a strategy reading liquidity during the 09:15-09:25 auction receives the volume of a day that has not happened yet. Any auction-time rule conditioned on liquidity is conditioned on the future, and it inflates backtest results rather than breaking them.

Is this intended? If the auction bar is meant to carry only auction-window aggregates, these two fields look like they should be excluded or replaced.