Anyone have any advice on building a time based algo?
For example, if the return of SPY is positive since the previous day's close, short at 3:30pm and cover at 3:59pm. If the return of the SPY is negative since the previous day's close, buy spy at 3:30pm and sell at 3:59pm.