added Quantopian EventManager, which easily switch between Minute mode and Daily mode