'Test moving average crossover backtest
Begins at 2000-01-01 00:00:00
End at 2014-01-01 00:00:00'

def test_moving_average_cross_backtest(self):

    tickers = ['AAPL', 'SPY']
    filename = os.path.join(settings.TEST.OUTPUT_DIR, 'mac_backtest.pkl')
    results = examples.moving_average_cross_backtest.run(self.config, self.testing, tickers, filename)
    self.assertAlmostEqual(float(results['sharpe']), 0.643009566)
