Backtesting earning announcemnt trades - Example - sell strangles the 3pm day before the EA and buy back the next day..

* I did not find an API for earnings dates.
   Should I build a dictionary earnings dates into my code?
* Use TimeRules.On() and TimeRules.At() to start/end the trade?

Sorry I am new to QuantConnect.  Andy