Is there a way to reference earnings announcement dates? For example, if I wanted to backtest a scenario that included not purchasing equities if they were within one week of an earnings announcement.

Author