You named your own program pyalgotrade.py
:
File "/Users/johnhenry/Desktop/pyalgotrade.py"
so Python thinks that's the one you mean. Rename your program to something else, delete any pyalgotrade.pyc
or pyalgotrade.pyo
files you may have, and restart your interpreter.