I am calculating betas on intraday trade data at 15-minute intervals. For simplicity sake, let's assume I am modeling
\begin{equation} Y = \beta * X + c \end{equation}
where $Y$ is the return of XLF and $X$ is the return of SPY.
If I want to run this on five days of intraday data, should I remove the jump that happens due to opening gaps on the next day?
How do you guys usually handle this jump in returns ?