Skip to content

Commit

Permalink
pass bundle_data to custom_loader (stefan-jansen#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
phelps-sg committed Oct 21, 2023
1 parent c25081b commit 1bb022c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zipline/utils/run_algo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1bb022c

Please sign in to comment.