Oh, I forgot about another backtesting framework for python. It has a built in IDE as well.
http://www.quantopian.com
Our backtesting engine, Zipline, is opensource - https://github.com/quantopian/zipline
Zipline was unveiled at PyData NYC, and the presentation materials are here: https://app.quantopian.com/posts/hello-from-pydata