allows config to force no datasources by passing a None.

absence of the parameter triggers the default.
This commit is contained in:
fawce
2013-03-21 15:13:56 -04:00
parent d740394184
commit 0e0fecf4ee
+2 -2
View File
@@ -76,8 +76,8 @@ def create_test_zipline(**config):
test_algo.sim_params,
concurrent=concurrent_trades
)
test_algo.set_sources([trade_source])
if trade_source:
test_algo.set_sources([trade_source])
#-------------------
# Transforms