comment out asserts because quantopian doesn't allow using them when backtesting.