mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-20 12:20: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:
@@ -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