mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-30 13:10:53 +08:00
BUG: Pop ffc_loader kwarg in TradingAlgorithm.
Prevents us from forwarding it as an initialize_kwarg.
This commit is contained in:
1 parent
45d829cda0
commit
69d5aed7f6
1 file changed
+1
-1
@@ -212,7 +212,7 @@ class TradingAlgorithm(object):
|
||||
# Pull in the environment's new AssetFinder for quick reference
|
||||
self.asset_finder = self.trading_environment.asset_finder
|
||||
|
||||
ffc_loader = kwargs.get('ffc_loader', None)
|
||||
ffc_loader = kwargs.pop('ffc_loader', None)
|
||||
if ffc_loader is not None:
|
||||
self.engine = SimpleFFCEngine(
|
||||
ffc_loader,
|
||||
|
||||
Reference in new issue
Block a user