Skip to content

Commit

Permalink
MAINT: Fix benchmark error msg by formatting the template
Browse files Browse the repository at this point in the history
  • Loading branch information
richafrank committed Aug 23, 2020
1 parent d98e138 commit d76116a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zipline/utils/run_algo.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,8 @@ def resolve(self, asset_finder, start_date, end_date):
benchmark_returns = None
except SymbolNotFound:
raise _RunAlgoError(
"Symbol %s as a benchmark not found in this bundle."
"Symbol %r as a benchmark not found in this bundle."
% self.benchmark_symbol
)
elif self.no_benchmark:
benchmark_sid = None
Expand Down

0 comments on commit d76116a

Please sign in to comment.