mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-08 11:16:58 +08:00
BUG: we were improperly checking iterable kwargs in BarData
This commit is contained in:
@@ -132,6 +132,7 @@ from zipline.test_algorithms import (
|
||||
bad_type_history_fields,
|
||||
bad_type_history_bar_count,
|
||||
bad_type_history_frequency,
|
||||
bad_type_history_assets_kwarg_list,
|
||||
bad_type_current_assets,
|
||||
bad_type_current_fields,
|
||||
bad_type_can_trade_assets,
|
||||
@@ -1333,6 +1334,8 @@ class TestAlgoScript(WithLogger,
|
||||
('can_trade__assets', (bad_type_can_trade_assets, 'Asset', True)),
|
||||
('history_kwarg__assets',
|
||||
(bad_type_history_assets_kwarg, 'Asset, str', True)),
|
||||
('history_kwarg_bad_list__assets',
|
||||
(bad_type_history_assets_kwarg_list, 'Asset, str', True)),
|
||||
('history_kwarg__fields',
|
||||
(bad_type_history_fields_kwarg, 'str', True)),
|
||||
('history_kwarg__bar_count',
|
||||
|
||||
Reference in New Issue
Block a user