mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-28 12:51:29 +08:00
allows config to force no datasources by passing a None.
absence of the parameter triggers the default.
This commit is contained in:
1 parent
d740394184
commit
0e0fecf4ee
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user