mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-17 11:25:55 +08:00
BUG: Pop ffc_loader kwarg in TradingAlgorithm.
Prevents us from forwarding it as an initialize_kwarg.
This commit is contained in:
@@ -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