Python stream example not working properly


Here is the sample Alpaca stream example for python:

When I run it, I only see debug message in the terminal that defined in on_data() method, but not anything that defined in on_minute() or on_tick(). Is there anything changed as the example was created a year ago? Or is conn.on() declared correctly?