From 1bb022c5405e6cd63c1fe93621ccc76395f6f595 Mon Sep 17 00:00:00 2001 From: Steve Phelps Date: Sat, 21 Oct 2023 08:37:52 +0100 Subject: [PATCH] pass bundle_data to custom_loader (#218) --- src/zipline/utils/run_algo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zipline/utils/run_algo.py b/src/zipline/utils/run_algo.py index 8ef95fab38..366501df16 100644 --- a/src/zipline/utils/run_algo.py +++ b/src/zipline/utils/run_algo.py @@ -180,7 +180,7 @@ def choose_loader(column): if column in USEquityPricing.columns: return pipeline_loader try: - return custom_loader.get(column) + return custom_loader(column, bundle_data) except KeyError: raise ValueError("No PipelineLoader registered for column %s." % column)