Fixed some pretty stupid inefficiencies in ticker/tasks.py