Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Earning Announcement data in Zipline

How can I use Eventvestor data or import EarningsCalendar while using Zipline in my local environment? Also, is there any way I can set up my own event, I couldn't really find any example of BusinessDaysSincePreviousEvent or BusinessDaysUntilNextEvent. I have found that in quantopian I can import something like this:
from quantopian.pipeline.factors.eventvestor import BusinessDaysUntilNextEarnings, BusinessDaysSincePreviousEarnings and then make a Pipeline. However, I was trying to do the same using Zipline.