BUG: Allow dual_em_talib.py to be executed with run_algo.py

This commit is contained in:
Stewart Douglas
2015-09-08 11:55:06 -04:00
parent e507ee097d
commit dee69f39fe
+1 -1
View File
@@ -24,6 +24,7 @@ momentum).
"""
from zipline.api import order, record, symbol
# Import exponential moving average from talib wrapper
from zipline.transforms.ta import EMA
@@ -70,7 +71,6 @@ if __name__ == '__main__':
import matplotlib.pyplot as plt
import pytz
from zipline.algorithm import TradingAlgorithm
from zipline.api import order, record, symbol
from zipline.utils.factory import load_from_yahoo
logbook.StderrHandler().push_application()