In the attached notebook, I am able to determine whether a stock is reporting After Market Close or Before Market Open among many other columns using earnings_calendar for dataset. For example, I extracted that on 1/27/2014, AAPL had an AMC earnings report.
However, when I go to a live algorithm, I can no longer import earnings_calendar (since it is only for research)
from quantopian.interactive.data.eventvestor import earnings_calendar as dataset
If I change the namespace to quantopian.pipeline.data.eventvestor like below, I get an error saying: "Runtime exception: NotPipelineCompatible: eventvestor.earnings_calendar is not currently available in the Pipeline API"
from quantopian.pipeline.data.eventvestor import earnings_calendar as dataset
Importing EarningsCalendar (below) seems to only provide the next earnings report date and the previous earnings report date. This is a problem because the date does not pinpoint whether the company will report before or after the market day. How do I get the other columns that are available in Research's earnings_calendar but does not seem available in the algorithm's EarningsCalendar?
from quantopian.pipeline.data.eventvestor import EarningsCalendar